Re: [Evolution] evolution 2.21.92 and gtkhtml-3.17.92 NOT compiling under opensuse10.3



Am Mittwoch, den 27.02.2008, 10:29 -0500 schrieb Matthew Barnes:
On Wed, 2008-02-27 at 15:13 +0000, Rainer Klier wrote:

BUT:
make stopped with:
/usr/src/packages/SOURCES/gtkhtml-3.17.92/gtkhtml/htmlurl.c:493:
undefined reference to `g_assertion_message_expr'
/usr/local/lib/libsoup-2.4.so: undefined reference to `g_checksum_free'
/usr/local/lib/libsoup-2.4.so: undefined reference to
`g_checksum_get_string'
/usr/local/lib/libsoup-2.4.so: undefined reference to
`g_checksum_update'
/usr/local/lib/libgio-2.0.so: undefined reference to
`g_hash_table_iter_init'
/usr/local/lib/libgio-2.0.so: undefined reference to `glib_gettext'
/usr/local/lib/libgio-2.0.so: undefined reference to
`g_hash_table_iter_next'
./.libs/libgtkhtml-3.14.so: undefined reference to `g_assertion_message'
/usr/local/lib/libsoup-2.4.so: undefined reference to `g_checksum_new'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_warn_message'
/usr/local/lib/libgio-2.0.so: undefined reference to
`g_uri_escape_string'

All these symbols are new in GLib 2.15.  It would appear you're building
against older GLib libraries, not the ones you installed. 

yes, you are right.
but as you can see in my first post i DID make and install glib-2.15.6.

Try rebuilding GLib without the --enable-static part.  You'll probably
also need to rebuild libsoup and possibly libbonobo.

yes, i had to do this.
you can see this also in my first post.
i did successfully make and install glib-2.15.6, libsoup-2.3.4 and
libbonobo-2.21.90 just before i tried to make gtkhtml-3.17.92.

BUT making of gtkhtml-3.17.92 fails.

in the meantime i found out WHY:
the configure-script, or some part related to it has a bug.
it finds out, that i have the latest ïglib-2.15.6 installed
in /usr/local/lib but when it come to linking it links against the old
glib-2.14 installed in /usr/lib64!
that was the problem.
here you can see the latest linking after which the error occurs:
...
/usr/local/lib/libpango-1.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so 
/usr/lib64/libglib-2.0.so /usr/lib64/libpcre.so /usr/local/lib/libsoup-2.4.so 
/usr/local/lib/libgthread-2.0.so -lpthread -lrt /usr/lib64/libxml2.so -lm /usr/lib64/libgnutls.so -lz 
-lgcrypt -lgpg-error /usr/local/lib/libgio-2.0.so /usr/local/lib/libgobject-2.0.so 
/usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libglib-2.0.so
htmlurl.o: In function `html_url_append_path':
/usr/src/packages/SOURCES/gtkhtml-3.17.92/gtkhtml/htmlurl.c:493:
undefined reference to `g_assertion_message_expr'

when you look carefully you can see, that there is
"/usr/lib64/libglib-2.0.so" some positions BEFORE
"/usr/local/lib/libglib-2.0.so" which is at last position.

so linking tries to link agains the old glib-2.14 installed in
"/usr/lib64/libglib-2.0.so".

but WHY!

the same error apperas in the linking of evolution,
evolution-data-server and evolution-exchange.

i wasn't able to tell the compiler to use the version installed
in /usr/local/lib.
so i did it the "hard" way, and copied the version from /usr/local/lib
over the version from /usr/lib64.
and voila, making finished without error, and i am writing this with the
new version 2.21.92 of evolution. :-)

i will open a bug-ticket in bugzilla for that.
-- 
einen schÃnen Tag noch, & bitte kein TOFU
(http://de.wikipedia.org/wiki/TOFU)
DI Rainer Klier
Abteilung IT - Entwicklung
ECOLOG Logistiksysteme GmbH                 BauernstraÃe 11, A-4600 Wels
Tel. ++43/7242/66200                        Fax ++43/7242/66200-200
mailto:rainer klier ecolog at
http://www.ecolog.at
Fb-Nummer 171431f                           Landesgericht Wels

A member  of 
TGW LOGISTICS GROUP


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]