[Digikam-users] Import issue on SVN version

Gandalf Lechner gandalf.lechner at univie.ac.at
Sun Jul 13 18:54:29 BST 2008


Hello Dotan,

I also had some trouble getting the digikam svn up and running on my Kubuntu 
Hardy (using KDE4 Beta2 packages). In the end, the following method was 
successful: I used precisely the same variable setting and command line 
options as Arnd wrote in his "private notes" email, with the only difference 
that instead of 

DIGIKAMKDE4=$HOME/NBB/SOFTWARE/DEV_digikam4

I used

DIGIKAMKDE4=/usr/lib/kde4

(I ran into problems with the former setting.) The marble related settings 
were probably unnecessary for me since I have marble in its default path; but 
they don't hurt either.

So maybe you want to give that a try as well? 

Good luck,
Gandalf

PS: I paste Arnd's notes here for reference:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Maybe the following private notes for my installation on a kubuntu
machine are  helpful (or maybe not ;-):
((No claim of completeness ...))

Needed stuff
------------

aptitude install kde4libs-bin kde4-devel
(there is surely more, depending on the packages which
are already isntalled ...)

Environment variables
=====================

# ### Modifiy according to your destination:
DIGIKAMKDE4=$HOME/NBB/SOFTWARE/DEV_digikam4
export PATH=/usr/lib/kde4/bin/:$PATH

export LANG=C
export KDEDIRS=$DIGIKAMKDE4:/usr/lib/kde4/
export LD_LIBRARY_PATH=$DIGIKAMKDE4/lib:$LD_LIBRARY_PATH
export LDPATH=$DIGIKAMKDE4/lib:$LDPATH
export PATH=$DIGIKAMKDE4/bin:$PATH
export PKG_CONFIG_PATH=$DIGIKAMKDE4/lib/pkgconfig

# ### Modify according to your place where marble is located:
export MARBLE_PATH=$HOME/NBB/SOFTWARE/Marble/
export LD_LIBRARY_PATH=$MARBLE_PATH/lib:$LD_LIBRARY_PATH
export LDPATH=$MARBLE_PATH/lib:$LDPATH
export PATH=$MARBLE_PATH/bin:$PATH
export PKG_CONFIG_PATH=$MARBLE_PATH/lib/pkgconfig:$DIGIKAMKDE4/lib/pkgconfig
export INCLUDE_DIR=$MARBLE_PATH/include:$INCLUDE_DIR

export CMAKE_INCLUDE_PATH=$MARBLE_PATH/include:$DIGIKAMKDE4/include
export CMAKE_LIBRARY_PATH=$MARBLE_PATH/lib:$DIGIKAMKDE4/lib


Checkout KDE4 version
=====================

- exiv2
  wget http://www.exiv2.org/exiv2-0.17.1.tar.gz
  tar xzf exiv2-0.17.1.tar.gz
  cd exiv2-0.17.1
  ./configure --prefix=$DIGIKAMKDE4
  make
  make install

- http://lensfun.berlios.de
  svn checkout svn://svn.berlios.de/lensfun/trunk
   ./configure --prefix=$DIGIKAMKDE4
   make install


- kdegraphics libs svn source for KDE4
  (includes libkipi, libkdcraw, libkexiv2, libksane) :

  svn co -N svn://anonsvn.kde.org/home/kde/trunk/KDE/kdegraphics
  cd kdegraphics
  svn up libs
  svn up cmake

- Checkout the latest digiKam and Kipi-plugins SVN source for KDE4:

  cd ..
  svn co -N svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics
  cd graphics
  svn up digikam
  svn up kipi-plugins
  svn up cmake

- Installation for KDE4 in your system (/opt/kde4)
  cd ..


To compile the source code under linux you have to give these commands
in the source code folders. You should use a seperate build folder to
help cleaning up sources if something goes wrong.

cd ~/NBB/INSTALL_SOFTWARE/DIGIKAM4/kdegraphics/
rm -rf build
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4 ../../kdegraphics
make
make install



Now for digikam itself:
-----------------------

cd ~/NBB/INSTALL_SOFTWARE/DIGIKAM4/graphics/
mkdir build
cd build
rm CMakeCache.txt
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4 ../../graphics
make
make install

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the Digikam-users mailing list