GNOME Bugzilla – Bug 388739
gnome-applets build failure (libxml includes not found due to mistake in configure.in)
Last modified: 2010-01-24 01:07:42 UTC
gweather/gweather-prefs.c depends on libxml2, but configure.in does not check for this. It used to be that libbonoboui-2.0.pc (via libgnomeui-2.0.pc) would bring in this dependency, but no longer does due to the change in bug 352191. This causes the following compiling error: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DGTK_ENABLE_BROKEN -DORBIT2=1 -pthread -I/opt/gnome2/include/panel-2.0 -I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/include/libgnomeui-2.0 -I/opt/gnome2/include/libbonoboui-2.0 -I/opt/gnome2/lib/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/opt/gnome2/include/cairo -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/libgnome-2.0 -I/opt/gnome2/include/libgnomecanvas-2.0 -I/opt/gnome2/include/libart-2.0 -I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/gnome-vfs-2.0 -I/opt/gnome2/lib/gnome-vfs-2.0/include -I/opt/gnome2/include/gnome-keyring-1 -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/libbonobo-2.0 -I/opt/gnome2/include/bonobo-activation-2.0 -pthread -DORBIT2=1 -I/opt/gnome2/include/gnome-vfs-2.0 -I/opt/gnome2/lib/gnome-vfs-2.0/include -I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -DGWEATHER_XML_LOCATION=\""/opt/gnome2/share/gnome-applets/gweather/"\" -g -O2 -MT gweather-pref.o -MD -MP -MF .deps/gweather-pref.Tpo -c -o gweather-pref.o gweather-pref.c gweather-pref.c:32:27: libxml/parser.h: No such file or directory gweather-pref.c:33:25: libxml/tree.h: No such file or directory make[3]: *** [gweather-pref.o] Error 1 make[3]: Leaving directory `/export/home/b/newrenTemp/gnome/gnome-applets/gweather' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/export/home/b/newrenTemp/gnome/gnome-applets/gweather' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/b/newrenTemp/gnome/gnome-applets' make: *** [all] Error 2 To fix, gnome-applets should explicitly check for libxml2. I will provide a patch in a minute that works, but note that I am no autotools guru; you may want to double check it. (See also bug 387961)
Created attachment 78811 [details] [review] Patch to check for libxml2
*** Bug 388799 has been marked as a duplicate of this bug. ***
Looks fine. Thanks, Elijah. Best wishes to you and your family in the holiday whatsits.
Happy holidays to you too. :-)