evolution 2.21.92 and gtkhtml-3.17.92 NOT compiling under opensuse10.3

View: New views
9 Messages — Rating Filter:   Alert me  

evolution 2.21.92 and gtkhtml-3.17.92 NOT compiling under opensuse10.3

by Rainer Klier-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi evolution-developers ;-)

i found in bugzilla the following bug and it's solution:
http://bugzilla.gnome.org/show_bug.cgi?id=432885


i also have this problem.

and i want to get this solution.

i am using opensuse10.3 x86_64.

since the opensuse10.3-supplied evolution version didn't work very well,
i always built evolution by my own in the past and today.
for this reason i downloaded all necessary source-packages from
http://ftp5.gwdg.de/pub/linux/gnome/sources/
and then configured and made them.

this worked until (and including) evolution version 2.21.3.
this is the last version which i was able to build myself.

as i read in
http://ftp5.gwdg.de/pub/linux/gnome/sources/evolution-exchange/2.21/evolution-exchange-2.21.92.news 

"Bug fixes:
        #432885: Fix to subscribe to other user's folders (Bharath)"

i came to this bugzilla-entry.

i wanted to build this new version 2.21.92 because it solves a big
problem for me, because i need to open exchange-calenders of my
co-workers.

so i downloaded the following source-packages:
glib-2.15.6
libsoup-2.3.4
libbonobo-2.21.90
gtkhtml-3.17.92
evolution-2.21.92
evolution-data-server-2.21.92
evolution-exchange-2.21.92

then made glib-2.15.6 with:
./configure --enable-static
make
make install

then made libsoup-2.3.4 with:
./configure --enable-ssl
make
make install

then made libbonobo-2.21.90 with:
./configure
make
make install

then tried to make gtkhtml-3.17.92 with:
./configure
make

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'
collect2: ld returned 1 exit status
make[2]: *** [testgtkhtml] Error 1
make[2]: Leaving directory
`/usr/src/packages/SOURCES/gtkhtml-3.17.91/gtkhtml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/SOURCES/gtkhtml-3.17.91'
make: *** [all] Error 2

i didn't find any hints/solutions to that.
what error is this?
what can i do?
do i need some more of the new 2.21 gnome-source-packages?
should i update to the gnome-unstable-repo foun at
http://download.opensuse.org/repositories/GNOME:/UNSTABLE/openSUSE_10.3/ ?
what do i need to do to build evolution 2.21.92 on opensuse10.3?
i don't want to wait for opensuse11.
i need a fully working evolution now.
there are some repos in
http://ftp5.gwdg.de/pub/linux/suse/opensuse/repositories/home:/ which
provide newer version of evolution for opensuse10.3, but none of them
provides a rpm for evolution-exchange.....
and none of them offers this latest release 2.21.92.

can anybody of you guys help me?
thanks in advance.
--
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@...                        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 
______________________________________________________________________
_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

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

by Matthew Barnes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Wed, 2008-02-27 at 15:13 +0000, Rainer Klier wrote:
> then made glib-2.15.6 with:
> ./configure --enable-static
> make
> make install

...

> then tried to make gtkhtml-3.17.92 with:
> ./configure
> make
>
> 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.

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

Hope this helps,
Matthew Barnes

_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

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

by Rainer Klier-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
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 
______________________________________________________________________
_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

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

by Matthew Barnes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 2008-02-28 at 09:20 +0100, Rainer Klier wrote:
> 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!

I doubt it's a bug.  Sounds like you need to tell your linker where to
find the libraries by setting your LD_LIBRARY_PATH environment variable
to /usr/local/lib before building.

Matthew Barnes

_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

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

by Rainer Klier-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Donnerstag, den 28.02.2008, 07:17 -0500 schrieb Matthew Barnes:

> On Thu, 2008-02-28 at 09:20 +0100, Rainer Klier wrote:
> > 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!
>
> I doubt it's a bug.  Sounds like you need to tell your linker where to
> find the libraries by setting your LD_LIBRARY_PATH environment variable
> to /usr/local/lib before building.

look:
echo $LD_LIBRARY_PATH
/usr/local/lib:/usr/local/lib64:/opt/oracle/product/10gR2/lib32:/opt/oracle/product/10gR2/lib:/opt/oracle/product/10gR2/ctx/lib

so my LD_LIBRARY_PATH points to /usr/local/lib on first position.

and libsoup-2.3.4 and libbonobo-2.21.90 don't have this problem.
these packages are building well with new glib-2.15.6.
--
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@...                        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 
______________________________________________________________________
_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

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

by Patrick Ohly :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Do, 2008-02-28 at 09:20 +0100, Rainer Klier wrote:
> 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 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!

Check the line which is used to assemble all libraries. If there is
-L/usr/lib64 or -L/usr/lib somewhere before the directory where your new
glib is, then you have a problem. Note that any library which calls glib
needs to be recompiled: otherwise libtool finds the .la of such a
not-recompiled library and automatically pulls in the old glib at that
point.

You can always fix the link line manually, but recompiling everything is
IMHO the only way to satisfy libtool.

> i will open a bug-ticket in bugzilla for that.

I don't think it's a bug.

--
Bye, Patrick Ohly
--  
Patrick.Ohly@...
http://www.estamos.de/

_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

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

by Rainer Klier-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Donnerstag, den 28.02.2008, 22:35 +0100 schrieb Patrick Ohly:

> On Do, 2008-02-28 at 09:20 +0100, Rainer Klier wrote:
> > 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 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!
>
> Check the line which is used to assemble all libraries. If there is

how do i find this line?

> -L/usr/lib64 or -L/usr/lib somewhere before the directory where your new
> glib is, then you have a problem. Note that any library which calls glib

i searched all files in the gtkhtml-3.17.92-root-dir and found only few
text-files containing "-L/usr/lib64":
./components/html-editor/test_editor
./libtool
./gtkhtml/test-suite
./gtkhtml/testgtkhtml
./gtkhtml/test-stress
./gtkhtml/gtest

and in all those files i find this line
relink_command="... -L/usr/local/lib -L/lib64 -L/usr/lib64..."

so /usr/local/lib is BEFORE /usr/lib64.

BUT in the file libtool i found this:
# The library search path used internally by the compiler when linking
# a shared library.
compiler_lib_search_path="-L/usr/lib64/gcc/x86_64-suse-linux/4.3
-L/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64 -L/lib/../lib64
-L/usr/lib/../lib64
-L/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/lib
-L/usr/lib64/gcc/x86_64-suse-linux/4.3/../../.."

and i think that is the point where it happens!
when you follow /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64
or /usr/lib/../lib64 you will go to /usr/lib64!

you are right!
thanks for pointing me into the right direction!

ok, so next time, i recompile evolution, i will change the libtool
script.

but how should this system ever find something automatically
in /usr/local/lib?

> needs to be recompiled: otherwise libtool finds the .la of such a
> not-recompiled library and automatically pulls in the old glib at that
> point.

yes, i know that.
as i wrote in my first post, for that reason i recompiled all necessary
parts for running latest evolution:
glib-2.15.6
libsoup-2.3.4
libbonobo-2.21.90
gtkhtml-3.17.92

libsoup and libbonobo compiled fine, only gtkhtml found the "wrong"
glib.

> You can always fix the link line manually, but recompiling everything is
> IMHO the only way to satisfy libtool.

i did that (see above).
--
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@...                        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 
______________________________________________________________________
_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

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

by Patrick Ohly :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 2008-02-29 at 08:56 +0100, Rainer Klier wrote:
> Am Donnerstag, den 28.02.2008, 22:35 +0100 schrieb Patrick Ohly:
> > On Do, 2008-02-28 at 09:20 +0100, Rainer Klier wrote:
> > Check the line which is used to assemble all libraries. If there is
>
> how do i find this line?

I was thinking of the make output.

[libtool search path]
> but how should this system ever find something automatically
> in /usr/local/lib?

Usually the configure script will ask pkg-config for compile and link
flags of the required components, then add them to the libtool
invocation.

I'm not sure why it went wrong for you. Further issues to look out for
are setting LD_LIBRARY_PATH to include non-standard lib dirs (I have
seen failures where configure was unable to run test programs because of
a missing entry in LD_LIBRARY_PATH) and of course PKG_CONFIG_PATH.

--
Bye, Patrick Ohly
--  
Patrick.Ohly@...
http://www.estamos.de/

_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

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

by Rainer Klier-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Sonntag, den 02.03.2008, 19:49 +0100 schrieb Patrick Ohly:

> On Fri, 2008-02-29 at 08:56 +0100, Rainer Klier wrote:
> > Am Donnerstag, den 28.02.2008, 22:35 +0100 schrieb Patrick Ohly:
> > > On Do, 2008-02-28 at 09:20 +0100, Rainer Klier wrote:
> > > Check the line which is used to assemble all libraries. If there is
> >
> >
> I'm not sure why it went wrong for you. Further issues to look out for
> are setting LD_LIBRARY_PATH to include non-standard lib dirs (I have
> seen failures where configure was unable to run test programs because of
> a missing entry in LD_LIBRARY_PATH) and of course PKG_CONFIG_PATH.
>

my
LD_LIBRARY_PATH: /usr/local/lib:/usr/local/lib64:/opt/oracle/product/10gR2/lib32:/opt/oracle/product/10gR2/lib:/opt/oracle/product/10gR2/ctx/lib

as i can see in you evolution-list posting "compiling Evolution from
source: incorrectly picks up system libs" the same happens to you now.

now you can understand my problem. ;-)
i made a bug-report: http://bugzilla.gnome.org/show_bug.cgi?id=519234
--
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@...                        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 
______________________________________________________________________
_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list