You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

dholland

Beginner

  • "dholland" started this thread

Posts: 8

Location: USA

Occupation: SW eng

  • Send private message

1

Monday, March 5th 2007, 5:13am

Installing KDE with konstruct - build failure

Hello,
I have just tried to upgrade my version of KDE from 3.4 to 3.5.6. I am installing from sources, but I have a build error in kioslave/mediamanager. I initally tried doing a make from kdebase and had this error, so I removed the directory tree and restarted, building kdelibs first (completed) but I got the same error in mediamanager. It seems to be related to the HAL Backend...

The only issue in the configure was that pesky WARNING about cdrom.h

I did check my /usr/include/ and there is no function dbus_bus_get_private , but there is a dbus-1.0 directory. Does anyone know which version I should use, and where I might find it?

Thanks,

David

/home/dholland/kde3.5.6/bin/moc ./halbackend.h -o halbackend.moc
if /bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I./../libmediacommon -I../libmediacommon -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/dbus-1.0 -I/home/dholland/kde3.5.6/include -I/usr/X11R6/include -I/usr/kerberos/include -DQT_THREAD_SUPPORT -I/home/dholland/kde3.5.6/include -I/usr/X11R6/include -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -I/home/dholland/kde3.5.6/include -I/usr/X11R6/include -L/home/dholland/kde3.5.6/lib -L/usr/X11R6/lib -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -MT halbackend.lo -MD -MP -MF ".deps/halbackend.Tpo" -c -o halbackend.lo halbackend.cpp; \
then mv -f ".deps/halbackend.Tpo" ".deps/halbackend.Plo"; else rm -f ".deps/halbackend.Tpo"; exit 1; fi
halbackend.cpp: In member function 'bool HALBackend::InitHal()':
halbackend.cpp:119: error: 'dbus_bus_get_private' was not declared in this scope
make[5]: *** [halbackend.lo] Error 1
make[5]: Leaving directory `/home/dholland/konstruct/kde/kdebase/work/kdebase-3.5.6/kioslave/media/mediamanager'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/dholland/konstruct/kde/kdebase/work/kdebase-3.5.6/kioslave/media'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/dholland/konstruct/kde/kdebase/work/kdebase-3.5.6/kioslave'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dholland/konstruct/kde/kdebase/work/kdebase-3.5.6'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/dholland/konstruct/kde/kdebase/work/kdebase-3.5.6'
make: *** [build-work/kdebase-3.5.6/Makefile] Error 2
[1]+ Done xemacs ~/konstruct/README (wd: ~/konstruct/meta/kde)
(wd now: ~/konstruct/kde/kdebase)
dholland@suse-dhlt:~/konstruct/kde/kdebase>

dholland

Beginner

  • "dholland" started this thread

Posts: 8

Location: USA

Occupation: SW eng

  • Send private message

2

Monday, March 5th 2007, 2:44pm

Update

I looked into it and my distibution (SuSE 10.0) includes dbus 0.35.2.8, the get_private function was added in September 2005 at 0.36.1

The 1.0 version was released in November 2006.

dholland

Beginner

  • "dholland" started this thread

Posts: 8

Location: USA

Occupation: SW eng

  • Send private message

3

Tuesday, March 6th 2007, 2:52pm

More problems

I gave up.

After resolving the D-bus issue (installing the newer library) I ran into trouble with my power management (laptop). Then after a clean restart I got into trouble with a recursive make in kdebindings, and I just couldn't spend any more time on it. I was trying to upgrade to resolve a crash in kmail which I will try to handle another way.