I have: Python 2.3.5 (#1, May 4 2005, 10:31:48) [GCC 3.3.5-20050130 (Gentoo Linux 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie- on linux2
and GCJ: Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/specs Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libgcj.spec rename spec lib to liborig Configured with: /var/tmp/portage/gcc-3.3.5.20050130-r1/work/gcc-3.3.5/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/info --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --enable-languages=c,c++,java,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1) and swig-1.3.21 all compiles well until i reach the final .so creation, where i get the following error message: g++ -shared -o release/_PyLucene.so -O2 -fPIC -DSWIG_COBJECT_TYPES -DSWIG_COBJECT_PYTHON -DPYLUCENE_VER="'1.0'" -DLUCENE_VER="'1.4.3'" -I/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130/include -Irelease/classes -I/usr/include/python2.3 PyLucene_wrap.cxx release/lucene.o release/snowball.o release/highlight.o release/analyzers.o release/unreleased.o release/util.java.o release/util.cpp.o release/io.java.o release/io.cpp.o release/store.java.o release/store.cpp.o release/search.java.o release/search.cpp.o release/queryParser.java.o release/queryParser.cpp.o release/analysis.java.o release/analysis.cpp.o release/highlight.java.o release/highlight.cpp.o -L/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130/lib -lgcj PyLucene_wrap.cxx: In function `void finalizeObject(PyObject*)': PyLucene_wrap.cxx:1624: error: `Py_CLEAR' undeclared (first use this function) PyLucene_wrap.cxx:1624: error: (Each undeclared identifier is reported only once for each function it appears in.) make: *** [release/_PyLucene.so] Error 1 Where is this Py_CLEAR defined ? Any help would be appreciated ! Thanks ! -- Catalin Constantin Bounce Software http://www.bounce-software.com http://www.cabanova.ro _______________________________________________ pylucene-dev mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
