Re: Build problem with linc->ORBit2->libbonoboui. I'm stuck :(

Malcolm Tredinnick <[email protected]>
Newsgroups gmane.comp.gnome.components
Message-ID <[email protected]>
On Sat, Apr 26, 2003 at 09:19:18AM +0200, jeroen wrote:
> For some reason libbonboui's .la file points to /usr/lib/liblinc.so and
> /usr/lib/libxml2.so instead of your own custom prefix. Manually editing
> the .la files helps. I have no idea why the .la files are wrong though.

Oh, wow. Excellent debugging, sir. :-)

I have seen this before, too, so fixing it is not too hard -- it is a
problem with the order of libraries in the variables passed to libtool.
Of course, the solution is far from elegant.

Michael: Can the attached tiny patch be applied, please. It fixes this
problem (yes, I know libtool is horrible, but we'll take that as read).

Cheers,
Malcolm

-- 
He who laughs last thinks slowest.
changes.diff (text/plain, 472 B)
? changes.diff
Index: Makefile.am
===================================================================
RCS file: /cvs/gnome/libbonoboui/bonobo/Makefile.am,v
retrieving revision 1.205
diff -u -r1.205 Makefile.am
--- Makefile.am	17 Apr 2003 17:54:26 -0000	1.205
+++ Makefile.am	26 Apr 2003 09:08:30 -0000
@@ -79,7 +79,7 @@
 	-no-undefined
 
 libbonoboui_2_la_LIBADD = \
-	-lpopt $(BONOBOUI_LIBS)
+	$(BONOBOUI_LIBS) -lpopt
 
 libbonoboui_2_la_SOURCES = \
 	bonobo-a11y.c				\
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.