1. Failure to compile
- Posted by irv Jun 15, 2010
- 1012 views
I just set up a new computer with Mint 9, and got rev. 3290 via svn. When trying to compile, I get the following: Any hints what's missing?
irv@irv-laptop ~/eu40/source $ ./configure irv@irv-laptop ~/eu40/source $ make eui -i ../include revget.ex -root .. make: eui: Command not found make: [svn_rev] Error 127 (ignored) mkdir -p /home/irv/eu40/source/build/intobj/back /home/irv/eu40/source/build/transobj/back /home/irv/eu40/source/build/libobj/back /home/irv/eu40/source/build/backobj/back /home/irv/eu40/source/build/intobj/ /home/irv/eu40/source/build/transobj/ /home/irv/eu40/source/build/libobj/ /home/irv/eu40/source/build/backobj/ make /home/irv/eu40/source/build/eui OBJDIR=intobj EBSD= CONFIG=Makefile.eu EDEBUG= EPROFILE= make[1]: Entering directory `/home/irv/eu40/source' gcc -m32 -pthread -c -w -DEUNIX -DELINUX -fsigned-char -ffast-math -fomit-frame-pointer -DESIMPLE_MALLOC -DARCH=ix86 -DELINUX -I /home/irv/eu40/source/build/intobj/back be_decompress.c -o/home/irv/eu40/source/build/intobj/back/be_decompress.o make[1]: *** No rule to make target `/home/irv/eu40/source/build/intobj/main-.c', needed by `/home/irv/eu40/source/build/intobj/back/coverage.h'. Stop. make[1]: Leaving directory `/home/irv/eu40/source' make: *** [interpreter] Error 2
2. Re: Failure to compile
- Posted by jimcbrown (admin) Jun 15, 2010
- 996 views
You are:
A) Trying to build euphoria the normal way (using the interpreter to translate itself).
1) You do not have eui installed. You need to get it from eubins or similiar and put it in the bins directory, and then see 2).
2) You installed eui, but it is not in your PATH for some reason.
B) Trying to build euphoria using the pre-translated sources. These are not in svn yet, so it's not possible to do this.
In short, the error you are seeing means that we tried to run eui, we failed because eui was not found in the PATH, then we tried to compile the translated source anyways (and that failed because the translated source (main-.c) did not exist, due to the earlier eui failure).
I just set up a new computer with Mint 9, and got rev. 3290 via svn. When trying to compile, I get the following: Any hints what's missing?
irv@irv-laptop ~/eu40/source $ ./configure irv@irv-laptop ~/eu40/source $ make eui -i ../include revget.ex -root .. make: eui: Command not found make: [svn_rev] Error 127 (ignored) mkdir -p /home/irv/eu40/source/build/intobj/back /home/irv/eu40/source/build/transobj/back /home/irv/eu40/source/build/libobj/back /home/irv/eu40/source/build/backobj/back /home/irv/eu40/source/build/intobj/ /home/irv/eu40/source/build/transobj/ /home/irv/eu40/source/build/libobj/ /home/irv/eu40/source/build/backobj/ make /home/irv/eu40/source/build/eui OBJDIR=intobj EBSD= CONFIG=Makefile.eu EDEBUG= EPROFILE= make[1]: Entering directory `/home/irv/eu40/source' gcc -m32 -pthread -c -w -DEUNIX -DELINUX -fsigned-char -ffast-math -fomit-frame-pointer -DESIMPLE_MALLOC -DARCH=ix86 -DELINUX -I /home/irv/eu40/source/build/intobj/back be_decompress.c -o/home/irv/eu40/source/build/intobj/back/be_decompress.o make[1]: *** No rule to make target `/home/irv/eu40/source/build/intobj/main-.c', needed by `/home/irv/eu40/source/build/intobj/back/coverage.h'. Stop. make[1]: Leaving directory `/home/irv/eu40/source' make: *** [interpreter] Error 2
3. Re: Failure to compile
- Posted by irv Jun 15, 2010
- 963 views
Thanks, that worked. Now, the question is - why is eui not included in the svn? It's only 3 megs in size.
4. Re: Failure to compile
- Posted by jimcbrown (admin) Jun 15, 2010
- 984 views
Thanks, that worked. Now, the question is - why is eui not included in the svn? It's only 3 megs in size.
3 megs * 3035 revisions? * 8 platforms?
SVN is not very good at tracking binary files (although it can be done). Since we generally don't need to generate diffs between different eui binaries or such, it is more efficient to keep the binaries separately as eubins.
This doesn't make SVN very user friendly for installing Eu, but that's what the releases are for.
On the other hand, a script that automatically checks out svn head and then grabs the eubins for that version of svn (or the nearest version if no exact match is found) and installs the eubins into the checkout would probably be a very useful contribution.