Re: Euphoria 4.0.5 installation Errors when installing from source on Linux Mint 13 (Maya) 64 bit

new topic     » goto parent     » topic index » view thread      » older message » newer message
K_D_R said...

Prior to trying to install and compile 64 bit Eu 4.0.5 from source I installed and then completely removed this package after testing it very briefly: euphoria_4.0.5_amd64.deb 2012-10-19 11.5 MB - unless I am mistaken, this installation still uses 32 binaries? Is this correct?

Yes. 4.0.5 is 32bit only. I'll let Matt explain why he releases an amd64 package that only has 32bit binaries.

K_D_R said...

After executing a complete removal,I downloaded this file a few minutes ago: euphoria-LINUX-4.0.5-src.tar.gz 2012-10-19 5.0 MB

And then tried to install it on my 64 bit Linux Linux Mint 13 (Maya) system:

ken@ken-desktop ~/progs/euphoria-LINUX-4.0.5/source $ su 
Password:  
ken-desktop source # ./configure 
Configuring to build for target: Linux / default platform 
Writing eu.cfg to /home/ken/progs/euphoria-LINUX-4.0.5/source/build/eu.cfg 
ken-desktop source # make 
make interpreter translator library debug-library backend 
make[1]: Entering directory `/home/ken/progs/euphoria-LINUX-4.0.5/source' 
make /home/ken/progs/euphoria-LINUX-4.0.5/source/build/eui OBJDIR=intobj EBSD= CONFIG=config.gnu EDEBUG= EPROFILE= 
make[2]: Entering directory `/home/ken/progs/euphoria-LINUX-4.0.5/source' 
gcc -DELINUX  -m32  -c -fsigned-char  -ffast-math  -fomit-frame-pointer  -I../ -I../../include/  -DARCH=ix86  /home/ken/progs/euphoria-LINUX-4.0.5/source/build/intobj/0rror.c -I/usr/share/euphoria -o/home/ken/progs/euphoria-LINUX-4.0.5/source/build/intobj/0rror.o 
In file included from /usr/include/stdio.h:28:0, 
                 from ../include/euphoria.h:12, 
                 from /home/ken/progs/euphoria-LINUX-4.0.5/source/build/intobj/0rror.c:2: 
/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory 
compilation terminated. 
make[2]: *** [/home/ken/progs/euphoria-LINUX-4.0.5/source/build/intobj/0rror.o] Error 1 
make[2]: Leaving directory `/home/ken/progs/euphoria-LINUX-4.0.5/source' 
make[1]: *** [interpreter] Error 2 
make[1]: Leaving directory `/home/ken/progs/euphoria-LINUX-4.0.5/source' 
make: *** [all] Error 2 

Any insight into what I am doing wrong will be appreciated.

Thanks, Ken

Your stdio.h doesn't work. You're missing bits/predefs.h - that sounds like a distro issue.

I should point out here, the binaries that you are building are still 32bit (notice the -m32 option to gcc). Building 64bit binaries from the 4.0.5 source isn't supported.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu