This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] KDE 4.2 kdegraphics (and others) not compiling

Tags: None
(comma "," separated)
maler
Registered Member
Posts
6
Karma
0
Hello,

I am running slamd64 12.1 on my laptop and get error messages when I try to compile kdegraphics, kdegames and kdenetwork, here the output from kdegraphics:

Code: Select all
> make
[...]
Linking CXX shared module ../../../lib/okularGenerator_xps.so                                                             
[ 85%] Building CXX object kolourpaint/CMakeFiles/kolourpaint.dir/tools/selection/text/kpToolText_InputMethodEvents.o     
[ 85%] Built target okularGenerator_xps                                                                                   
[ 85%] Building CXX object kolourpaint/CMakeFiles/kolourpaint.dir/tools/selection/text/kpToolText_KeyboardEvents.o       
[ 85%] Building CXX object kolourpaint/CMakeFiles/kolourpaint.dir/tools/selection/text/kpToolText_KeyboardEvents_HandleArrowKeys.o                                                                                                                 
Scanning dependencies of target okularGenerator_ooo                                                                       
[ 85%] Building CXX object okular/generators/ooo/CMakeFiles/okularGenerator_ooo.dir/okularGenerator_ooo_automoc.o         
[ 85%] Building CXX object okular/generators/ooo/CMakeFiles/okularGenerator_ooo.dir/converter.o                           
In file included from /usr/local/src/kde-4.2.0/kdegraphics-4.2.0/okular/generators/ooo/document.h:17,                     
                 from /usr/local/src/kde-4.2.0/kdegraphics-4.2.0/okular/generators/ooo/converter.cpp:29:                 
/usr/local/src/kde-4.2.0/kdegraphics-4.2.0/okular/generators/ooo/manifest.h:18:20: error: QtCrypto: No such file or directory                                                                                                                       
[ 85%] Building CXX object kolourpaint/CMakeFiles/kolourpaint.dir/tools/selection/text/kpToolText_KeyboardEvents_HandleTypingKeys.o                                                                                                                 
In file included from /usr/local/src/kde-4.2.0/kdegraphics-4.2.0/okular/generators/ooo/document.h:17,                     
                 from /usr/local/src/kde-4.2.0/kdegraphics-4.2.0/okular/generators/ooo/converter.cpp:29:                 
/usr/local/src/kde-4.2.0/kdegraphics-4.2.0/okular/generators/ooo/manifest.h:252: error: 'QCA' has not been declared       
/usr/local/src/kde-4.2.0/kdegraphics-4.2.0/okular/generators/ooo/manifest.h:252: error: ISO C++ forbids declaration of 'Initializer' with no type                                                                                                   
/usr/local/src/kde-4.2.0/kdegraphics-4.2.0/okular/generators/ooo/manifest.h:252: error: expected ';' before 'm_init'     
make[2]: *** [okular/generators/ooo/CMakeFiles/okularGenerator_ooo.dir/converter.o] Error 1                               
make[1]: *** [okular/generators/ooo/CMakeFiles/okularGenerator_ooo.dir/all] Error 2                                       
[ 85%] make[1]: *** Waiting for unfinished jobs....                                                                       
Building CXX object kolourpaint/CMakeFiles/kolourpaint.dir/tools/selection/text/kpToolText_Move.o                         
[ 86%] Building CXX object kolourpaint/CMakeFiles/kolourpaint.dir/tools/selection/text/kpToolText_ResizeScale.o           
[ 86%] Building CXX object kolourpaint/CMakeFiles/kolourpaint.dir/tools/selection/text/kpToolText_SelectText.o           
[ 86%] Building CXX object kolourpaint/CMakeFiles/kolourpaint.dir/tools/selection/text/kpToolText_TextStyle.o             
[ 86%] Building CXX object kolourpaint/CMakeFiles/kolourpaint.dir/views/kpThumbnailView.o                                 
[ 86%] Building CXX object kolourpaint/CMakeFiles/kolourpaint.dir/views/kpUnzoomedThumbnailView.o             
[...]
[ 94%] Building CXX object kolourpaint/CMakeFiles/kolourpaint.dir/widgets/toolbars/options/kpToolWidgetLineWidth.o
[ 94%] Building CXX object kolourpaint/CMakeFiles/kolourpaint.dir/widgets/toolbars/options/kpToolWidgetOpaqueOrTransparent.o
[ 94%] Building CXX object kolourpaint/CMakeFiles/kolourpaint.dir/widgets/toolbars/options/kpToolWidgetSpraycanSize.o
Linking CXX executable kolourpaint
[ 94%] Built target kolourpaint
make: *** [all] Error 2
>


I first thought it was because of the qt I was using, I didn't recompile from the 4.1 version, but after recompiling the whole thing its still the same.

The rest of kde 4.2 is working fine.

thx
User avatar
ivan
KDE Developer
Posts
918
Karma
14
OS
It appears thet you dont have development files for libqca installed.


Image
maler
Registered Member
Posts
6
Karma
0
Yes, that was it. Just removed everything with qca in name that came with the distro and compiled qca2 myself, thank you...


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]