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 496639 - liboobs build failure: Can't find libhal.h
liboobs build failure: Can't find libhal.h
Status: RESOLVED FIXED
Product: gnome-system-tools
Classification: Deprecated
Component: general
CVS latest
Other Linux
: Immediate blocker
: ---
Assigned To: Carlos Garnacho
Carlos Garnacho
Depends on:
Blocks:
 
 
Reported: 2007-11-14 04:07 UTC by Elijah Newren
Modified: 2007-11-14 13:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Elijah Newren 2007-11-14 04:07:19 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?
Comment 1 Elijah Newren 2007-11-14 04:08:23 UTC
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!
Comment 2 Kjartan Maraas 2007-11-14 07:57:25 UTC
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.
Comment 3 Carlos Garnacho 2007-11-14 12:55:58 UTC
hrm, I had too the hal packages installed, will fix and roll a tarball now, sorry for the inconvenience :)
Comment 4 Carlos Garnacho 2007-11-14 13:15:20 UTC
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 :)