PDA

View Full Version : Compile Error on OpenSuSE 11.1 x86_64


bjoneson
2009-02-08, 06:16
Got the following error following a successful ./configure:

In file included from linux/HalManager.h:29,
from linux/LinuxFileSystem.h:33,
from Application.cpp:216:
/usr/include/dbus-1.0/dbus/dbus.h:29:33: error: dbus/dbus-arch-deps.h: No such file or directory

pkg-config --cflags dbus-1 :

-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include

I did a quick grep for dbus in the configure XBMC/configure script and found this:

if test $ac_cv_lib_hal_main = yes; then
LZO_INCLUDES="$LZO_INCLUDES -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include
/hal"

I'll be perfectly honest, I'm not sure if this is in fact causing the issue (I'm not sure under what conditions $ac_cv_lib_hal_main will be true), but it appears to be hard coding to /usr/lib instead of /usr/lib64.

Obviously this issue can be skirted by symlinking, but shouldn't really need to do that if pkg-config is working correctly.

bjoneson
2009-02-09, 20:53
Is this something I should go ahead and open a bug in trac for? Unfortunately I'm not very familiar with autoconf, otherwise I'd submit a patch.