------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=147957         
           Summary: link error with gtklib 1.2.10-961 along with new 2.12.11
                    GNOME release
           Product: kopete
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kopete-devel kde org
        ReportedBy: gilles.sabourin free fr


Version:           0.12.6 (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc version 4.1.2 20061115 (prerelease) (SUSE Linux) 
OS:                Linux

Late july, 14th, a big GNOME update has come on openSUSE 10.2 repository.

I could see quickly that GNOME (glib) libraries have been deeply reorganized : 
glib 1.2 and glib 2.0 includes are now completely separates  (no more default 
includes like include/glib/glib.h) and many libraries like glib, gthreads, gtk+ 
... have moved from /opt/gnome/lib to /usr/lib;

As a consequence, /opt/gnome/lib search path is no more valid for gtk+ library.

I have previously deleted kdenetwork directory and get back sources with a 
checkout command from svn kopete repository to be clean. Next, I have followed 
generation instructions from kopete website.

Here's the backtraces :

------------------------------------------
Making all in nowlistening
make[4]: entrant dans le répertoire « 
/home/gilles/kdenetwork/kopete/plugins/nowlistening »
/bin/sh ../../../libtool --silent --tag=CXX --mode=link g++  -Wno-long-long 
-Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts 
-Wall -W -Wpointer-arith -fno-builtin -g -O2 -fno-schedule-insns -fno-inline 
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor 
-fno-reorder-blocks -fno-exceptions -fno-check-new -fno-common 
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION    -o kopete_nowlistening.la -rpath /opt/kde3/lib/kde3 
-module -avoid-version -module -no-undefined -Wl,--no-undefined 
-Wl,--allow-shlib-undefined -R /opt/kde3/lib -R /opt/kde3/lib -R 
/usr/lib/qt3/lib  -rdynamic -L/opt/kde3/lib -L/usr/lib/qt3/lib     
nowlisteningplugin.lo nlkscd.lo nlnoatun.lo nlxmms.lo nowlisteningguiclient.lo 
nljuk.lo nlamarok.lo nlkaffeine.lo nowlisteningconfig.lo 
../../libkopete/libkopete.la -L/usr/lib -lgtk -lgdk -lgmodule -lglib -ldl -lXi 
-lXext -lX11 -lm -lxmms
grep: /opt/gnome/lib/libgtk.la: No such file or directory
/usr/bin/sed: can't read /opt/gnome/lib/libgtk.la: No such file or directory
libtool: link: `/opt/gnome/lib/libgtk.la' is not a valid libtool archive
make[4]: *** [kopete_nowlistening.la] Erreur 1
make[4]: quittant le répertoire « 
/home/gilles/kdenetwork/kopete/plugins/nowlistening »
make[3]: *** [all-recursive] Erreur 1
make[3]: quittant le répertoire « /home/gilles/kdenetwork/kopete/plugins »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/gilles/kdenetwork/kopete »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/gilles/kdenetwork »
make: *** [all] Erreur 2
------------------------------------------

"pkg-config --libs gtk+" command reports :
"-lgtk -lgdk -lXi -lXext -lX11 -lm -lglib"

there is no more "-L/opt/gnome/lib" library flag. We can confirm that with a ls 
command :

ls -l /usr/lib/libgtk.la
-rwxr-xr-x 1 root root 961 jui 13 18:45 /usr/lib/libgtk.la
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to