[Digikam-users] How to build Digikam?

Dotan Cohen dotancohen at gmail.com
Tue Jul 8 22:57:51 BST 2008


2008/7/9 Arnd Baecker <arnd.baecker at web.de>:
> Hi Dotan,
>
> On Wed, 9 Jul 2008, Dotan Cohen wrote:
>
>> Sorry to be a pain, but I'm getting a warning with cmake and I cannot make:
>
> don't worry!
>
>> root at hardy-laptop:~/graphics/build# cmake -DCMAKE_BUILD_TYPE=debugfull
>> -DCMAKE_INSTALL_PREFIX=/opt/kde4 ../../graphics
>> -- The C compiler identification is GNU
>> -- The CXX compiler identification is GNU
>> -- Check for working C compiler: /usr/bin/gcc
>> -- Check for working C compiler: /usr/bin/gcc -- works
>> -- Detecting C compiler ABI info
>> -- Detecting C compiler ABI info - done
>> -- Check for working CXX compiler: /usr/bin/c++
>> -- Check for working CXX compiler: /usr/bin/c++ -- works
>> -- Detecting CXX compiler ABI info
>> -- Detecting CXX compiler ABI info - done
>> CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:35
>> (MESSAGE):
>>   ERROR: Could not find KDE4 kde4-config
>
> This is a case where `apt-file`  is handy:
>
>  apt-file search kde4-config
>  kde4libs-bin: /usr/lib/kde4/bin/kde4-config
>
> So you should installd `kde4libs-bin`
> If this is already installed, you might need to add:
>  export PATH=/usr/lib/kde4/bin/:$PATH
> so that this is found, because it is not in one of
> the usual */bin directories.
>
> HTH, best,
>

Thank you Arnd. It appears that kde4libs-bin is already installed. I
was not sure if the export should be added to make or to cmake, but
they both complained. It appears that cmake is now complaining about
missing directories. I assume that is because the path changed, but
I'm not sure how to work around this situation.

root at hardy-laptop:~/graphics/build# apt-get install kde4libs-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
kde4libs-bin is already the newest version.
kde4libs-bin set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
root at hardy-laptop:~/graphics/build# make export PATH=/usr/lib/kde4/bin/:$PATH
make: *** No rule to make target `export'.  Stop.
root at hardy-laptop:~/graphics/build# cmake -DCMAKE_BUILD_TYPE=debugfull
-DCMAKE_INSTALL_PREFIX=/opt/kde4 ../../graphics  export
PATH=/usr/lib/kde4/bin/:$PATH
CMake Error: The source directory
"/root/graphics/build/PATH=/usr/lib/kde4/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
root at hardy-laptop:~/graphics/build#



Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


More information about the Digikam-users mailing list