[Digikam-users] How to build Digikam?
Gandalf Lechner
gandalf.lechner at univie.ac.at
Tue Jul 8 22:43:08 BST 2008
Hi,
since you seem to be running kubuntu, I guess something like
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4 .
directly inside the graphics folder, omitting the extra build directory, or
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4
../../graphics
inside the build dir should be correct (under kubuntu, kde4 is installed in
/usr/lib/kde4). Unfortunately, I ran into the dependency problems mentioned in
the other mail, so I haven't compiled yet. Tomorrow I'll have to look into
setting LIBDIR and LD_LIBRARY_PATH correctly, as Mikolaj suggested.
Best,
Gandalf
On Tuesday 08 July 2008 23:29:11 Dotan Cohen wrote:
> Sorry to be a pain, but I'm getting a warning with cmake and I cannot make:
>
> 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
> Call Stack (most recent call first):
> CMakeLists.txt:9 (find_package)
>
>
> CMake Warning (dev) in CMakeLists.txt:
> No cmake_minimum_required command is present. A line of code such as
>
> cmake_minimum_required(VERSION 2.6)
>
> should be added at the top of the file. The version specified may be
> lower if you wish to support older CMake versions for this project. For
> more information run "cmake --help-policy CMP0000".
> This warning is for project developers. Use -Wno-dev to suppress it.
>
> -- Configuring done
> root at hardy-laptop:~/graphics/build# make
> make: *** No targets specified and no makefile found. Stop.
> root at hardy-laptop:~/graphics/build#
>
>
>
> I don't know where that makefile should be. Am I in the wrong place?
>
> 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?
> _______________________________________________
> 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