Re: gnome-config vs. gnome-xml





On Sun, 15 Aug 1999 15:08:07 Martin Hawlisch wrote:
> 
> Hi!
> 
> I have a big problem building the latest CVS-gnome.
> 
> Many apps that use gnome-xml do not build correctly because they cannot
> find gnome-xml, libxml or stop with unresolved symbols.
> 
> It looks like the gnome-xml-check.m4 macro is using
> `gnome-config --libs xml`
> 
> running this command gives me:
> Unknown library `xml'
> 
> gnome-xml is definitely installed because:
> $ xml-config --libs
> -L/opt/gnome/lib -lxml -lz
> 
> For me the problem occures because gnome-xml does not install the
> xmlConf.sh.
> 
> After installing xmlConf.sh manually the `gnome-config --libs xml` works
> fine.
> 
> 
> Cheers, Martin.
> 

It seems that the code in xml that installed xmlConf.sh has vanished in
the latest CVS. to put it back, try applying this patch (also puts xmlConf.sh
in a generated RPM):

diff -U3 -r gnome-xml-old/Makefile.am gnome-xml/Makefile.am
--- gnome-xml-old/Makefile.am	Sat Aug 14 20:46:10 1999
+++ gnome-xml/Makefile.am	Sun Aug 15 13:15:10 1999
@@ -198,6 +198,11 @@
 	  fi ; fi ; done)
 
 
+confexecdir=$(libdir)
+confexec_DATA = xmlConf.sh
+
+EXTRA_DIST = xmlConf.sh.in
+
 Validtests : tester
 	@echo "##"
 	@echo "## Validity checking regression tests"
diff -U3 -r gnome-xml-old/libxml.spec.in gnome-xml/libxml.spec.in
--- gnome-xml-old/libxml.spec.in	Sat Aug 14 20:46:12 1999
+++ gnome-xml/libxml.spec.in	Sun Aug 15 13:33:02 1999
@@ -1,7 +1,7 @@
 # Note that this is NOT a relocatable package
 %define ver      @VERSION@
 %define  RELEASE SNAP
-%define  rel     %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
+%define rel prw31
 %define prefix   /usr
 
 Summary: libXML library
@@ -106,4 +106,5 @@
 
 %{prefix}/lib/lib*.so
 %{prefix}/lib/*a
+%{prefix}/lib/*.sh
 %{prefix}/include/*


Peter Wainwright
Home: prw@wainpr.demon.co.uk     Work: peter.wainwright@nrpb.org.uk
http://www.wainpr.demon.co.uk    Fax: +44-870-052-3185
Visit the Opera Exchange Homepage at http://www.treda.co.uk/opex/



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