Compiling RC2 on Windows: failed
- Posted by nanochip Dec 12, 2010
- 1262 views
Hi
Need a generic Linux package. I can extract from a .deb manually, but its a pain.
What distro are you running? You might find it easier to use the source package, which is pre-translated. So after extracting, you should be able to:
$ cd path/to/eu/source $ ./configure $ make...and get the build process going.
Matt
Need a generic Linux package. I can extract from a .deb manually, but its a pain.
I made a generic Linux install last release but too many people couldn't use it because of the wide variety of libc versions out there on the different Linux distributions. You should be able to download the Linux source release and compile w/o having any previous Euphoria installation.
$ wget http://sourceforge.net/projects/rapideuphoria/files/Rapid%20Euphoria/4.0.0.RC2/Linux/euphoria_4.0.0-eu2-RC.2.tar.gz/download $ cd euphoria_4.0.0-eu2-RC.2/source $ ./configure $ make $ make install
On IRC they are talking about how to build a generic release right now that would have more success. So, up to you if you want to wait and see if they come up with anything or just build from sources above and be assured it will work on your exact distributions.
Jeremy
Though on Windows, compilation failed as expected. It's asking for the interpreter:
C:\nada\source>configure.bat Build directory is build C:\nada\source>wmake.exe Open Watcom Make Version 1.9 Portions Copyright (c) 1988-2002 Sybase, Inc. All Rights Reserved. Source code is available under the Sybase Open Watcom Public License. See http://www.openwatcom.org/ for details. ------- CORE ----------- wmake -f Makefile.wat -h library DEBUG= MANAGED_MEM=1 CONFIG=config.wat ------- RUNTIME ----------- set ERUNTIME=/dERUNTIME ------- LIBRARY ----------- wmake -f Makefile.wat -h C:\nada\source\build\eu.lib OS=WIN OBJDIR=WINlibobj DEB UG= MANAGED_MEM=1 CONFIG=config.wat MANAGED_MEM=1 mkdir C:\nada\source\build\WINlibobj mkdir C:\nada\source\build\WINlibobj\back wcc386 /bt=nt /mf /w0 /zq /j /zp4 /fp5 /fpi87 /5r /otimra /s /I..\ /ol /zp 4 /dEWINDOWS /5r /dEWATCOM /dEOW /dERUNTIME -fr=C:\nada\source\build\WI Nlibobj\back\be_decompress.obj.err /IC:\nada\source\build\WINlibobj\back be_deco mpress.c -fo=C:\nada\source\build\WINlibobj\back\be_decompress.obj wcc386 /bt=nt /mf /w0 /zq /j /zp4 /fp5 /fpi87 /5r /otimra /s /I..\ /ol /zp 4 /dEWINDOWS /5r /dEWATCOM /dEOW /dERUNTIME -fr=C:\nada\source\build\WI Nlibobj\back\be_machine.obj.err /IC:\nada\source\build\WINlibobj\back be_machine .c -fo=C:\nada\source\build\WINlibobj\back\be_machine.obj wcc386 /bt=nt /mf /w0 /zq /j /zp4 /fp5 /fpi87 /5r /otimra /s /I..\ /ol /zp 4 /dEWINDOWS /5r /dEWATCOM /dEOW /dERUNTIME -fr=C:\nada\source\build\WI Nlibobj\back\be_w.obj.err /IC:\nada\source\build\WINlibobj\back be_w.c -fo=C:\na da\source\build\WINlibobj\back\be_w.obj wcc386 /bt=nt /mf /w0 /zq /j /zp4 /fp5 /fpi87 /5r /otimra /s /I..\ /ol /zp 4 /dEWINDOWS /5r /dEWATCOM /dEOW /dERUNTIME -fr=C:\nada\source\build\WI Nlibobj\back\be_alloc.obj.err /IC:\nada\source\build\WINlibobj\back be_alloc.c - fo=C:\nada\source\build\WINlibobj\back\be_alloc.obj wcc386 /oe=40 /ol /zp4 /dEWINDOWS /5r /dEWATCOM /dEOW /dERUNTIME /bt=nt /mf /w0 /zq /j /zp4 /fp5 /fpi87 /5r /otimra /s /I..\ be_inline.c -fo=C:\n ada\source\build\WINlibobj\back\be_inline.obj wcc386 /bt=nt /mf /w0 /zq /j /zp4 /fp5 /fpi87 /5r /otimra /s /I..\ /ol /zp 4 /dEWINDOWS /5r /dEWATCOM /dEOW /dERUNTIME -fr=C:\nada\source\build\WI Nlibobj\back\be_runtime.obj.err /IC:\nada\source\build\WINlibobj\back be_runtime .c -fo=C:\nada\source\build\WINlibobj\back\be_runtime.obj wcc386 /bt=nt /mf /w0 /zq /j /zp4 /fp5 /fpi87 /5r /otimra /s /I..\ /ol /zp 4 /dEWINDOWS /5r /dEWATCOM /dEOW /dERUNTIME -fr=C:\nada\source\build\WI Nlibobj\back\be_task.obj.err /IC:\nada\source\build\WINlibobj\back be_task.c -fo =C:\nada\source\build\WINlibobj\back\be_task.obj wcc386 /bt=nt /mf /w0 /zq /j /zp4 /fp5 /fpi87 /5r /otimra /s /I..\ /ol /zp 4 /dEWINDOWS /5r /dEWATCOM /dEOW /dERUNTIME -fr=C:\nada\source\build\WI Nlibobj\back\be_callc.obj.err /IC:\nada\source\build\WINlibobj\back be_callc.c - fo=C:\nada\source\build\WINlibobj\back\be_callc.obj wcc386 /bt=nt /mf /w0 /zq /j /zp4 /fp5 /fpi87 /5r /otimra /s /I..\ /ol /zp 4 /dEWINDOWS /5r /dEWATCOM /dEOW /dERUNTIME -fr=C:\nada\source\build\WI Nlibobj\back\be_socket.obj.err /IC:\nada\source\build\WINlibobj\back be_socket.c -fo=C:\nada\source\build\WINlibobj\back\be_socket.obj wcc386 /bt=nt /mf /w0 /zq /j /zp4 /fp5 /fpi87 /5r /otimra /s /I..\ /ol /zp 4 /dEWINDOWS /5r /dEWATCOM /dEOW /dERUNTIME -fr=C:\nada\source\build\WI Nlibobj\back\be_pcre.obj.err /IC:\nada\source\build\WINlibobj\back be_pcre.c -fo =C:\nada\source\build\WINlibobj\back\be_pcre.obj C:\EUPHORIA-4.0\bin\eui.exe -i ..\include revget.ex Error(E14): Cannot execute (C:\EUPHORIA-4.0\bin\eui.exe): No such file or direct ory Error(E42): Last command making (be_rev.c) returned a bad status Error(E02): Make execution terminated Error(E42): Last command making (library) returned a bad status Error(E02): Make execution terminated Error(E42): Last command making (core) returned a bad status Error(E02): Make execution terminated C:\nada\source>
I wonder how many people managed to successfully compile Euphoria from sources. I've never been able to do it. I've not tried on Linux yet and won't do that until being able to do it on Windows.
I agree with the user that says Euphoria v.4.0 is problematic, though for different reasons than those posted elsewhere.