Compile Error on OpenSuSE 11.1 x86_64
#1
Got the following error following a successful ./configure:

PHP Code:
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:33errordbus/dbus-arch-deps.hNo such file or directory 

pkg-config --cflags dbus-1 :

PHP Code:
-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:

PHP Code:
if test $ac_cv_lib_hal_main yesthen
  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.
Reply
#2
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.
Reply

Logout Mark Read Team Forum Stats Members Help
Compile Error on OpenSuSE 11.1 x86_640