[Kde-imaging] New libkipi 0.1.4

Michael J Gruber michaeljgruber+kde-imaging at fastmail.fm
Tue May 16 18:46:40 CEST 2006


Angelo Naselli venit, vidit, dixit 2006-05-16 17:51:
> Alle 17:05, martedì 16 maggio 2006, Michael J Gruber ha scritto:
...
>> libkipi compiles nicely on SuSe 9.3. kipi-plugins (0.1.0-rc2) needs an
>> ugly patch to libtool, but that's a different story. I tested libkipi
>> with KPhotoalbum 2.2.
> Well I like the different stories :)
> Which is exactly your problem with kipi-plugins? Your problem may be 
> a problem of others.

OK ;) The problem appears only at my work machine which is on Suse 9.3
(not my choice) and where I don't have root privileges. Many devel
packages are not installed, even though the libs are (e.g., jpeg and
such). I configure kipi-plugins with

./configure --prefix=$HOME --with-extra-libs=$HOME/lib
--with-extra-includes=$HOME/include

and have LD_LIBRARY_PATH set accordingly. make fails in galleryexport with

/bin/sh ../../libtool --silent --tag=CXX --mode=link g++  -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    -o
kipiplugin_galleryexport.la -rpath /HOME1/users/personal/mjg/lib/kde3
-module -avoid-version -module -no-undefined -Wl,--no-undefined
-Wl,--allow-shlib-undefined -R /HOME1/users/personal/mjg/lib -R
/opt/kde3/lib -R /usr/lib/qt3/lib -R /usr/X11R6/lib -R
/HOME1/users/personal/mjg/lib  -L/opt/kde3/lib -L/usr/lib/qt3/lib
-L/usr/X11R6/lib    -L/HOME1/users/personal/mjg/lib
plugin_galleryexport.lo gallerywindow.lo gallerylogin.lo
gallerytalker.lo gallerywidget.lo gallerympform.lo galleryviewitem.lo
galleryalbumdialog.lo -lkparts -L/HOME1/users/personal/mjg/lib -lkipi
-lkhtml
grep: /usr/lib/libjpeg.la: No such file or directory
/bin/sed: can't read /usr/lib/libjpeg.la: No such file or directory
libtool: link: `/usr/lib/libjpeg.la' is not a valid libtool archive
make[3]: *** [kipiplugin_galleryexport.la] Fehler 1

Fixing the libjpeg thing leaves you with a libgcrypt error, fixing that
with a libgpg-error.la. I seem to remember that with rc1, only libjpeg
gave trouble, the other two appeared with rc2.

I'm attaching a fix for libtool which does the job for me, although it
is very ugly. I don't know where libtool gets the wrong dependency_libs
from, and why it inserts absolute paths to nonexisting libs. Might be a
Suse thing.

Hope this story was different enough ;)

Cheers,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libtool.diff
Type: text/x-patch
Size: 567 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-imaging/attachments/20060516/9053ea05/attachment.bin 


More information about the Kde-imaging mailing list