After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 388739 - gnome-applets build failure (libxml includes not found due to mistake in configure.in)
gnome-applets build failure (libxml includes not found due to mistake in conf...
Status: RESOLVED FIXED
Product: gnome-applets
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
: 388799 (view as bug list)
Depends on:
Blocks: 352191
 
 
Reported: 2006-12-22 20:31 UTC by Elijah Newren
Modified: 2010-01-24 01:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to check for libxml2 (1.74 KB, patch)
2006-12-22 20:32 UTC, Elijah Newren
committed Details | Review

Description Elijah Newren 2006-12-22 20:31:31 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)
Comment 1 Elijah Newren 2006-12-22 20:32:18 UTC
Created attachment 78811 [details] [review]
Patch to check for libxml2
Comment 2 Elijah Newren 2006-12-23 00:38:07 UTC
*** Bug 388799 has been marked as a duplicate of this bug. ***
Comment 3 Danielle Madeley 2006-12-23 14:47:26 UTC
Looks fine. Thanks, Elijah.

Best wishes to you and your family in the holiday whatsits.
Comment 4 Elijah Newren 2006-12-23 19:50:54 UTC
Happy holidays to you too.  :-)