Closed gb-git closed 5 years ago
You don't seem to have pdflatex
on your system PATH. This executable is used to turn the LaTeX documentation into PDFs. On my Linux Mint 18.2, I use texlive (http://tug.org/texlive/), but you should be able to use MikTeX on Windows as well (https://miktex.org/). Once you have installed your LaTeX distribution, make sure that the pdflatex
is accessible via the PATH environment variable.
Thank you fracpete. I installed miktex-2.9.6850 and configured the path as suggested. When I tried to build again (mvn clean install), It processed several files with pdflatex.exe, but failed with the following error:
! LaTeX Error: File `epsf.sty' not found.
I found a different way to get it to work:
Need to add this plugin to get the JARs in local directory.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<configuration>
<outputDirectory> ${project.build.directory} </outputDirectory>
</configuration>
</plugin>
Then run
@ECHO OFF
SET MEMORY=512m
SET MAIN=meka.gui.guichooser.GUIChooser
java -Xmx%MEMORY% -cp ".\lib\*" %MAIN% %1
Then execute the run.bat file which launches Meka. I hope this workaround is useful for someone else.
The reason that pdflatex fails is that you are missing (at least) one LaTex package: epsf (https://miktex.org/packages/epsf)
Also, to turn off the LaTeX generation, try using this flag on the commandline: -Dlatex.dummyBuild=true
Thank you!
I have tried to package Meka 1.9.2 with no success.
I am following the command in the tutorial: mvn clean install
And I get the following stack trace:
I expect the project to compile and provide me with an environment with the BAT file, lib directory with needed dependencies and successfully built meka-X.X.X.jar file.
I am using Windows 8.1. Pro on an Intel P7 computer with 16GB of RAM. I am compiling with Java Oracle JDK 1.8.0_181 under cygwin (I have built many other projects with success, so I do not think the problem is in my cygwin setup).
Note that I also tried with Meka snapshot (Latest commit fe5eeb5) with no success.
Any help would be greatly appreciated.