[Digikam-users] Problem Installing DK 4.0

Mick Sulley mick at sulley.info
Mon May 26 00:54:57 BST 2014


Thanks Gilles

I added g++ and it looks better, but it still fails so I guess I am 
missing something else.  The output now is


mick at VMint16KDE:~/digikam-software-compilation > ./bootstrap.local
-- Found Qt-Version 4.8.4 (using /usr/bin/qmake)
-- Found KDE 4.11 include dir: /usr/include
-- Found KDE 4.11 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- /home/mick/digikam-software-compilation/po/ dir do not exists. 
Translations compilation disabled...
-- You can use DIGIKAMSC_CHECKOUT_PO option to extract po files from KDE 
repositories.
-- Local kdegraphics libraries will be compiled... YES
-- Handbooks will be compiled..................... YES
-- Extract translations files..................... NO
-- Translations will be compiled.................. NO
CMake Error at extra/CMakeLists.txt:30 (ADD_SUBDIRECTORY):
   add_subdirectory given source "libkipi" which is not an existing 
directory.


CMake Error at extra/CMakeLists.txt:31 (ADD_SUBDIRECTORY):
   add_subdirectory given source "libkexiv2" which is not an existing
   directory.


CMake Error at extra/CMakeLists.txt:32 (ADD_SUBDIRECTORY):
   add_subdirectory given source "libkdcraw" which is not an existing
   directory.


CMake Error at extra/CMakeLists.txt:38 (ADD_SUBDIRECTORY):
   add_subdirectory given source "libkgeomap" which is not an existing
   directory.


CMake Error at extra/CMakeLists.txt:39 (ADD_SUBDIRECTORY):
   add_subdirectory given source "libkface" which is not an existing
   directory.


CMake Error at extra/CMakeLists.txt:40 (ADD_SUBDIRECTORY):
   add_subdirectory given source "kipi-plugins" which is not an existing
   directory.


CMake Error at CMakeLists.txt:155 (ADD_SUBDIRECTORY):
   add_subdirectory given source "core" which is not an existing directory.


-- Configuring incomplete, errors occurred!
mick at VMint16KDE:~/digikam-software-compilation >



On 25/05/14 21:57, Gilles Caulier wrote:
> 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
> _______________________________________________
> 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