Pages: 1
Author Topic: Help please, I can't run 'make' in enigma  (42,676 Views)
Offline (Unknown gender) faissaloo

Contributor
Joined: Jan 2013
Posts: 87
View profile WWW
Posted on: January 13, 2013, 09:11:46 AM
well, after some time I got enigma installed. But I kept getting this error from LGM:

Quoteorg.lateralgm.file.GmFormatException: java.io.IOException: Cannot run program "make" (in directory "/Applications/enigma-dev-master"): error=2, No such file or directory
   at org.enigma.EnigmaRunner.make(EnigmaRunner.java:254)
   at org.enigma.EnigmaRunner$3.run(EnigmaRunner.java:148)

please help thanks
Offline (Unknown gender) forthevin

Contributor
Joined: Jun 2012
Posts: 167
View profile
Reply #1 Posted on: January 13, 2013, 01:00:52 PM
Do you have "make" installed? If not, and you are on Mac, try following the instructions in the second answer and its comments in this thread:

http://stackoverflow.com/questions/6767481/where-can-i-find-make-program-for-mac-os-x-lion
Offline (Unknown gender) Salvakiya

Member
Joined: Jan 2013
Posts: 9
View profile
Reply #2 Posted on: January 15, 2013, 08:57:19 PM
I am having the same exception on a Windows 7 64 bit. Just joined the forums. Used to be a GML programmer and anxious to learn how to use Enigma. Hope to fix this soon  :(
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Reply #3 Posted on: January 15, 2013, 09:02:36 PM
Could you pastebin the following, Salvakiya?

1) The contents of your console up to and including the error,
2) The output of the following in cmd: [snip]cd C:\MinGW\bin[/snip], [snip]dir[/snip]
3) The output of these in cmd: [snip]cd C:\MinGW\msys\1.0\bin[/snip], [snip]dir[/snip]

That should give us some insight into what you have installed. If you need to redirect that output to a file, just use [snip]> C:\Users\yourname\Desktop\file.txt[/snip] at the end of your command.
Offline (Unknown gender) Salvakiya

Member
Joined: Jan 2013
Posts: 9
View profile
Reply #4 Posted on: January 15, 2013, 09:19:23 PM
Console output
Checking configuration
Scouring for Java
java version "1.7.0_06"
Java(TM) SE Runtime Environment (build 1.7.0_06-b24)
Java HotSpot(TM) Client VM (build 23.2-b09, mixed mode, sharing)
Calling `java -jar l*.jar`

Java Version: 10700 (1.7.0_06)
Loading lib files in D:\enigma\enigma-dev-enigma-dev-c981166\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 "D
:\MinGW\msys\1.0\bin\make.exe" (in directory "D:\enigma\enigma-dev-enigma-dev-c9
81166"): 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)


Output from CMD from MinGW\bin and MinGW\msys\1.0\bin
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Gar>cd C:\MinGW\bin

C:\MinGW\bin>dir
Volume in drive C is OS
Volume Serial Number is A6F0-B0C5

Directory of C:\MinGW\bin

01/15/2013  12:02 PM    <DIR>          .
01/15/2013  12:02 PM    <DIR>          ..
11/30/2011  08:20 AM         1,701,390 addr2line.exe
11/30/2011  08:20 AM         1,726,478 ar.exe
11/30/2011  08:20 AM         2,188,302 as.exe
12/01/2011  05:31 PM            10,240 c++.exe
11/30/2011  08:20 AM         1,698,830 c++filt.exe
12/01/2011  05:31 PM            10,240 cc.exe
12/01/2011  05:30 PM         1,379,854 cpp.exe
11/30/2011  08:20 AM         1,756,174 dlltool.exe
11/30/2011  08:20 AM         1,122,830 dllwrap.exe
11/30/2011  08:20 AM         1,107,982 elfedit.exe
12/01/2011  05:30 PM         1,380,878 g++.exe
12/01/2011  05:30 PM         1,378,830 gcc.exe
12/01/2011  05:30 PM         1,120,782 gcov.exe
02/08/2012  07:50 PM         3,813,390 gdb.exe
02/08/2012  07:50 PM           195,086 gdbserver.exe
11/30/2011  08:20 AM         1,766,414 gprof.exe
11/30/2011  08:20 AM         1,983,502 ld.bfd.exe
11/30/2011  08:20 AM         1,983,502 ld.exe
10/12/2009  05:52 AM           165,513 libexpat-1.dll
12/01/2011  05:30 PM           118,784 libgcc_s_dw2-1.dll
02/15/2010  08:20 AM           343,552 libgmp-10.dll
12/01/2011  05:30 PM            51,726 libgomp-1.dll
10/21/2011  12:25 PM         1,038,350 libiconv-2.dll
10/21/2011  10:03 AM           101,390 libintl-8.dll
02/15/2010  10:10 AM            66,048 libmpc-2.dll
02/15/2010  09:46 AM           271,872 libmpfr-1.dll
12/01/2011  05:30 PM           177,166 libobjc-3.dll
12/01/2011  05:30 PM           727,054 libquadmath-0.dll
12/01/2011  05:30 PM            31,758 libssp-0.dll
12/01/2011  05:30 PM           979,982 libstdc++-6.dll
04/25/2012  04:31 PM            45,568 mingw-get.exe
12/01/2011  05:31 PM            10,240 mingw32-c++.exe
12/01/2011  05:31 PM            10,240 mingw32-cc.exe
12/01/2011  05:31 PM            10,240 mingw32-g++-4.6.2.exe
12/01/2011  05:31 PM            10,240 mingw32-g++.exe
12/01/2011  05:31 PM            10,240 mingw32-gcc-4.6.2.exe
12/01/2011  05:31 PM            10,240 mingw32-gcc.exe
01/22/2011  02:39 PM           197,120 mingw32-make.exe
08/23/2011  03:59 PM            47,972 mingwm10.dll
11/30/2011  08:20 AM         1,711,630 nm.exe
11/30/2011  08:20 AM         1,868,814 objcopy.exe
11/30/2011  08:20 AM         2,247,694 objdump.exe
04/25/2012  04:31 PM            20,480 pkginfo.exe
05/20/2011  02:51 PM            94,300 pthreadGC2.dll
05/20/2011  02:51 PM            27,277 quserex-test.exe
11/30/2011  08:20 AM         1,726,478 ranlib.exe
11/30/2011  08:20 AM         1,406,478 readelf.exe
11/30/2011  08:20 AM         1,703,438 size.exe
11/30/2011  08:20 AM         1,701,902 strings.exe
11/30/2011  08:20 AM         1,868,814 strip.exe
11/30/2011  08:20 AM         1,724,430 windmc.exe
11/30/2011  08:20 AM         1,811,470 windres.exe
              52 File(s)     48,663,204 bytes
               2 Dir(s)  60,044,062,720 bytes free

C:\MinGW\bin>cd C:\MinGW\msys\1.0\bin

C:\MinGW\msys\1.0\bin>dir
Volume in drive C is OS
Volume Serial Number is A6F0-B0C5

Directory of C:\MinGW\msys\1.0\bin

01/15/2013  12:02 PM    <DIR>          .
01/15/2013  12:02 PM    <DIR>          ..
04/16/2010  08:53 PM           307,712 awk.exe
04/27/2010  11:14 PM            20,992 basename.exe
10/24/2010  03:15 PM           563,200 bash.exe
01/15/2013  12:02 PM             6,970 bashbug
09/09/2011  11:40 PM            31,744 bunzip2.exe
09/09/2011  11:40 PM            31,744 bzcat.exe
09/09/2011  11:40 PM             2,128 bzcmp
09/09/2011  11:40 PM             2,128 bzdiff
09/09/2011  11:40 PM             3,642 bzegrep
09/09/2011  11:40 PM             3,642 bzfgrep
09/09/2011  11:40 PM             3,642 bzgrep
09/09/2011  11:40 PM            31,744 bzip2.exe
09/09/2011  11:40 PM            12,288 bzip2recover.exe
09/09/2011  11:40 PM             1,297 bzless
09/09/2011  11:40 PM             1,297 bzmore
04/27/2010  11:13 PM            24,064 cat.exe
04/27/2010  11:13 PM            37,376 chmod.exe
07/11/2009  11:34 AM               209 cls
07/11/2009  11:34 AM               220 clsb
07/06/2010  02:56 PM               179 cmd
04/21/2010  08:19 PM            27,136 cmp.exe
04/27/2010  11:13 PM            23,040 comm.exe
04/27/2010  11:13 PM           116,736 cp.exe
04/27/2010  11:13 PM            30,720 cut.exe
03/18/2012  12:52 PM            29,184 d2u.exe
04/27/2010  11:14 PM            57,344 date.exe
04/21/2010  08:19 PM           151,040 diff.exe
04/21/2010  08:19 PM            28,672 diff3.exe
04/27/2010  11:14 PM            21,504 dirname.exe
03/18/2012  12:52 PM            29,184 dos2unix.exe
04/27/2010  11:14 PM            22,016 echo.exe
04/16/2010  07:08 PM           107,520 egrep.exe
04/27/2010  11:14 PM            20,480 env.exe
04/24/2011  04:42 PM            30,841 error-mode.exe
04/27/2010  11:14 PM            95,744 expr.exe
04/27/2010  11:14 PM            14,848 false.exe
04/16/2010  07:08 PM            52,736 fgrep.exe
04/15/2010  09:50 PM            15,872 file.exe
04/25/2010  07:05 AM           209,920 find.exe
04/27/2010  11:14 PM            23,552 fold.exe
07/11/2009  11:34 AM               186 ftp
04/16/2010  08:53 PM           307,712 gawk-3.1.7.exe
04/16/2010  08:53 PM           307,712 gawk.exe
04/16/2010  07:08 PM           109,568 grep.exe
04/16/2010  07:39 PM                65 gunzip
04/16/2010  07:39 PM             5,868 gzexe
04/16/2010  07:39 PM            64,512 gzip.exe
04/27/2010  11:14 PM            33,280 head.exe
04/27/2010  11:14 PM            23,552 id.exe
04/16/2010  08:53 PM             3,091 igawk
04/17/2010  07:48 PM           173,056 info.exe
04/17/2010  07:48 PM            25,088 infokey.exe
04/17/2010  07:48 PM            50,176 install-info.exe
04/17/2010  07:48 PM               378 install-info.exe.manifest
04/27/2010  11:13 PM           121,856 install.exe
04/27/2010  11:15 PM               378 install.exe.manifest
04/27/2010  11:14 PM            33,280 join.exe
04/18/2010  11:52 AM           822,444 less.exe
04/18/2010  11:52 AM           666,027 lessecho.exe
04/18/2010  11:52 AM           672,265 lesskey.exe
04/27/2010  11:13 PM            90,624 ln.exe
07/11/2009  11:34 AM               481 lnkcnv
04/27/2010  11:13 PM            96,768 ls.exe
09/10/2011  12:01 AM            65,024 lzcat.exe
09/10/2011  12:01 AM             5,208 lzcmp
09/10/2011  12:01 AM             5,208 lzdiff
09/10/2011  12:01 AM             5,287 lzegrep
09/10/2011  12:01 AM             5,287 lzfgrep
09/10/2011  12:01 AM             5,287 lzgrep
09/10/2011  12:01 AM             1,800 lzless
09/10/2011  12:01 AM            65,024 lzma.exe
09/10/2011  12:01 AM            12,800 lzmadec.exe
09/10/2011  12:01 AM            12,800 lzmainfo.exe
09/10/2011  12:01 AM             2,161 lzmore
03/18/2012  12:52 PM            29,184 mac2unix.exe
04/29/2010  11:18 AM           165,888 make.exe
04/17/2010  07:48 PM           245,760 makeinfo.exe
04/27/2010  11:14 PM            39,424 md5sum.exe
04/27/2010  11:13 PM            29,696 mkdir.exe
05/12/2010  06:13 PM             6,321 mount
04/24/2011  04:42 PM           820,224 msys-1.0.dll
10/29/2011  11:18 AM         1,019,904 msys-iconv-2.dll
10/29/2011  04:22 AM            48,128 msys-intl-8.dll
09/10/2011  12:01 AM           140,288 msys-lzma-5.dll
04/15/2010  09:50 PM         1,480,248 msys-magic-1.dll
02/01/2010  03:29 PM            72,192 msys-regex-1.dll
01/31/2010  06:44 PM            36,864 msys-termcap-0.dll
09/09/2011  11:37 PM            83,968 msys-z.dll
07/11/2009  11:34 AM             1,427 msysinfo
04/24/2011  04:42 PM         1,378,069 msysmnt.exe
04/27/2010  11:13 PM           125,440 mv.exe
04/27/2010  11:14 PM            46,592 od.exe
04/25/2010  07:05 AM           208,896 oldfind.exe
04/27/2010  11:14 PM            23,040 paste.exe
04/17/2010  07:48 PM               663 pdftexi2dvi
04/16/2010  08:53 PM           308,224 pgawk-3.1.7.exe
04/16/2010  08:53 PM           308,224 pgawk.exe
04/27/2010  11:14 PM            31,744 printf.exe
04/24/2011  04:42 PM         1,388,371 ps.exe
04/27/2010  11:14 PM            22,528 pwd.exe
04/27/2010  11:13 PM           100,352 rm.exe
04/27/2010  11:13 PM            21,504 rmdir.exe
04/21/2010  08:19 PM            32,768 sdiff.exe
04/14/2010  06:56 AM           134,144 sed.exe
10/24/2010  03:15 PM           563,200 sh.exe
04/27/2010  11:14 PM            21,504 sleep.exe
04/27/2010  11:14 PM            53,760 sort.exe
04/27/2010  11:14 PM            32,768 split.exe
07/11/2009  11:34 AM               184 start
04/27/2010  11:14 PM            49,664 stty.exe
04/27/2010  11:14 PM            46,080 tail.exe
04/20/2010  08:44 PM           308,736 tar.exe
04/27/2010  11:14 PM            21,504 tee.exe
04/17/2010  07:48 PM            52,691 texi2dvi
04/17/2010  07:48 PM               660 texi2pdf
04/17/2010  07:48 PM            16,896 texindex.exe
04/27/2010  11:13 PM            45,056 touch.exe
04/27/2010  11:14 PM            38,912 tr.exe
04/27/2010  11:14 PM            14,848 true.exe
03/18/2012  12:52 PM            29,184 u2d.exe
05/12/2010  06:13 PM             3,092 umount
04/27/2010  11:14 PM            21,504 uname.exe
04/16/2010  07:39 PM                65 uncompress
04/27/2010  11:14 PM            29,696 uniq.exe
03/18/2012  12:52 PM            29,184 unix2dos.exe
03/18/2012  12:52 PM            29,184 unix2mac.exe
09/10/2011  12:02 AM            65,024 unlzma.exe
09/10/2011  12:02 AM            65,024 unxz.exe
04/27/2010  11:14 PM            24,576 wc.exe
07/11/2009  11:34 AM             1,831 which
04/25/2010  07:05 AM            33,280 xargs.exe
09/10/2011  12:02 AM            65,024 xz.exe
09/10/2011  12:02 AM            65,024 xzcat.exe
09/10/2011  12:01 AM             5,208 xzcmp
09/10/2011  12:02 AM            12,800 xzdec.exe
09/10/2011  12:01 AM             5,208 xzdiff
09/10/2011  12:01 AM             5,287 xzegrep
09/10/2011  12:01 AM             5,287 xzfgrep
09/10/2011  12:01 AM             5,287 xzgrep
09/10/2011  12:01 AM             1,800 xzless
09/10/2011  12:01 AM             2,161 xzmore
04/16/2010  07:39 PM                66 zcat
04/16/2010  07:39 PM                71 zcmp
04/16/2010  07:39 PM             4,426 zdiff
04/16/2010  07:39 PM                66 zegrep
04/16/2010  07:39 PM                66 zfgrep
04/16/2010  07:39 PM             2,017 zforce
04/16/2010  07:39 PM             5,599 zgrep
04/16/2010  07:39 PM             1,735 zless
04/16/2010  07:39 PM             2,418 zmore
04/16/2010  07:39 PM             4,954 znew
             151 File(s)     16,131,246 bytes
               2 Dir(s)  60,044,132,352 bytes free

C:\MinGW\msys\1.0\bin>


is this the information you needed?
Offline (Unknown gender) Salvakiya

Member
Joined: Jan 2013
Posts: 9
View profile
Reply #5 Posted on: January 15, 2013, 09:23:49 PM
wow wait a second... if i run Enigma on drive D do I need MINGW installed on drive D also?


EDIT: yes that fixed it. I just moved my Enigma Directory over to drive C and it starts fine.

Cheers! =D

Edit: though now its giving me a separate error.
ENIGMA: Unable to communicate with the library,
either because it could not be found or uses methods different from those expected
The exact error is:
Unable to load library 'compileEGMf': The specified module could not be found


here is the Output
Checking configuration
Scouring for Java
java version "1.7.0_06"
Java(TM) SE Runtime Environment (build 1.7.0_06-b24)
Java HotSpot(TM) Client VM (build 23.2-b09, mixed mode, sharing)
Calling `java -jar l*.jar`

Java Version: 10700 (1.7.0_06)
Loading lib files in C:\enigma\enigma-dev-enigma-dev-c981166\lgm16b4.jar
01_move.lgl 02_main1.lgl 03_main2.lgl 04_control.lgl
05_score.lgl 06_extra.lgl 07_draw.lgl
Calling `C:\MinGW\msys\1.0\bin\make.exe eTCpath="/MinGW/bin:/bin:"`
> /usr/bin/make -j -C CompilerSource
> bash.exe: warning: could not find /tmp, please create!
> make[1]: Entering directory `/c/enigma/enigma-dev-enigma-dev-c981166/CompilerS
ource'
> g++ -static-libstdc++ -static-libgcc -shared -o ../compileEGMf.dll .eobjs/./ba
ckend/ideprint.o .eobjs/./backend/JavaCallbacks.o .eobjs/./compiler/compile.o .e
objs/./compiler/compile_common.o .eobjs/./compiler/compile_includes.o .eobjs/./c
ompiler/components/handle_templates.o .eobjs/./compiler/components/module_write_
backgrounds.o .eobjs/./compiler/components/module_write_fonts.o .eobjs/./compile
r/components/module_write_paths.o .eobjs/./compiler/components/module_write_soun
ds.o .eobjs/./compiler/components/module_write_sprites.o .eobjs/./compiler/compo
nents/parse_and_link.o .eobjs/./compiler/components/parse_secondary.o .eobjs/./c
ompiler/components/write_defragged_events.o .eobjs/./compiler/components/write_e
vent_code.o .eobjs/./compiler/components/write_font_info.o .eobjs/./compiler/com
ponents/write_globals.o .eobjs/./compiler/components/write_object_access.o .eobj
s/./compiler/components/write_object_data.o .eobjs/./compiler/components/write_r
oom_data.o .eobjs/./compiler/event_reader/event_parser.o .eobjs/./compiler/jdi_u
tility.o .eobjs/./compiler/output_locals.o .eobjs/./compiler/pcs/pcs.o .eobjs/./
compiler/reshandlers/rectpack.o .eobjs/./compiler/reshandlers/refont.o .eobjs/./
filesystem/file_find.o .eobjs/./frontend.o .eobjs/./gcc_interface/gcc_backend.o
.eobjs/./general/bettersystem.o .eobjs/./general/darray.o .eobjs/./general/macro
_integration.o .eobjs/./general/string.o .eobjs/./general/textfile.o .eobjs/./JD
I/src/API/AST.o .eobjs/./JDI/src/API/AST_Export.o .eobjs/./JDI/src/API/context.o
.eobjs/./JDI/src/API/error_reporting.o .eobjs/./JDI/src/API/jdi.o .eobjs/./JDI/
src/API/lexer_interface.o .eobjs/./JDI/src/API/user_tokens.o .eobjs/./JDI/src/Ge
neral/debug_macros.o .eobjs/./JDI/src/General/llreader.o .eobjs/./JDI/src/Genera
l/parse_basics.o .eobjs/./JDI/src/General/svg_simple.o .eobjs/./JDI/src/Parser/b
ase.o .eobjs/./JDI/src/Parser/handlers/handle_class.o .eobjs/./JDI/src/Parser/ha
ndlers/handle_declarators.o .eobjs/./JDI/src/Parser/handlers/handle_enum.o .eobj
s/./JDI/src/Parser/handlers/handle_function_impl.o .eobjs/./JDI/src/Parser/handl
ers/handle_hypothetical.o .eobjs/./JDI/src/Parser/handlers/handle_namespace.o .e
objs/./JDI/src/Parser/handlers/handle_scope.o .eobjs/./JDI/src/Parser/handlers/h
andle_templates.o .eobjs/./JDI/src/Parser/handlers/handle_union.o .eobjs/./JDI/s
rc/Parser/parse_context.o .eobjs/./JDI/src/Parser/readers/read_expression.o .eob
js/./JDI/src/Parser/readers/read_next_token.o .eobjs/./JDI/src/Parser/readers/re
ad_operatorkw_name.o .eobjs/./JDI/src/Parser/readers/read_qualified_definition.o
.eobjs/./JDI/src/Parser/readers/read_template_parameters.o .eobjs/./JDI/src/Par
ser/readers/read_type.o .eobjs/./JDI/src/Storage/definition.o .eobjs/./JDI/src/S
torage/full_type.o .eobjs/./JDI/src/Storage/references.o .eobjs/./JDI/src/Storag
e/value.o .eobjs/./JDI/src/Storage/value_funcs.o .eobjs/./JDI/src/System/builtin
s.o .eobjs/./JDI/src/System/lex_buffer.o .eobjs/./JDI/src/System/lex_cpp.o .eobj
s/./JDI/src/System/macros.o .eobjs/./JDI/src/System/symbols.o .eobjs/./JDI/src/S
ystem/token.o .eobjs/./JDI/test/debug_lexer.o .eobjs/./languages/language_adapte
r.o .eobjs/./languages/lang_CPP.o .eobjs/./main.o .eobjs/./parser/collect_variab
les.o .eobjs/./parser/object_storage.o .eobjs/./parser/parser.o .eobjs/./parser/
parser_components.o .eobjs/./settings-parse/crawler.o .eobjs/./settings-parse/ey
aml.o .eobjs/./settings-parse/parse_ide_settings.o .eobjs/./settings.o .eobjs/./
syntax/checkfile.o .eobjs/./syntax/syntax.o .eobjs/./varnames/varnames.o
> c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot f
ind -lmoldname
> c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot f
ind -lmingwex
> c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot f
ind -lmsvcrt
> c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot f
ind -lmoldname
> c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot f
ind -lmingwex
> make[1]: Leaving directory `/c/enigma/enigma-dev-enigma-dev-c981166/CompilerSo
urce'
> c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot f
ind -lmsvcrt
> collect2: ld returned 1 exit status
> make[1]: *** [../compileEGMf.dll] Error 1
> make: *** [ENIGMA] Error 2
2
Process terminated
Press any key to continue . . .
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Reply #6 Posted on: January 16, 2013, 02:38:13 AM
You can also change the location of MinGW in Compilers/Windows/gcc.ey Polyfuck or cheeseshit (can't remember which) decided that letting ENIGMA.exe generate that file was cumbersome, and that they should hard-code it instead. So that's what they did, thereby breaking it for users who have multiple drives.

Anyway, glad to hear you got it working. Cheers!
Pages: 1