Error compiling digikam-0.7.4

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Error compiling digikam-0.7.4

Martin Metz
Hello,

I'm new on this list and having trouble compiling the newest stable
version (0.7.4) of digikam.

My environment:
Intel based PC with SUSE Linux 9.1.

I installed all needed packages from the SUSE 9.1 DVD but libkipi and
libexif. From the digiKam homepage I downloaded "libkexif-0.2.2.tar.bz2"
and "libkipi-0.1.2.tar.bz2". I was able to compile and install this two
packages.
After this I wanted to compile digikam. "./configure" reported no
problems but "make" itself reported the following error:

...
make[4]: Entering directory
`/home/martin/app/digikam/digikam-0.7.4/digikam/digikam'
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++
-Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
-Wpointer-arith -Wno-non-virtual-dtor -O2 -Wformat-security
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE    -o digikam -R /opt/kde3/lib
-R /opt/kde3/lib -R /usr/lib/qt3/lib -R /usr/X11R6/lib -L/opt/kde3/lib
-L/usr/lib/qt3/lib -L/usr/X11R6/lib    -L/usr/lib -lImlib2 -lfreetype
-lm -ldl -lXext -lXext -lX11 -L/usr/X11R6/lib main.o -lqt-mt  -lz -lpng
-lz -lm -lXext -lX11  -lSM -lICE -lpthread -lkdecore -lkdeui  -lkio
-lkparts libdigikam.la
/opt/kde3/lib/libkipi.so: undefined reference to
`KIPI::ImageCollection::operator==(KIPI::ImageCollection const&) const'
/opt/kde3/lib/libkipi.so: undefined reference to
`KIPI::ImageCollection::operator=(KIPI::ImageCollection const&)'
collect2: ld returned 1 exit status
make[4]: *** [digikam] Error 1
make[4]: Leaving directory
`/home/martin/app/digikam/digikam-0.7.4/digikam/digikam'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/martin/app/digikam/digikam-0.7.4/digikam/digikam'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/martin/app/digikam/digikam-0.7.4/digikam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/martin/app/digikam/digikam-0.7.4'
make: *** [all] Error 2


/opt/kde3/lib/libkipi.so is a link to the new created library and
according to the source the "=" and "==" operators should be available.
Can anybody help me?

Thank you very much.

--
Greetings
Martin Metz
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling digikam-0.7.4

Martin Metz
Hello,

one week ago I wrote the question about the compile error (see below).
But I did not got any answer. Why this?
Am I writing to the wrong mailing list?
Did I miss any information?
Or can simply nobody help me with this problem?

Martin Metz schrieb:

> Hello,
>
> I'm new on this list and having trouble compiling the newest stable
> version (0.7.4) of digikam.
>
> My environment:
> Intel based PC with SUSE Linux 9.1.
>
> I installed all needed packages from the SUSE 9.1 DVD but libkipi and
> libexif. From the digiKam homepage I downloaded "libkexif-0.2.2.tar.bz2"
> and "libkipi-0.1.2.tar.bz2". I was able to compile and install this two
> packages.
> After this I wanted to compile digikam. "./configure" reported no
> problems but "make" itself reported the following error:
>
> ...
> make[4]: Entering directory
> `/home/martin/app/digikam/digikam-0.7.4/digikam/digikam'
> /bin/sh ../../libtool --silent --mode=link --tag=CXX g++
> -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
> -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
> -Wpointer-arith -Wno-non-virtual-dtor -O2 -Wformat-security
> -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE    -o digikam -R /opt/kde3/lib
> -R /opt/kde3/lib -R /usr/lib/qt3/lib -R /usr/X11R6/lib -L/opt/kde3/lib
> -L/usr/lib/qt3/lib -L/usr/X11R6/lib    -L/usr/lib -lImlib2 -lfreetype
> -lm -ldl -lXext -lXext -lX11 -L/usr/X11R6/lib main.o -lqt-mt  -lz -lpng
> -lz -lm -lXext -lX11  -lSM -lICE -lpthread -lkdecore -lkdeui  -lkio
> -lkparts libdigikam.la
> /opt/kde3/lib/libkipi.so: undefined reference to
> `KIPI::ImageCollection::operator==(KIPI::ImageCollection const&) const'
> /opt/kde3/lib/libkipi.so: undefined reference to
> `KIPI::ImageCollection::operator=(KIPI::ImageCollection const&)'
> collect2: ld returned 1 exit status
> make[4]: *** [digikam] Error 1
> make[4]: Leaving directory
> `/home/martin/app/digikam/digikam-0.7.4/digikam/digikam'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/home/martin/app/digikam/digikam-0.7.4/digikam/digikam'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/martin/app/digikam/digikam-0.7.4/digikam'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/martin/app/digikam/digikam-0.7.4'
> make: *** [all] Error 2
>
>
> /opt/kde3/lib/libkipi.so is a link to the new created library and
> according to the source the "=" and "==" operators should be available.
> Can anybody help me?
>
> Thank you very much.
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling digikam-0.7.4

Gerhard Kulzer
Are the kipis installed in the correct path? Did you configure kipi-plugins
with --prefix=/opt, do kipi-plugins work with other applications?

Am Samstag, 12. November 2005 11.35 schrieb Martin Metz:

> Hello,
>
> one week ago I wrote the question about the compile error (see below).
> But I did not got any answer. Why this?
> Am I writing to the wrong mailing list?
> Did I miss any information?
> Or can simply nobody help me with this problem?
>
> Martin Metz schrieb:
> > Hello,
> >
> > I'm new on this list and having trouble compiling the newest stable
> > version (0.7.4) of digikam.
> >
> > My environment:
> > Intel based PC with SUSE Linux 9.1.
> >
> > I installed all needed packages from the SUSE 9.1 DVD but libkipi and
> > libexif. From the digiKam homepage I downloaded "libkexif-0.2.2.tar.bz2"
> > and "libkipi-0.1.2.tar.bz2". I was able to compile and install this two
> > packages.
> > After this I wanted to compile digikam. "./configure" reported no
> > problems but "make" itself reported the following error:
> >
> > ...
> > make[4]: Entering directory
> > `/home/martin/app/digikam/digikam-0.7.4/digikam/digikam'
> > /bin/sh ../../libtool --silent --mode=link --tag=CXX g++
> > -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
> > -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
> > -Wpointer-arith -Wno-non-virtual-dtor -O2 -Wformat-security
> > -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
> > -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> > -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE    -o digikam -R /opt/kde3/lib
> > -R /opt/kde3/lib -R /usr/lib/qt3/lib -R /usr/X11R6/lib -L/opt/kde3/lib
> > -L/usr/lib/qt3/lib -L/usr/X11R6/lib    -L/usr/lib -lImlib2 -lfreetype
> > -lm -ldl -lXext -lXext -lX11 -L/usr/X11R6/lib main.o -lqt-mt  -lz -lpng
> > -lz -lm -lXext -lX11  -lSM -lICE -lpthread -lkdecore -lkdeui  -lkio
> > -lkparts libdigikam.la
> > /opt/kde3/lib/libkipi.so: undefined reference to
> > `KIPI::ImageCollection::operator==(KIPI::ImageCollection const&) const'
> > /opt/kde3/lib/libkipi.so: undefined reference to
> > `KIPI::ImageCollection::operator=(KIPI::ImageCollection const&)'
> > collect2: ld returned 1 exit status
> > make[4]: *** [digikam] Error 1
> > make[4]: Leaving directory
> > `/home/martin/app/digikam/digikam-0.7.4/digikam/digikam'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory
> > `/home/martin/app/digikam/digikam-0.7.4/digikam/digikam'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory
> > `/home/martin/app/digikam/digikam-0.7.4/digikam' make[1]: ***
> > [all-recursive] Error 1
> > make[1]: Leaving directory `/home/martin/app/digikam/digikam-0.7.4'
> > make: *** [all] Error 2
> >
> >
> > /opt/kde3/lib/libkipi.so is a link to the new created library and
> > according to the source the "=" and "==" operators should be available.
> > Can anybody help me?
> >
> > Thank you very much.
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling digikam-0.7.4

Martin Metz
Gerhard Kulzer schrieb:
> Are the kipis installed in the correct path? Did you configure kipi-plugins
> with --prefix=/opt, do kipi-plugins work with other applications?

Thanks for the fast answer.
Unit now I used libkipi, not kipi-plugins.
I just tried once again with:

export WANT_AUTOCONF_2_5=1
export KDEDIR=/opt/kde3
make -f Makefile.cvs
./configure --enable-debug=full
make
make install

first for libkipi-0.1.2, second for digikam-0.7.4. But I got the same
error message.

The reason for compiling libkipi was the wish to compile the new version
of DigiKam. What's kipi-plugins for? and what's the difference between
libkipi and kipi-plugins? I haven't found any information within the
homepage.
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling digikam-0.7.4

Bugzilla from memelink.akker@planet.nl
In reply to this post by Martin Metz
Hello Martin, Gerhard,

I got the same error messages compiling libkipi 0.1.2 on SuSE 9.2.
Renchi Raju (one of the Digikam developers) thinks it might be a broken
compiler or linker, but I haven't been able to verify this.

Luckily SuSE came to my rescue. They provide pre-compiled packages for
9.2. I had a look for you, and they also provide them for 9.1:

ftp.suse.com/pub/suse/i386/supplementary/KDE/update_for_9.1/applications/libkipi-0.1.2-3.i586.rpm
<http://rpm.pbone.net/index.php3/stat/4/idpl/2251317/com/libkipi-0.1.2-3.i586.rpm.html>
ftp.suse.com/pub/suse/i386/supplementary/KDE/update_for_9.1/development/libkipi-devel-0.1.2-3.i586.rpm
<http://rpm.pbone.net/index.php3/stat/4/idpl/2251342/com/libkipi-devel-0.1.2-3.i586.rpm.html>
ftp.suse.com/pub/suse/i386/supplementary/KDE/update_for_9.1/applications/libkexif-0.2.2-3.i586.rpm
<http://rpm.pbone.net/index.php3/stat/4/idpl/2251316/com/libkexif-0.2.2-3.i586.rpm.html>

This solved the problem for me (saves me the trouble of compiling and
linking myself). After that, compiling digikam and the kipi plugins
themselves worked on my system. I am happily using digikam 0.8.0-rc
since yesterday!

Hope it helps,

Stephan van den Akker

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling digikam-0.7.4

Martin Metz
Hello Stephan,

thank you very much for the very detailed and interesting description
and your effort. I will test as soon as I have time for (currently some
other tasks are higher priority).
I will resport my results here.
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users