trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: August 2010

Building From SVN

From: Darrell Anderson <humanreadable@...>
Date: Tue, 24 Aug 2010 18:33:09 -0700 (PDT)
I am trying to build kdelibs from your svn tree. I'm building on a system with KDE 3.5.10 installed.

The following packages are installed:

tqtinterface
cups
poppler
pcre
libxml2
libxslt
qt-3.3.8b
dbus-qt3
qca-1
qca-tls
arts

I have not rebuilt arts.

In the kdelibs build script, I'm using the --disable-dnssd option. 

As we discussed previously, seems I either need to install an avahi package or use the --disable-dnssd build option.

Without that option the build fails quickly.

However, your build system is looking specifically for avahi-qt3 and avahi-client. I believe those are Debian-specific package names.

Eventually I will test building kdelibs with avahi installed. Right now the kdelibs package fails to build:

In file included from /usr/lib/qt/include/qobject.h:48,
                 from /usr/include/tqobject.h:32,
                 from /usr/include/tqiodevice.h:26,
                 from /usr/include/tqdatastream.h:26,
                 from /usr/include/tqvaluelist.h:26,
                 from ./kxerrorhandler.h:28,
                 from kipc.cpp:35:
/usr/lib/qt/include/qevent.h:64: error: expected identifier before numeric constant
/usr/lib/qt/include/qevent.h:64: error: expected `}' before numeric constant
/usr/lib/qt/include/qevent.h:64: error: expected unqualified-id before numeric constant
/usr/lib/qt/include/qevent.h:145: error: expected `)' before 'type'
/usr/lib/qt/include/qevent.h:146: error: declaration of '~QEvent' as non-member
/usr/lib/qt/include/qevent.h:147: error: 'Type' does not name a type
/usr/lib/qt/include/qevent.h:148: error: non-member function 'bool spontaneous()' cannot have cv-qualifier
/usr/lib/qt/include/qevent.h: In function 'bool spontaneous()':
/usr/lib/qt/include/qevent.h:148: error: 'spont' was not declared in this scope
/usr/lib/qt/include/qevent.h: At global scope:
/usr/lib/qt/include/qevent.h:149: error: expected unqualified-id before 'protected'
/usr/lib/qt/include/qevent.h:151: error: expected unqualified-id before 'private'
/usr/lib/qt/include/qevent.h:153: error: function definition does not declare parameters
/usr/lib/qt/include/qevent.h:156: error: 'friend' used outside of class
/usr/lib/qt/include/qevent.h:157: error: 'friend' used outside of class
/usr/lib/qt/include/qevent.h:158: error: 'friend' used outside of class
/usr/lib/qt/include/qevent.h:159: error: 'friend' used outside of class
/usr/lib/qt/include/qevent.h:160: error: expected declaration before '}' token
make[4]: *** [kipc.lo] Error 1
make[4]: Leaving directory `/dev/shm/kdelibs/kdecore'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/dev/shm/kdelibs/kdecore'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/dev/shm/kdelibs/kdecore'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/dev/shm/kdelibs'
make: *** [all] Error 2


I hope that information helps.