|
From: Treeve J. <tre...@pi...> - 2003-12-13 08:59:47
|
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have Python-2.3.2
I added "--with-pythonver=3D`ls /usr/lib |grep python|cut -c7-`" to ./confi=
gure
I get the following errors when compiling the Python interface using gcc-3.=
3.2
=2D -------
gcc -DPACKAGE_NAME=3D\"\" -DPACKAGE_TARNAME=3D\"\" -DPACKAGE_VERSION=3D\"\=
"=20
=2D -DPACKAGE_STRING=3D\"\" -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE=3D\"rlib\"=
=20
=2D -DVERSION=3D\"1.1.6\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_=
SYS_STAT_H=3D1=20
=2D -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRI=
NGS_H=3D1=20
=2D -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DL=
=46CN_H=3D1=20
=2D -DHAVE_LIBC=3D1 -DHAVE_LIBM=3D1 -DHAVE_ODBC=3D1 -DHAVE_PYTHON=3D1 -DSTD=
C_HEADERS=3D1=20
=2D -DHAVE_FCNTL_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_CPDFLIB_H=3D1 -DHAVE_LIBC=
PDF=3D1=20
=2D -DENABLE_CRASH=3D1 -I. -I. -I../../libsrc/ -I/usr/include/libxml2=20
=2D -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include=20
=2D -I /usr/include/python2.3 -Wall -Werror -march=3Dathlon-tbird -mmmx -m3=
dnow -O3=20
=2D -c environment.c -MT environment.lo -MD -MP -MF .deps/environment.TPlo =
-fPIC=20
=2D -DPIC -o .libs/environment.o
In file included from /usr/include/python2.3/Python.h:8,
from environment.c:22:
/usr/include/python2.3/pyconfig.h:847:1: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/stdlib.h:25,
from environment.c:20:
/usr/include/features.h:171:1: this is the location of the previous definit=
ion
make[3]: *** [environment.lo] Error 1
make[3]: Leaving directory `/usr/src/rlib-1.1.6/bindings/python'
Regards, Treeve=20
=2D --=20
PGP Key ID: AB929B24
PGP Key Fingerprint:31D9 D22F 42E6 F545 662E AB6F 9697 34C5 AB92 9B24=20
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/2tYUlpc0xauSmyQRAid0AKC2KO9hksHdXdil/pRc4f9pkmMI/ACePW6n
Rqso939pNFqpTIjuuoFzi4I=3D
=3DU9N9
=2D----END PGP SIGNATURE-----
|