LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   [HELP] Configure and Compile (https://www.linuxquestions.org/questions/linux-newbie-8/%5Bhelp%5D-configure-and-compile-664976/)

Yuki 08-24-2008 03:20 AM

[HELP] Configure and Compile
 
Hello everyone,
I'm trying to get some files work with one server, mainly all people there don't know what to do, but seems this is a linux issue so I was thinking that you could help, I'm using SLAM64 Linux and I get these errors:

Leeching from SVN Goes Great...Checked out revision 4842.
Then...autoreconf --force --install errors:
Code:
Code:

yuki@gameserver:~/ascent/trunk$ autoreconf --force --install
/usr/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR
run info '(automake)Extending aclocal'nf --force --installautoreconf --force -
or see http://sources.redhat.com/automake/a...ending-aclocal
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB
/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
/usr/share/aclocal/aalib.m4:12: warning: underquoted definition of AM_PATH_AALIB
/usr/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/a...ending-aclocal
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB
/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
/usr/share/aclocal/aalib.m4:12: warning: underquoted definition of AM_PATH_AALIB
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
extras/collision/collision_dll/Makefile.am: installing `./depcomp'
yuki@gameserver:~/ascent/trunk$

After this configure goes still good... (Log Here: http://www.warfare.lt/~yuki/configure.txt ) And then I try to "make" it justs burst into millions of errors (can't fit the whole log because of the newbie issues, but the errors are the same.. : http://www.warfare.lt/~yuki/error.txt )

weibullguy 08-24-2008 12:26 PM

You're trying to build a 64-bit application and it is trying to link against 32-bit libraries. It looks like the configure script doesn't use pkgconfig very well and there are a number of hard-coded paths. After executing autoreconf, try
Code:

sed -i 's@/usr/lib@/usr/lib64@g' configure
CC="gcc -m64" ./configure --prefix=/usr --libdir=/usr/lib64
make

This assumes, of course, that you actually have the 64-bit libraries installed for OpenSSL, PCRE, MySQL, and Zlib.


All times are GMT -5. The time now is 03:21 AM.