[Digikam-users] Problem Installing DK 4.0

Gilles Caulier caulier.gilles at gmail.com
Sun May 25 21:57:10 BST 2014


Sound like g++ compiler is missing on your system. g++ is not gcc.
It's a compiler to build C++ code. gcc is to process C code only...

Gilles Caulier

2014-05-25 22:25 GMT+02:00 Mick Sulley <mick at sulley.info>:
> I am trying to install DK 4.0 using a link which I saw in a mail from Gilles
>
> https://projects.kde.org/projects/extragear/graphics/digikam/digikam-software-compilation/repository/revisions/master/entry/README.LOCAL
>
> I am installing on a virtual box running Mint 16 KDE and it fails with the
> following, can anyone suggest what I am doing wrong please?  I have googled
> it but haven't found anything that I understand :)
>
> Thanks
> Mick
>
> mick at VMint16KDE:~/digikam-software-compilation > ./bootstrap.local
> qmake: could not find a Qt installation of ''
> -- The C compiler identification is GNU 4.8.1
> -- The CXX compiler identification is unknown
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- broken
> CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61
> (message):
>   The C compiler "/usr/bin/cc" is not able to compile a simple test program.
>
>   It fails with the following output:
>
>    Change Dir:
> /home/mick/digikam-software-compilation/build/CMakeFiles/CMakeTmp
>
>
>
>   Run Build Command:/usr/bin/make "cmTryCompileExec3930585283/fast"
>
>   /usr/bin/make -f CMakeFiles/cmTryCompileExec3930585283.dir/build.make
>   CMakeFiles/cmTryCompileExec3930585283.dir/build
>
>   make[1]: Entering directory
> `/home/mick/digikam-software-compilation/build/CMakeFiles/CMakeTmp'
>
>   /usr/bin/cmake -E cmake_progress_report
> /home/mick/digikam-software-compilation/build/CMakeFiles/CMakeTmp/CMakeFiles
>   1
>
>   Building C object
> CMakeFiles/cmTryCompileExec3930585283.dir/testCCompiler.c.o
>
>   /usr/bin/cc -pedantic -Werror=return-type -o
>   CMakeFiles/cmTryCompileExec3930585283.dir/testCCompiler.c.o -c
> /home/mick/digikam-software-compilation/build/CMakeFiles/CMakeTmp/testCCompiler.c
>
>
>   Linking C executable cmTryCompileExec3930585283
>
>   /usr/bin/cmake -E cmake_link_script
>   CMakeFiles/cmTryCompileExec3930585283.dir/link.txt --verbose=1
>
>   /usr/bin/cc -pedantic -Werror=return-type
>   CMakeFiles/cmTryCompileExec3930585283.dir/testCCompiler.c.o -o
>   cmTryCompileExec3930585283 -rdynamic
>
>   /usr/bin/ld: cannot find crt1.o: No such file or directory
>
>   /usr/bin/ld: cannot find crti.o: No such file or directory
>
>   /usr/bin/ld: cannot find -lc
>
>   /usr/bin/ld: cannot find crtn.o: No such file or directory
>
>   collect2: error: ld returned 1 exit status
>
>   make[1]: Leaving directory
> `/home/mick/digikam-software-compilation/build/CMakeFiles/CMakeTmp'
>
>   make[1]: *** [cmTryCompileExec3930585283] Error 1
>
>   make: *** [cmTryCompileExec3930585283/fast] Error 2
>
>
>
>
>
>   CMake will not be able to correctly generate this project.
> Call Stack (most recent call first):
>   CMakeLists.txt:31 (PROJECT)
>
>
> CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.
> Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
> -- Configuring incomplete, errors occurred!
>
> _______________________________________________
> 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