kdeedu-4.2.1 compile problems

lux-integ lux-integ at btconnect.com
Sun Apr 5 18:20:31 PDT 2009


Greetings,

I am trying to compile kdeedu-4.2.1.  All dependencies  (including 
Boost.Python, and libindi) are now found. The host is 64-bit Linux kernel 
2.6.27.7 gcc4.3.2).  I get the following error  (at 97% completion):-

###############################
[ 97%] Generating ui_configure_step_general.h
Scanning dependencies of target step
[ 97%] Building CXX object step/step/CMakeFiles/step.dir/step_automoc.o
c++: @CLN_CPPFLAGS@: No such file or directory
make[2]: *** [step/step/CMakeFiles/step.dir/step_automoc.o] Error 1
make[1]: *** [step/step/CMakeFiles/step.dir/all] Error 2
make: *** [all] Error 2

(I have cln-1.22 (for libqalculate) installed ).  I rebuilt automoc  and 
repeated   the build and obtained the same error.  I then also set 
CMAKE_INCLUDE_PATH=/usr/include/cln  (envar)  before the cmake command 
and -DSYSTEM_CMAKE_INCLUDE_PATH=/usr/include/cln  after the cmake  command 
and either attempts  made no difference.   I then decided to do more drastic 
stuff with CMakeLists.txt  (see below):-


##### if 'include_directories'  in CMakeLists.txt is edited to 
include /usr/include/cln  the compiler spews the  following: #############

[  1%] Building CXX object 
libkdeedu/keduvocdocument/CMakeFiles/keduvocdocument.dir/keduvocdocument.o
In file included from /opt/qt-4.5.0/include/QtCore/qbytearray.h:48,
                 from /opt/qt-4.5.0/include/QtCore/qstring.h:46,
                 from /opt/qt-4.5.0/include/QtCore/qdatetime.h:45,
                 from /opt/qt-4.5.0/include/QtCore/QDateTime:1,
                 
from /usr/src/build09/kde-4.2.1/kdeedu-4.2.1/libkdeedu/keduvocdocument/keduvoctext.h:18,
                 
from /usr/src/build09/kde-4.2.1/kdeedu-4.2.1/libkdeedu/keduvocdocument/keduvocconjugation.h:29,
                 
from /usr/src/build09/kde-4.2.1/kdeedu-4.2.1/libkdeedu/keduvocdocument/keduvocpersonalpronoun.h:19,
                 
from /usr/src/build09/kde-4.2.1/kdeedu-4.2.1/libkdeedu/keduvocdocument/keduvocidentifier.h:18,
                 
from /usr/src/build09/kde-4.2.1/kdeedu-4.2.1/libkdeedu/keduvocdocument/keduvocdocument.h:24,
                 
from /usr/src/build09/kde-4.2.1/kdeedu-4.2.1/libkdeedu/keduvocdocument/keduvocdocument.cpp:19:
/usr/include/cln/string.h: In static member function 'static void* 
cln::cl_heap_string::operator new(size_t)':
/usr/include/cln/string.h:21: error: exception handling disabled, 
use -fexceptions to enable
/usr/include/cln/string.h:21: warning: no return statement in function 
returning non-void
/usr/src/build09/kde-4.2.1/kdeedu-4.2.1/libkdeedu/keduvocdocument/keduvocdocument.cpp: 
In member function 'const KEduVocIdentifier& KEduVocDocument::identifier(int) 
const':
/usr/src/build09/kde-4.2.1/kdeedu-4.2.1/libkdeedu/keduvocdocument/keduvocdocument.cpp:651: 
warning: returning reference to temporary
make[2]: *** 
[libkdeedu/keduvocdocument/CMakeFiles/keduvocdocument.dir/keduvocdocument.o] 
Error 1
make[1]: *** [libkdeedu/keduvocdocument/CMakeFiles/keduvocdocument.dir/all] 
Error 2
make: *** [all] Error 2

#####################

help would be apreciated.


sincerely
lux-integ



More information about the blfs-support mailing list