GNOME Bugzilla – Bug 496639
liboobs build failure: Can't find libhal.h
Last modified: 2007-11-14 13:15:20 UTC
(Does liboobs have a separate project/component somewhere? I couldn't find it) I'm getting the following error with both liboobs-2.21.1 and liboobs-2.21.2; this prevents GNOME 2.21.2 from building and shipping. Any chance of getting a quick fix and a new tarball? Here's the error: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -DG_LOG_DOMAIN=\"Liboobs\" -DDBUS_API_SUBJECT_TO_CHANGE -I/opt/tarball-gnome2/include/dbus-1.0 -I/opt/tarball-gnome2/lib/dbus-1.0/include -I/opt/tarball-gnome2/include/glib-2.0 -I/opt/tarball-gnome2/lib/glib-2.0/include -DDBUS_API_SUBJECT_TO_CHANGE -I/opt/tarball-gnome2/include/hal -I/opt/tarball-gnome2/include/dbus-1.0 -I/opt/tarball-gnome2/lib/dbus-1.0/include -g -O2 -MT oobs-ifacesconfig.lo -MD -MP -MF .deps/oobs-ifacesconfig.Tpo -c oobs-ifacesconfig.c -fPIC -DPIC -o .libs/oobs-ifacesconfig.o oobs-ifacesconfig.c:23:24: error: hal/libhal.h: No such file or directory $ ls -l /opt/tarball-gnome2/include/hal/libhal.h -rw-r--r-- 1 newren newren 25729 2007-11-12 21:54 /opt/tarball-gnome2/include/hal/libhal.h Seems that given the include path, the #include line should be libhal.h, not hal/libhal.h?
Blocks the release due tomorrow; bumping priority/severity. Sorry for taking so long to catch this (had some other mistakes in my original build and had to redo it.) Thanks for all the work!
I didn't build hal myself but used the system installed one and that worked for me for some reason. pkg-config --cflags hal does this: -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include so I guess changing to "include <libhal.h> is correct.
hrm, I had too the hal packages installed, will fix and roll a tarball now, sorry for the inconvenience :)
Fixed and released. Thanks for noticing :) Elijah: I was told to do a liboobs component inside the g-s-t product instead of having a separate product. In my usual absent-mindedness, I didn't, but now it should be available :)