[Digikam-users] Compiling Digikam under Kubuntu 13.10
Pierre Lepage
lepp02 at videotron.ca
Sat Dec 21 13:50:41 GMT 2013
Hi,
I bugs on compiling digikam under Kubuntu 13.10. The compilation produces an
error in step "bash bootstrap.linux".
The error seems to come from a confusion between QT4 and QT5 on my system.
How to solve the problem? Do you have a possible solution?
Here is the output of the compilation.
----------------------------------------------------------------------------------------------
---------------------
In file included from /usr/include/qt5/QtCore/QtGlobal:1:0, from
/home/pierre/Documents/Programmes/digikam-3.5.0/build/CMakeTmp/check_qt_
application.cpp:1:
/usr/include/qt5/QtCore/qglobal.h:1079:4: error: #error "You must build your code
with position independent code if Qt was built with -reduce-relocations. " "Compile
your code with -fPIC or -fPIE."
# error "You must build your code with position independent code if Qt was built
with -reduce-relocations. "\
^
make[1]: ***
[CMakeFiles/cmTryCompileExec771148750.dir/check_qt_application.cpp.o] Erreur 1
make[1]: quittant le répertoire «
/home/pierre/Documents/Programmes/digikam-3.5.0/build/CMakeFiles/CMakeTm
p »
make: *** [cmTryCompileExec771148750/fast] Erreur 2
CMake Error at
/usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:1311 (message):
Unable to compile a basic Qt application. Qt has not been found correctly.
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (find_package)
CMakeLists.txt:33 (FIND_PACKAGE)
----------------------------------------------------------------------------------------------
-----------------
Thanks
Pierre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20131221/50546aa3/attachment.html>
More information about the Digikam-users
mailing list