No subject


Wed Apr 17 13:17:15 BST 2019


(This should lead you to:
http://sourceforge.net/project/showfiles.php?group_id=149779
)

Set some of the paths
=====================

export DST=/tmp/INSTDIGIKAM_RC1/
export KDEDIRS=$DST:/usr
export LD_LIBRARY_PATH=$DST/lib:$LD_LIBRARY_PATH
export LDPATH=$DST/lib:$LDPATH
mkdir $DST


Compile and install
===================


All the stuff ahead
-------------------

tar xzf exiv2-0.11.tar.gz
cd exiv2-0.11
./configure --prefix=$DST
make
make install
cd ..



tar xjf libkexif-0.2.5.tar.bz2
tar xjf libkipi-0.1.4.tar.bz2
tar xjf kipi-plugins-0.1.2.tar.bz2


cd libkexif-0.2.5
./configure --prefix=$DST
make
make install
cd ..

cd libkipi-0.1.4
./configure --prefix=$DST
make
make install
cd ..

cd kipi-plugins-0.1.2
./configure --prefix=$DST
make
make install
cd ..



And now digikam
---------------

tar xjf digikam-0.9.0-rc1.tar.bz2
tar xjf digikamimageplugins-0.9.0-rc1.tar.bz2


cd digikam-0.9.0-rc1
./configure --prefix=$DST --with-extra-includes=$DST/include
--with-extra-libs=$DST/lib

-- digiKam configure results -------------------
-- sqlite3 found.................. YES
-- libgphoto2 found............... YES
-- libkipi found.................. YES
-- libtiff found.................. YES
-- libpng found................... YES
-- lcms found..................... YES
-- Exiv2 library found............ YES
------------------------------------------------

make
make install
cd ..

cd digikamimageplugins-0.9.0-rc1
./configure --prefix=$DST --with-extra-includes=$DST/include
--with-extra-libs=$DST/lib
make
make install
cd ..


To test
-------

export PATH=$DST/bin:$PATH
rehash
which digikam
digikam




Problem with htmlexport:
========================

Remark: You're missing libxslt. The htmlexport plugin will not be
compiled.
# This can be avoided by installing  libxslt/libxslt-dev
# I.e. on my debian box:  aptitude  install libxslt1-dev
# But then I get:

make[4]: Entering directory
`/tmp/TSTDIGIKAM_RC1/kipi-plugins-0.1.2/kipi-plugins/htmlexport'
rm -rf themepage.h;
/usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload
./themepage.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g;
s,#include <qwizard.h>,#include <kwizard.h>,g" >> themepage.h ;
rm -rf imagesettingspage.h;
/usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload
./imagesettingspage.ui | /usr/bin/perl -pi -e "s,public QWizard,public
KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >>
imagesettingspage.h ;
rm -rf outputpage.h;
/usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload
./outputpage.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g;
s,#include <qwizard.h>,#include <kwizard.h>,g" >> outputpage.h ;
/usr/bin/kconfig_compiler ./htmlexportconfig.kcfg
./htmlexportconfig.kcfgc; ret=$?; \
if test "$ret" != 0; then rm -f htmlexportconfig.h ; exit $ret ;  fi
/usr/share/qt3/bin/moc ./generator.h -o generator.moc
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. -I. -I../.. -I/tmp/INSTDIGIKAM_RC1/include
-I/usr/include/kde -I/usr/share/qt3/include -I/usr/X11R6/include
-I/usr/include/libxml2  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long
-Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT generator.lo -MD -MP
-MF ".deps/generator.Tpo" -c -o generator.lo generator.cpp; \
then mv -f ".deps/generator.Tpo" ".deps/generator.Plo"; else rm -f
".deps/generator.Tpo"; exit 1; fi
In file included from generator.cpp:40:
/tmp/INSTDIGIKAM_RC1/include/libkipi/batchprogressdialog.h:76: warning: `
   visibility' attribute does not apply to types
In file included from generator.cpp:41:
/tmp/INSTDIGIKAM_RC1/include/libkipi/imageinfo.h:78: warning: `visibility'
   attribute does not apply to types
In file included from /tmp/INSTDIGIKAM_RC1/include/libkipi/interface.h:38,
                 from generator.cpp:42:
/tmp/INSTDIGIKAM_RC1/include/libkipi/imagecollection.h:72: warning:
`visibility
   ' attribute does not apply to types
In file included from generator.cpp:42:
/tmp/INSTDIGIKAM_RC1/include/libkipi/interface.h:90: warning: `visibility'
   attribute does not apply to types
generator.cpp: In member function `bool
   KIPIHTMLExport::Generator::Private::generateImagesAndXML()':
generator.cpp:208: error: aggregate `QImage image' has incomplete type and
   cannot be defined
generator.cpp:228: error: incomplete type `QImage' does not have member `
   ScaleMin'
generator.cpp:248: error: variable `QImage thumbnail' has initializer but
   incomplete type
generator.cpp:248: error: incomplete type `QImage' does not have member `
   ScaleMax'
generator.cpp:261: error: invalid use of undefined type `struct QImage'
/usr/share/qt3/include/qwindowdefs.h:74: error: forward declaration of
`struct
   QImage'
make[4]: *** [generator.lo] Error 1
make[4]: Leaving directory
`/tmp/TSTDIGIKAM_RC1/kipi-plugins-0.1.2/kipi-plugins/htmlexport'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/tmp/TSTDIGIKAM_RC1/kipi-plugins-0.1.2/kipi-plugins/htmlexport'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/tmp/TSTDIGIKAM_RC1/kipi-plugins-0.1.2/kipi-plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/TSTDIGIKAM_RC1/kipi-plugins-0.1.2'
ma


Solution:
cd kipi-plugins
emacs Makefile
-->  compile_HTMLEXPORT_FALSE =    # weg
# and delete htmlexport  from list of targets ..



More information about the Digikam-devel mailing list