KDE won't build
Stacey
cardcaptorstacey at gmail.com
Sat Jan 2 12:50:43 PST 2010
Hello everybody! I'm trying to build KDE on Snow Leopard. It started
installing some dependencies but failed on kdelibs3:
---> Building kdelibs3
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10"
&& ./CompileScript.sh all " returned error 1
Command output: /opt/local/lib/qt3/include/qevent.h: In member function
'QByteArray QDropEvent::data(const char*) const':
/opt/local/lib/qt3/include/qevent.h:528: error: return type 'struct
QByteArray' is incomplete
/opt/local/lib/qt3/include/qevent.h:528: error: invalid use of
incomplete type 'struct QByteArray'
/opt/local/include/kcomponentdata.h:25: error: forward declaration of
'struct QByteArray'
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kinit/klauncher.h:33,
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kinit/klauncher_main.cpp:26:
/opt/local/include/kio/connection.h: At global scope:
/opt/local/include/kio/connection.h:137: error: expected
primary-expression before 'void'
/opt/local/include/kio/connection.h:137: error: ISO C++ forbids
declaration of 'Q_SIGNALS' with no type
/opt/local/include/kio/connection.h:137: error: expected ';' before 'void'
/opt/local/lib/qt3/include/qobject.h:200: error: 'QObjectPrivate*
QObject::d' is private
/opt/local/include/kio/connection.h:140: error: within this context
/opt/local/include/kio/connection.h:140: error: 'd' is not a type
/opt/local/include/kio/connection.h:140: error: ISO C++ forbids
declaration of 'Q_PRIVATE_SLOT' with no type
/opt/local/include/kio/connection.h:141: error: expected ';' before
'Q_PRIVATE_SLOT'
/opt/local/include/kio/connection.h:84: error: invalid use of incomplete
type 'struct QByteArray'
/opt/local/include/kcomponentdata.h:25: error: forward declaration of
'struct QByteArray'
/opt/local/include/kio/connection.h:179: error: expected
primary-expression before 'void'
/opt/local/include/kio/connection.h:179: error: ISO C++ forbids
declaration of 'Q_SIGNALS' with no type
/opt/local/include/kio/connection.h:179: error: expected ';' before 'void'
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kinit/klauncher.h:35,
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kinit/klauncher_main.cpp:26:
/opt/local/include/kurl.h:112: error: expected class-name before '{' token
/opt/local/include/kurl.h:125: error: expected template-name before '<'
token
/opt/local/include/kurl.h:125: error: expected `{' before '<' token
/opt/local/include/kurl.h:125: error: expected unqualified-id before '<'
token
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kinit/klauncher_main.cpp:115:
error: expected `}' at end of input
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kinit/klauncher_main.cpp:115:
error: expected unqualified-id at end of input
Error creating ./kinit/klauncher_main.lo. Exit status 1.
kdelibs3-3.5.10-3 make failed!
Error: The following dependencies failed to build: kdebase3 kdelibs3
libusb-compat libusb xorg-libXtst xorg-recordproto xorg-libXxf86misc
xorg-xf86miscproto xorg-libxkbfile kdenetwork3 openslp kdepim3
kdeaccessibility3 opensync py26-gobject libffi py26-numeric swig-python
python_select swig kdeutils3 gmp
Error: Status 1 encountered during processing.
I'm very new to Mac (omly been using it for a few weeks) but I've been a
Linux user (and still am) for about three years.
Thanks, and Happy New Year ;)
~ Stacey
More information about the macports-users
mailing list