[Digikam-users] Compiling Digikam under Kubuntu 13.10

Gilles Caulier caulier.gilles at gmail.com
Thu Dec 26 22:33:09 GMT 2013


Do you installed Qt4 development package ? Qt5 is not yet supported by
digiKam. Only Qt4...

Gilles Caulier

2013/12/21 Pierre Lepage <lepp02 at videotron.ca>:
> 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/CMakeTmp »
>
> 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
>
>
>
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>



More information about the Digikam-users mailing list