[Digikam-users] How to build Digikam?

Arnd Baecker arnd.baecker at web.de
Sat Jul 12 13:36:20 BST 2008


On Sat, 12 Jul 2008, Dotan Cohen wrote:

[...]

> Thanks, Arnd, I'm learning. I have tons of bash questions that I'll
> post to the unix.com forums soon. In the meantime, I've changed the
> script to this:

[...]


> #rm -rf build && \
> #mkdir build && \
> #cd build && \
> # next two lines added as per irc conversation:
> mkdir -p /home/hardy/digikam-notes/exiv2-0.17.1/kdegraphics/build && \
> cd /home/hardy/digikam-notes/exiv2-0.17.1/kdegraphics/build && \

Actually, I think it would be much nicer, if you had some
cd ..
at some before in the script so that
kdegraphics and graphics are below /home/hardy/digikam-notes/
(and not one below exiv2 ....).

> # next line I modified
> echo "--to compile soure--cmake" && \
> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4
> ../../kdegraphics && \
> echo "--to compile soure--make" && \
> make && \
> echo "--to compile soure--make install" && \
> sudo make install && \
>
>
>
> #Now for digikam itself:
>
> echo "--digikam--" && \
>
> #cd ~/NBB/INSTALL_SOFTWARE/DIGIKAM4/graphics/ && \
> #mkdir build && \
> #cd build && \
> #rm CMakeCache.txt && \
> # next two lines added as per irc conversation:
> mkdir -p /home/hardy/digikam-notes/exiv2-0.17.1/graphics/build && \
> cd /home/hardy/digikam-notes/exiv2-0.17.1/graphics/build && \
> echo "--digikam--cmake" && \
> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4 && \
> ../../graphics && \

This should be one line reading:
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4  \
../../graphics &&

I.e., no && before the ../../graphics

[...]

> Now, I get through the compile source cmake, but it dies on make due
> to the lack of CMakeLists.txt. Here is the end of the output of the
> "make" command:
>
> -- Installing: /home/hardy/digikam-notes/DEV_digikam4/include/libkexiv2/kexiv2.h
> -- Installing: /home/hardy/digikam-notes/DEV_digikam4/include/libkexiv2/libkexiv2_export.h
> -- Installing: /home/hardy/digikam-notes/DEV_digikam4/include/libkexiv2/version.h
> --digikam--
> --digikam--cmake
> CMake Error: The source directory
> "/home/hardy/digikam-notes/exiv2-0.17.1/graphics/build" does not
> appear to contain CMakeLists.txt.
> Specify --help for usage, or press the help button on the CMake GUI.
>
>
>
> Should I post the whole output?

Let's first see if the above works ...

> I really appreciate the assistance.

You are welcome!

Best, Arnd



More information about the Digikam-users mailing list