While compiling from latest git (20th Feb
2012) i got as far as tdebase. At around the 90% mark it
failed.
git/tde/main/tdebase/tdm/backend/consolekit.c:31:23:
fatal error: dbus/dbus.h: No such file or directory
compilation terminated.
consolekit.c contains the following include:
#include <dbus/dbus.h>
when the actual headers path is
/usr/include/dbus-1.0/dbus/dbus.h
Rebuilding now with a symlink to see how far i get.
I recall running into that problem a while back. I don't remember what caused the
problem. That might have been when I discovered the -DWITH_HAL option defaults to OFF. I
set that option to ON and I think then the problems disappeared.
The cmake configuration files should automatically detect the dbus-1.0 files. In the
tdebase build directory, check the CMakeCache.txt file for lines like this:
DBUS_CFLAGS:INTERNAL=-I/usr/include/dbus-1.0;-I/usr/lib/dbus-1.0/include
DBUS_INCLUDE_DIRS:INTERNAL=/usr/include/dbus-1.0;/usr/lib/dbus-1.0/include
DBUS_STATIC_CFLAGS:INTERNAL=-I/usr/include/dbus-1.0;-I/usr/lib/dbus-1.0/include
DBUS_STATIC_INCLUDE_DIRS:INTERNAL=/usr/include/dbus-1.0;/usr/lib/dbus-1.0/include
DBUS_TQT_CFLAGS:INTERNAL=-I/opt/trinity/include;-I/opt/trinity/include/dbus-1.0;-I/usr/include/dbus-1.0;-I/usr/lib/dbus-1.0/include
DBUS_TQT_INCLUDE_DIRS:INTERNAL=/opt/trinity/include;/opt/trinity/include/dbus-1.0;/usr/include/dbus-1.0;/usr/lib/dbus-1.0/include
DBUS_TQT_STATIC_CFLAGS:INTERNAL=-I/opt/trinity/include;-I/opt/trinity/include/dbus-1.0;-I/usr/include/dbus-1.0;-I/usr/lib/dbus-1.0/include
DBUS_TQT_STATIC_INCLUDE_DIRS:INTERNAL=/opt/trinity/include;/opt/trinity/include/dbus-1.0;/usr/include/dbus-1.0;/usr/lib/dbus-1.0/include
HAL_CFLAGS:INTERNAL=-DDBUS_API_SUBJECT_TO_CHANGE;-I/usr/include/hal;-I/usr/include/dbus-1.0;-I/usr/lib/dbus-1.0/include
HAL_INCLUDE_DIRS:INTERNAL=/usr/include/hal;/usr/include/dbus-1.0;/usr/lib/dbus-1.0/include
HAL_STATIC_CFLAGS:INTERNAL=-DDBUS_API_SUBJECT_TO_CHANGE;-I/usr/include/hal;-I/usr/include/dbus-1.0;-I/usr/lib/dbus-1.0/include
HAL_STATIC_INCLUDE_DIRS:INTERNAL=/usr/include/hal;/usr/include/dbus-1.0;/usr/lib/dbus-1.0/include
Also, FWIW, by any chance are you setting the CPLUS_INCLUDE_PATH environment variable? I
had all kinds of weird build problems using that variable, which is some kind of oddball
carry over in Slackware build scripts from days long past.
Oh, I just built everything today in Slackware 13.1 against Qt3. So the package does
build. :)
Darrell