On Jan 11, 2008 4:28 PM, Patrick Ale <patrick.ale at gmail.com> wrote:
> > > > Try to find in your build log or in config.log how libglib.so
> > > > makes it into your build.
>
> The package builds succesfully with --without gtk-doc. If someone can
> shed a light on this I'd be very happy.
> I can upload the log to my webserver when required.
Hi!
So, I can confirm specifying both -glib and -glib-2.0 in the Makefiles
is the problem. I proved this by applying a little patch to every
single spec file used in base-specs, by SUNWgnome-libs.spec.
(rarian.spec , libbonobo.spec, libgnome.spec , libgnomeui.spec,
libgtkhtml.spec).
Please note, I didn't commit this patch since it's really really a
dirty hack, I just wanted to find the problem. Once applied I can
build SUNWgnome-libs without adding the --without gtk-docs option. I
tried to grep Makefile.am Makefile.in but can't see no refferences to
-glib , so I have no idea what to do to make my changes permanent,
other than this ugly hack.
Your suggestions are more than welcome ;-)
The patch in question:
--- base-specs/rarian.spec (revision 12760)
+++ base-specs/rarian.spec (working copy)
@@ -55,6 +55,12 @@
--datadir=%{_datadir} \
--libexecdir=%{_libexecdir} \
--localstatedir=/var
+for x in `find . -name Makefile`
+do
+sed s/-lglib\ //g $x > $x.new
+mv $x.new $x
+done
+
make -j $CPUS
%install
--
Patrick