K0HIJIN
|
|
Posted on: April 29, 2012, 09:31:50 pm |
|
|
Joined: Apr 2012
Posts: 5
|
Greetings, I have been trying to install to install using the Git method and have been receiving this error: Checking configuration Scouring for Java java version "1.6.0_31" Java(TM) SE Runtime Environment (build 1.6.0_31-b05) Java HotSpot(TM) Client VM (build 20.6-b01, mixed mode, sharing) Calling `java -jar l*.jar`
Java Version: 10600 (1.6.0_31) Loading lib files in C:\Users\John\enigma-dev\lgm16b4.jar 01_move.lgl 02_main1.lgl 03_main2.lgl 04_control.lgl 05_score.lgl 06_extra.lgl 07_draw.lgl org.lateralgm.file.GmFormatException: java.io.IOException: Cannot run program "m ake" (in directory "C:\Users\John\enigma-dev"): CreateProcess error=2, The syste m cannot find the file specified at org.enigma.EnigmaRunner.make(EnigmaRunner.java:254) at org.enigma.EnigmaRunner$3.run(EnigmaRunner.java:148)
The error appears when LateralGM attempts to update ENIGMA itself. LGM has an error of it's own. (I believe it's simply the same message) org.lateralgm.file.GmFormatException: java.io.IOException: Cannot run program "make" (in directory "C:\Users\John\enigma-dev"): CreateProcess error=2, The system cannot find the file specified at org.enigma.EnigmaRunner.make(EnigmaRunner.java:254) at org.enigma.EnigmaRunner$3.run(EnigmaRunner.java:148)
Also, when I was following the directions on the Git installation guide on the wiki, it specified that On Windows, you will need to set up a compiler description file, called gcc.ey in Compilers/Windows/. Note that ENIGMA.exe will handle this process for you, as well as installing several dependencies. It can be copied over from enigma-dev/compilerSource/stupidity-buffer/ENIGMA.exe Even though it specifies this, I could not find the ENIGMA.exe through the specified path, which makes sense as the directions also specified that all binaries are excluded through the .gitignore list. I couldn't find a current version of the ENIGMA.exe, so instead I downloaded the ENIGMA-R4-r915-win.zip and used its version of the ENIGMA.exe. This could be the problem... I've seen others posting have this issue, but I don't thing they were using the Git method. Currently running Windows 7 64-bit Oh and here is gcc.ey, just in case. %e-yaml --- Name: Mingw GCC G++ Native: Yes Maintainer: cheeseboy Target-platform: Windows
# Some info about it path: make: make cc: gcc cxx: g++ defines: cpp -dM -x c++ -E $blank searchdirs: gcc -E -x c++ -v $blank searchdirs-start: "#include <...> search starts here:" searchdirs-end: "End of search list." resources: $exe cppflags: cxxflags: cflags: ldflags: links:
Build-Extension: Run-output: $tempfile Run-Program: $game Run-Params:
Thanks in advance!
|
|
« Last Edit: April 29, 2012, 09:33:22 pm by K0HIJIN »
|
Logged
|
|
|
|
Josh @ Dreamland
|
|
Reply #1 Posted on: April 29, 2012, 09:45:44 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
The issue with the old ENIGMA.exe is that it used MinGW-get to install MinGW. That program has since stopped working, and we've been tossing ideas back and forth about what to do about that ever since. We usually have people install MinGW manually instead. Can you confirm that you have a complete MinGW and binutils distribution installed?
According to that gcc.ey, you should be able to run GCC from the command prompt just by typing "gcc". Could you tell me what running [snip]gcc --version[/snip] prints? Also, you should be able to do the same thing for binutils/msys tools such as rm. According to that gcc.ey, [snip]rm --version[/snip] should work, too.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
K0HIJIN
|
|
Reply #2 Posted on: April 29, 2012, 10:08:44 pm |
|
|
Joined: Apr 2012
Posts: 5
|
Here is the output for those commands: John@MT-PC ~ $ gcc --version gcc.exe (GCC) 4.6.2 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
John@MT-PC ~ $ rm --version rm (GNU coreutils) 5.97 Copyright (C) 2006 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.
Written by Paul Rubin, David MacKenzie, Richard Stallman, and Jim Meyering.
John@MT-PC ~ $
Oh and as far as making sure I have the complete distributions, I'm not really sure how to check for sure.. I used the MinGW link provided on http://enigma-dev.org/docs/Wiki/Install if that helps.
|
|
|
Logged
|
|
|
|
Josh @ Dreamland
|
|
Reply #3 Posted on: April 29, 2012, 10:49:51 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Interesting; everything appears to be in working order. I suppose I should have had you try [snip]make --version[/snip], too, in retrospect. It should probably work; if it does not, that's the problem, and changing "make" to "mingw32-make" in gcc.ey may help.
If [snip]make --version[/snip] does work, then it's a bug in LGM's ENIGMA plugin.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
|
Josh @ Dreamland
|
|
Reply #5 Posted on: April 30, 2012, 12:21:47 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
I just noticed, that doesn't appear to be Windows' command prompt. Are you running bash? If so, have you tried running LGM from that terminal? You can do this by calling [snip]java -jar lgm*.jar[/snip] in ENIGMA's directory.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
|
Josh @ Dreamland
|
|
Reply #7 Posted on: April 30, 2012, 08:10:17 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Fascinating; it seems that when ENIGMA makes its calls, the environment Bash creates isn't being sent to them. This is probably to do with the fact that ENIGMA was designed to be configured and run from the Windows command prompt (rather than from bash's environment).
See if setting [snip]path: C:\MinGW\bin;C:\MinGW\Msys\1.0\bin;[/snip] in gcc.ey works as a quick-fix (this is what ENIGMA.exe would have set it to in the Windows environment).
If that doesn't work, I will have to modify ENIGMA's exec() function on Windows to just pipe commands through Msys bash in all cases.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
|
Josh @ Dreamland
|
|
Reply #9 Posted on: April 30, 2012, 02:18:08 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Strange... I will have to change that CreateProcess wrapper to go through bash, then, I guess. It's strange; having those two directories in your system path should be enough to make basic binaries work.
All the same; I have reports of the system mkdir being invoked instead of MSYS' on Windows, too; piping all calls through bash should fix both issues.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
|
|