From: Paul O. <new...@ki...> - 2009-03-14 11:59:57
|
Hello devels, I've obtained todays trunk snapshot and tried to compile it. As usual, I'm doing userland installation (INSTALL prefix is /home/guest/psg22) Unfortunately, ccmake yelds such an error whenever I try co run 'configure' option: CMake Error at client_libs/libplayerc/bindings/python/CMakeLists.txt:61 (INSTALL): install FILES given no DESTINATION! ...And 'generate' option is never available As I compared with 20090218, new option must be explicitly set: PYTHON_BINDINGS_INSTALL_DIR. IMO, this should by set by default to INSTALL_PREFIX/lib/python/site-packages. As I did this, more errors occured later: [ 17%] Building C object client_libs/libplayerc/bindings/python/CMakeFiles/_playerc.dir/playercPYTHON_wrap.o /home/guest/psg22/src/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function âintArray___getitem__â: /home/guest/psg22/src/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3100: error: â$selfâ undeclared (first use in this function) /home/guest/psg22/src/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3100: error: (Each undeclared identifier is reported only once /home/guest/psg22/src/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3100: error: for each function it appears in.) /home/guest/psg22/src/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function âintArray___setitem__â: /home/guest/psg22/src/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3101: error: â$selfâ undeclared (first use in this function) /home/guest/psg22/src/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function âdoubleArray___getitem__â: /home/guest/psg22/src/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3102: error: â$selfâ undeclared (first use in this function) /home/guest/psg22/src/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function âdoubleArray___setitem__â: /home/guest/psg22/src/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3103: error: â$selfâ undeclared (first use in this function) /home/guest/psg22/src/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function âfloatArray___getitem__â: /home/guest/psg22/src/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3104: error: â$selfâ undeclared (first use in this function) /home/guest/psg22/src/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c: In function âfloatArray___setitem__â: /home/guest/psg22/src/build/client_libs/libplayerc/bindings/python/playercPYTHON_wrap.c:3105: error: â$selfâ undeclared (first use in this function) versions of software I used are: python-2.4.3-21.el5 python-devel-2.4.3-21.el5 swig-1.3.29-2.el5 sip-4.4.5-3 Cheers, Paul |