What distro are you running?
The problem seems to be Python stuff defining stuff they should not
be...
If in bindings/python/Makefile you take out the -Werror flags it should
compile for you... until I can get to the bottom of the Python stuff
Then in order to use rlib's python bindings:
python2.3
import librlib;
then follow the PHP or c funtions.. but just put a "librlib." in front
of them
I need to document that..
- Bob
On Sat, 2003-12-13 at 04:04, Treeve Jelbert wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I have Python-2.3.2
>
>
> I added "--with-pythonver=`ls /usr/lib |grep python|cut -c7-`" to ./configure
>
>
> I get the following errors when compiling the Python interface using gcc-3.3.2
> - -------
>
> gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> - -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"rlib\"
> - -DVERSION=\"1.1.6\" -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
> - -DHAVE_LIBC=1 -DHAVE_LIBM=1 -DHAVE_ODBC=1 -DHAVE_PYTHON=1 -DSTDC_HEADERS=1
> - -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CPDFLIB_H=1 -DHAVE_LIBCPDF=1
> - -DENABLE_CRASH=1 -I. -I. -I../../libsrc/ -I/usr/include/libxml2
> - -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include
> - -I /usr/include/python2.3 -Wall -Werror -march=athlon-tbird -mmmx -m3dnow -O3
> - -c environment.c -MT environment.lo -MD -MP -MF .deps/environment.TPlo -fPIC
> - -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 definition
> make[3]: *** [environment.lo] Error 1
> make[3]: Leaving directory `/usr/src/rlib-1.1.6/bindings/python'
>
>
>
>
> Regards, Treeve
>
> - --
> PGP Key ID: AB929B24
> PGP Key Fingerprint:31D9 D22F 42E6 F545 662E AB6F 9697 34C5 AB92 9B24
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
>
> iD8DBQE/2tYUlpc0xauSmyQRAid0AKC2KO9hksHdXdil/pRc4f9pkmMI/ACePW6n
> Rqso939pNFqpTIjuuoFzi4I=
> =U9N9
> -----END PGP SIGNATURE-----
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
> Free Linux Tutorials. Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id78&alloc_id371&opk
> _______________________________________________
> Rlib-users mailing list
> Rli...@li...
> https://lists.sourceforge.net/lists/listinfo/rlib-users
|