Compiling on linux ><


(kyle26189) #1

Hello im trying to compile etpub 1.0.0 on linux ( pinguy os 64 ) and i get this error i had a bunch of errors fixed most of them but i am currently stuck at this one and can’t figure it out and was hoping someone here could help me.

heres the error its a picture :smiley:


anyone have any ideas?


(Radegast) #2

You need 32bit libc dev package. Looks like Pinguy is built on Ubuntu, so try this: sudo apt-get install libc6-dev-i386

This topic should be renamed to “Compiling ETPub on linux”.


(Runeforce) #3

I usually use the program ‘apt-file’ to help me find header-files (*.h), but it’s not a default package, so you would have to install it and update it first

sudo apt-get install apt-file

apt-file update

and now you can use it to find whatever your program is complaining about (and yes, Radegast has a point in that you should remember you are compiling a 32bit program on a 64bit machine, so you might need the packages ending with 386, instead of the default ones.)

apt-file find “bits/predefs.h”

and a list of packages containing that file should pop up on your screen, and you can use apt-get to install it. Rinse and repeat, until it builds.


(kyle26189) #4

cd curl-7.26.0 ; make distclean
make: *** No rule to make target `distclean’. Stop.cd curl-7.26.0 ; ./configure --enable-shared=no --enable-static=yes --enable-libgcc --enable-http --disable-manual --disable-ipv6 --disable-ares --without-ssl --without-zlib --without-libidn --disable-dict --disable-file --disable-ftp --disable-gopher --disable-imap --disable-ldap --disable-pop3 --disable-rtsp --disable-smtp --disable-telnet --disable-tftp --enable-debug CC=‘gcc’
sh: 1: ./configure: Permission denied
scons: *** [curl-7.26.0/lib/.libs/libcurl-debug.a] TypeError : exceptions must be old-style classes or derived from BaseException, not str
Traceback (most recent call last):
File “/usr/lib/scons/SCons/Action.py”, line 1062, in execute
result = self.execfunction(target=target, source=rsources, env=env)
File “/home/purple/trunk/src/SConscript.curl”, line 38, in Compile
self.SimpleCommand( cmd )
File “/home/purple/trunk/src/scons_utils.py”, line 37, in SimpleCommand
raise ‘command failed’
TypeError: exceptions must be old-style classes or derived from BaseException, not str
scons: building terminated because of errors.
purple@purple-virtual-machine:~/trunk/src$

alright after getting some 32libs installed, and scons and so on, these are the errors i am having now. yet to figure them out.