Slavek, Darrell,
tdeutils fails when built with cmake:
[ 96%] Building CXX object superkaramba/src/CMakeFiles/superkaramba.dir/meter_python.cpp.o cd /build/tde-tdeutils/src/build/superkaramba/src && /usr/bin/c++ -DHAVE_CONFIG_H -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -I/opt/tqt3/include -I/usr/include/tqt -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -I/build/tde-tdeutils/src/build -I/build/tde-tdeutils/src/build/superkaramba/src -I/build/tde-tdeutils/src/tdeutils/superkaramba/src -I/usr/include/python3.3m -I/opt/trinity/include -I/opt/tqt3/include -I/usr/include/tqt -o CMakeFiles/superkaramba.dir/meter_python.cpp.o -c /build/tde-tdeutils/src/tdeutils/superkaramba/src/meter_python.cpp In file included from /build/tde-tdeutils/src/tdeutils/superkaramba/src/karamba.h:73:0, from /build/tde-tdeutils/src/tdeutils/superkaramba/src/meter_python.cpp:17: /build/tde-tdeutils/src/tdeutils/superkaramba/src/imagelabel.h:41:14: warning: declaration 'class TDEIO::CopyJob' does not declare anything [enabled by default] class TDEIO::CopyJob; ^ /build/tde-tdeutils/src/tdeutils/superkaramba/src/meter_python.cpp: In function 'TQString PyString2TQString(PyObject*)': /build/tde-tdeutils/src/tdeutils/superkaramba/src/meter_python.cpp:96:33: error: 'PyString_CheckExact' was not declared in this scope if (PyString_CheckExact(text)) ^ /build/tde-tdeutils/src/tdeutils/superkaramba/src/meter_python.cpp:98:41: error: 'PyString_AsString' was not declared in this scope char* t = PyString_AsString(text); ^ /build/tde-tdeutils/src/tdeutils/superkaramba/src/meter_python.cpp: In function 'PyObject* TQString2PyString(TQString)': /build/tde-tdeutils/src/tdeutils/superkaramba/src/meter_python.cpp:151:38: error: 'PyString_FromString' was not declared in this scope pyString = PyString_FromString(""); ^ superkaramba/src/CMakeFiles/superkaramba.dir/build.make:973: recipe for target 'superkaramba/src/CMakeFiles/superkaramba.dir/meter_python.cpp.o' failed
What scope should it be declared in? When building with autotools, I do not experience this failure.