[Digikam-devel] Please help building digikam4

Gilles Caulier caulier.gilles at gmail.com
Mon Oct 13 07:57:34 BST 2008


Forget to said that here, under Mandriva 2008.1, i have installed digiKam
for KDE3 (/usr) and digiKam for KDE4 (/opt) without problems...

Gilles Caulier

2008/10/13 Gilles Caulier <caulier.gilles at gmail.com>

> Are you removed CMakeCache.txt file on root build directory where source
> are located ?
>
> Are you tried to use on of my bootstrap script located in project subfolder
> ?
>
> Gilles Caulier
>
> 2008/10/13 Geoff King <gsking1 at gmail.com>
>
> I've been wanting to try digikam4 while still leaving digikam3
>> installed systemwide and have run into the following problem. .
>>
>> Every time it configures, it finds kexiv2, libkipi and kdcraw in the
>> system locations and not the locally built version (
>> /home/gsking/programs/src/svn/digikam4/build/lib) where it should.
>> For example see below... (kexiv2, libkipi and kdcraw found in
>> /usr/lib/, but libksane found locally where it should be).
>>
>> --
>> -- Found Kexiv2 library in cache: /usr/lib/libkexiv2.so
>> -- Found Kdcraw library in cache: /usr/lib/libkdcraw.so
>> -- Found Kipi library in cache: /usr/lib/libkipi.so
>> -- Found JPEG: /usr/lib/libjpeg.so
>> -- Found PNG: /usr/lib/libpng.so
>> -- Found Sane: /usr/include
>> -- Found EXPAT: /usr/lib/libexpat.so
>> -- Found LibXml2: /usr/lib/libxml2.so
>> -- Found LibXslt: /usr/lib/libxslt.so
>> -- Found X11: /usr/lib/libX11.so
>> -- Found libksane:
>> /home/gsking/programs/src/svn/digikam4/build/lib/libksane.so
>> --
>>
>>
>> I'm using the following  script to build it (some of which might be
>> unnecessary, but it works on another machine)
>> ==========
>> DIGIKAMKDE4=$HOME/programs/src/svn/digikam4/build
>> export DBUSDIR=$DIGIKAMKDE4:/usr/lib/kde4
>> export KDEDIR=$DIGIKAMKDE4:/usr/lib/kde4
>> export KDEDIRS=$DIGIKAMKDE4:/usr/lib/kde4
>> export KDEHOME=$HOME/.kde4
>> export KDETMP=$HOME/tmp/gsking-kde4
>> export
>> LD_LIBRARY_PATH=$DIGIKAMKDE4/lib:/usr/lib/kde4:/usr/lib/kde4/lib:/usr/local/lib
>> export LDPATH=$DIGIKAMKDE4/lib
>> export LIBDIR=$DIGIKAMKDE4/lib:/usr/lib/kde4/lib
>> export QTDIR=/usr/lib/qt4
>> export QT_PLUGIN_PATH=/usr/lib/kde4/lib/kde4/plugins
>> export
>> PKG_CONFIG_PATH=$DIGIKAMKDE4/lib/pkgconfig:/usr/lib/kde4/lib/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig
>> export PATH=$DIGIKAMKDE4/bin:/usr/share/qt4/bin:/usr/lib/kde4/bin:$PATH
>> export LDFLAGS=-Wl,-rpath,/home/gsking/programs/src/svn/digikam4/build/lib
>>
>> cd ~/programs/src/svn/digikam4/graphics
>> svn up digikam
>> svn up kipi-plugins
>> svn up cmake
>>
>> rm -rf build
>> mkdir build
>> cd build
>> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4
>> ../../graphics
>> make
>> make install
>> ==========
>>
>> This on Ubuntu 8.04. Digikam3 is running perfectly and I want to keep
>> it that way so don't want to uninstall anything.
>>
>> Thanks for any suggestions. Geoff
>> _______________________________________________
>> Digikam-devel mailing list
>> Digikam-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/digikam-devel
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20081013/8de04a7a/attachment.html>


More information about the Digikam-devel mailing list