[Digikam-users] FINAL? UPDATE 03: !!!!!!!!!!!!!!!!! B U I L D I N G D I G I K A M F O R D U M M I E S !!!!!!!!!!!!!!!! on Ubuntu

Michael G. Hansen mike at mghansen.de
Wed Aug 24 19:42:04 BST 2011

On 08/24/2011 07:13 PM, sleepless wrote:
>  Most likely it will complain about missing stuff. like
> libkexiv2-dev, libkipi-dev, libkdcraw-dev, etc.
> Try to install it from synaptic or in any other way and
> retry cmake untill succesful.

You can do a "sudo apt-get build-dep digikam kipi-plugins" to get some 
of the dependencies installed in one step. This will install all the 
dependencies for building the version of digikam and kipi-plugins which 
is in the ubuntu repository, that's why some packages may still have to 
be installed for newer versions, but it should give you a good starting 

> If all went successful
> now run:
> make

If you have a dual-core computer, you can run "make -j 2" to have "make" 
use two processes at once to speed things up and take full advantage of 
your multi-core system. If you have more cores, simply change "2" to the 
number of cores. I normally use a number twice as high as the number of 
cores, to account for delay due to disk access. Note that if you 
encounter a build failure, error messages may be out-of-order on the 
screen, re-run "make" without "-j" to get well-readable output of the 
error messages.

>  if done run:
> sudo make install

To un-install, run: "sudo make uninstall"

To make un-installation easier, especially if you delete the build 
directory in between, use checkinstall (sudo apt-get install checkinstall):

sudo checkinstall --pkgname=my-digkam make install

This will create a .deb package containing your self-built digikam, 
which you can uninstall using "sudo apt-get remove my-digikam". Another 
advantage is that you can keep several versions of compiled digikam in 
packages, in case you encounter a problem with a newer build.

Best regards,


More information about the Digikam-users mailing list