Compiling Digikam under Kubuntu 13.10

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Compiling Digikam under Kubuntu 13.10

Pierre Lepage

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
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Compiling Digikam under Kubuntu 13.10

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

Gilles Caulier

2013/12/21 Pierre Lepage <[hidden email]>:

> 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
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users