On Fri, Mar 26, 2010 at 5:50 PM, Aioanei Rares <schaiba@xxxxxxxxx> wrote: >> >> >> I am trying to install gambit-0.2007.12.04.tar.gz on F12, but getting >> >> >> errors. >> >> > >> >> > If nobody answered the first time, it has to be for some reason. Maybe >> >> > you can try specifying the errors. >> >> >> >> Thanks, Rodolfo. I am now qouting the errors below. >> >> >> >> ---------------------------------- >> >> config.status: creating Makefile >> >> config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting >> > >> > mmm... warnings. Let them be. >> > >> >> With make: >> >> >> >> -DHAVE_DRAND48=1 -I. -I. -g -O2 -c integer.cc -fPIC -DPIC -o .libs/integer.o >> >> integer.cc: In function 'Gambit::IntegerRep* >> >> Gambit::atoIntegerRep(const char*, int)': >> >> integer.cc:2153: error: 'strlen' was not declared in this scope >> > >> > Seems the problem is the current gcc version (4.3). Try adding >> > >> > #include <memory> >> > #include <climits> >> > #include <cstring> >> > >> > to the headers section in the file which trigs the error >> > (src/libgambit/integer.cc)... >> > >> > Tell us how did you go. :) >> >> Thanks, Rodolfo. Now the errors are: >> >> $ make >> Making all in doc >> make[1]: Entering directory `/tmp/gambit-0.2007.12.04/doc' >> make[1]: Nothing to be done for `all'. >> make[1]: Leaving directory `/tmp/gambit-0.2007.12.04/doc' >> Making all in contrib >> make[1]: Entering directory `/tmp/gambit-0.2007.12.04/contrib' >> Making all in games >> make[2]: Entering directory `/tmp/gambit-0.2007.12.04/contrib/games' >> make[2]: Nothing to be done for `all'. >> make[2]: Leaving directory `/tmp/gambit-0.2007.12.04/contrib/games' >> Making all in mac >> make[2]: Entering directory `/tmp/gambit-0.2007.12.04/contrib/mac' >> Making all in Gambit.app >> make[3]: Entering directory `/tmp/gambit-0.2007.12.04/contrib/mac/Gambit.app' >> Making all in Contents >> make[4]: Entering directory >> `/tmp/gambit-0.2007.12.04/contrib/mac/Gambit.app/Contents' >> Making all in MacOS >> make[5]: Entering directory >> `/tmp/gambit-0.2007.12.04/contrib/mac/Gambit.app/Contents/MacOS' >> make[5]: Nothing to be done for `all'. >> make[5]: Leaving directory >> `/tmp/gambit-0.2007.12.04/contrib/mac/Gambit.app/Contents/MacOS' >> Making all in Resources >> make[5]: Entering directory >> `/tmp/gambit-0.2007.12.04/contrib/mac/Gambit.app/Contents/Resources' >> make[5]: Nothing to be done for `all'. >> make[5]: Leaving directory >> `/tmp/gambit-0.2007.12.04/contrib/mac/Gambit.app/Contents/Resources' >> make[5]: Entering directory >> `/tmp/gambit-0.2007.12.04/contrib/mac/Gambit.app/Contents' >> make[5]: Nothing to be done for `all-am'. >> make[5]: Leaving directory >> `/tmp/gambit-0.2007.12.04/contrib/mac/Gambit.app/Contents' >> make[4]: Leaving directory >> `/tmp/gambit-0.2007.12.04/contrib/mac/Gambit.app/Contents' >> make[4]: Entering directory `/tmp/gambit-0.2007.12.04/contrib/mac/Gambit.app' >> make[4]: Nothing to be done for `all-am'. >> make[4]: Leaving directory `/tmp/gambit-0.2007.12.04/contrib/mac/Gambit.app' >> make[3]: Leaving directory `/tmp/gambit-0.2007.12.04/contrib/mac/Gambit.app' >> make[3]: Entering directory `/tmp/gambit-0.2007.12.04/contrib/mac' >> make[3]: Nothing to be done for `all-am'. >> make[3]: Leaving directory `/tmp/gambit-0.2007.12.04/contrib/mac' >> make[2]: Leaving directory `/tmp/gambit-0.2007.12.04/contrib/mac' >> Making all in scripts >> make[2]: Entering directory `/tmp/gambit-0.2007.12.04/contrib/scripts' >> Making all in enumpoly >> make[3]: Entering directory `/tmp/gambit-0.2007.12.04/contrib/scripts/enumpoly' >> make[3]: Nothing to be done for `all'. >> make[3]: Leaving directory `/tmp/gambit-0.2007.12.04/contrib/scripts/enumpoly' >> make[3]: Entering directory `/tmp/gambit-0.2007.12.04/contrib/scripts' >> make[3]: Nothing to be done for `all-am'. >> make[3]: Leaving directory `/tmp/gambit-0.2007.12.04/contrib/scripts' >> make[2]: Leaving directory `/tmp/gambit-0.2007.12.04/contrib/scripts' >> make[2]: Entering directory `/tmp/gambit-0.2007.12.04/contrib' >> make[2]: Nothing to be done for `all-am'. >> make[2]: Leaving directory `/tmp/gambit-0.2007.12.04/contrib' >> make[1]: Leaving directory `/tmp/gambit-0.2007.12.04/contrib' >> Making all in src >> make[1]: Entering directory `/tmp/gambit-0.2007.12.04/src' >> Making all in libgambit >> make[2]: Entering directory `/tmp/gambit-0.2007.12.04/src/libgambit' >> /bin/sh ../../libtool --mode=compile g++ -DPACKAGE_NAME=\"\" >> -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" >> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"gambit\" >> -DVERSION=\"0.2007.12.04\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 >> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 >> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 >> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 >> -DLT_OBJDIR=\".libs/\" -DHAVE_BCMP=1 -DHAVE_SRAND48=1 -DHAVE_DRAND48=1 >> -I. -I. -g -O2 -c integer.cc >> ../../libtool: line 656: X--mode=compile: command not found >> ../../libtool: line 806: *** Warning: inferring the mode of operation >> is deprecated.: command not found >> ../../libtool: line 807: *** Future versions of Libtool will require >> -mode=MODE be specified.: command not found >> ../../libtool: line 950: Xg++: command not found >> ../../libtool: line 950: X-DPACKAGE_NAME="": command not found >> ../../libtool: line 950: X-DPACKAGE_TARNAME="": command not found >> ../../libtool: line 950: X-DPACKAGE_VERSION="": command not found >> ../../libtool: line 950: X-DPACKAGE_STRING="": command not found >> ../../libtool: line 950: X-DPACKAGE_BUGREPORT="": command not found >> ../../libtool: line 950: X-DPACKAGE="gambit": command not found >> ../../libtool: line 950: X-DVERSION="0.2007.12.04": command not found >> ../../libtool: line 950: X-DSTDC_HEADERS=1: command not found >> ../../libtool: line 950: X-DHAVE_SYS_TYPES_H=1: command not found >> ../../libtool: line 950: X-DHAVE_SYS_STAT_H=1: command not found >> ../../libtool: line 950: X-DHAVE_STDLIB_H=1: command not found >> ../../libtool: line 950: X-DHAVE_STRING_H=1: command not found >> ../../libtool: line 950: X-DHAVE_MEMORY_H=1: command not found >> ../../libtool: line 950: X-DHAVE_STRINGS_H=1: command not found >> ../../libtool: line 950: X-DHAVE_INTTYPES_H=1: command not found >> ../../libtool: line 950: X-DHAVE_STDINT_H=1: command not found >> ../../libtool: line 950: X-DHAVE_UNISTD_H=1: command not found >> ../../libtool: line 950: X-DHAVE_DLFCN_H=1: command not found >> ../../libtool: line 950: X-DLT_OBJDIR=".libs/": No such file or directory >> ../../libtool: line 950: X-DHAVE_BCMP=1: command not found >> ../../libtool: line 950: X-DHAVE_SRAND48=1: command not found >> ../../libtool: line 950: X-DHAVE_DRAND48=1: command not found >> ../../libtool: line 950: X-I.: command not found >> ../../libtool: line 950: X-I.: command not found >> ../../libtool: line 950: X-g: command not found >> ../../libtool: line 950: X-O2: command not found >> ../../libtool: line 950: X-c: command not found >> ../../libtool: line 975: Xinteger.cc: command not found >> _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed >> _XSERVTransMakeAllCOTSServerListeners: server already running >> >> Fatal server error: >> Cannot establish any listening sockets - Make sure an X server isn't >> already running >> >> Please consult the Fedora Project support >> at http://bodhi.fedoraproject.org/ >> for help. >> Please also check the log file at "/var/log/Xorg.0.log" for additional >> information. >> >> ../../libtool: line 1003: libtool: compile: cannot determine name of >> library object from `': command not found >> make[2]: *** [integer.lo] Error 1 >> make[2]: Leaving directory `/tmp/gambit-0.2007.12.04/src/libgambit' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/tmp/gambit-0.2007.12.04/src' >> make: *** [all-recursive] Error 1 >> $ >> -- > Why on earth are you compiling in /tmp/ ? Thanks to all. After Rodolfo's reply, I think I know how to fix the problem: to do the includes that are missing. Paul -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines