Asking for help to install Gambit

NoSpaze nospaze at gmail.com
Fri Mar 26 18:37:23 UTC 2010


Am Freitag, den 26.03.2010, 18:09 +0000 schrieb Paul Smith:
> >> >> -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)...

> >>
> >> Thanks, Rodolfo. Now the errors are:

> >> /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 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

> Thanks to all. After Rodolfo's reply, I think I know how to fix the
> problem: to do the includes that are missing.

But how did you solved the libtool failure?
----------------------------------------------
Rodolfo Alcazar Portillo - nospaze at gmail.com
otbits.blogspot.com / counter.li.org: #367962
----------------------------------------------
Zum schönsten, was zwischen Menschen entstehen kann,
zählt zweifellos die Distanz. -- Gunkl




More information about the users mailing list