[KDE/Mac] Attempting to build kdelibs4 on OSX...failure
mlhydeau at austarnet.com.au
mlhydeau at austarnet.com.au
Fri Feb 6 11:19:51 CET 2009
Was attempting to build KDE4 for MAC and ran across this after sudo port install kdebase4 and reaching the 'Building kdelibs4' point...
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_kdelibs4/work/build" && make all " returned error 2
Command output: ld warning: QString::~QString()has different visibility (default) in /usr/lib/libQtUiTools.a(textbuilder.o) and (hidden) in CMakeFiles/kjsembed.dir/jseventmapper.o
ld warning: QString::~QString()has different visibility (default) in /usr/lib/libQtUiTools.a(formbuilderextra.o) and (hidden) in CMakeFiles/kjsembed.dir/jseventmapper.o
ld warning: QList<QString>::free(QListData::Data*) has different visibility (default) in /usr/lib/libQtUiTools.a(formbuilderextra.o) and (hidden) in CMakeFiles/kjsembed.dir/variant_binding.o
ld warning: QList<QString>::~QList() has different visibility (default) in /usr/lib/libQtUiTools.a(formbuilderextra.o) and (hidden) in CMakeFiles/kjsembed.dir/variant_binding.o
ld warning: QString::~QString()has different visibility (default) in /usr/lib/libQtUiTools.a(resourcebuilder.o) and (hidden) in CMakeFiles/kjsembed.dir/jseventmapper.o
ld warning: QString::~QString()has different visibility (default) in /usr/lib/libQtUiTools.a(ui4.o) and (hidden) in CMakeFiles/kjsembed.dir/jseventmapper.o
ld warning: QList<QString>::free(QListData::Data*) has different visibility (default) in /usr/lib/libQtUiTools.a(ui4.o) and (hidden) in CMakeFiles/kjsembed.dir/variant_binding.o
ld warning: QList<QString>::detach_helper() has different visibility (default) in /usr/lib/libQtUiTools.a(ui4.o) and (hidden) in CMakeFiles/kjsembed.dir/variant_binding.o
ld warning: QList<QString>::append(QString const&)has different visibility (default) in /usr/lib/libQtUiTools.a(ui4.o) and (hidden) in CMakeFiles/kjsembed.dir/variant_binding.o
ld warning: QList<QString>::~QList() has different visibility (default) in /usr/lib/libQtUiTools.a(ui4.o) and (hidden) in CMakeFiles/kjsembed.dir/variant_binding.o
ld warning: QString::~QString()has different visibility (default) in /usr/lib/libQtUiTools.a(properties.o) and (hidden) in CMakeFiles/kjsembed.dir/jseventmapper.o
ld warning: QList<QString>::free(QListData::Data*) has different visibility (default) in /usr/lib/libQtUiTools.a(properties.o) and (hidden) in CMakeFiles/kjsembed.dir/variant_binding.o
ld warning: QList<QString>::detach_helper() has different visibility (default) in /usr/lib/libQtUiTools.a(properties.o) and (hidden) in CMakeFiles/kjsembed.dir/variant_binding.o
ld warning: QList<QString>::~QList() has different visibility (default) in /usr/lib/libQtUiTools.a(properties.o) and (hidden) in CMakeFiles/kjsembed.dir/variant_binding.o
ld warning: QColor qvariant_cast<QColor>(QVariant const&)has different visibility (default) in /usr/lib/libQtUiTools.a(properties.o) and (hidden) in CMakeFiles/kjsembed.dir/qobject_binding.o
ld warning: QBrush qvariant_cast<QBrush>(QVariant const&)has different visibility (default) in /usr/lib/libQtUiTools.a(properties.o) and (hidden) in CMakeFiles/kjsembed.dir/pen.o
ld warning: QStringList qvariant_cast<QStringList>(QVariant const&)has different visibility (default) in /usr/lib/libQtUiTools.a(properties.o) and (hidden) in CMakeFiles/kjsembed.dir/variant_binding.o
ld warning: QFont qvariant_cast<QFont>(QVariant const&)has different visibility (default) in /usr/lib/libQtUiTools.a(properties.o) and (hidden) in CMakeFiles/kjsembed.dir/font.o
Undefined symbols:
"QBoxLayout::stretch(int) const", referenced from:
__ZNK10QBoxLayout7stretchEi$non_lazy_ptr in libQtUiTools.a(formbuilderextra.o)
"QBoxLayout::setStretch(int, int)", referenced from:
__ZN10QBoxLayout10setStretchEii$non_lazy_ptr in libQtUiTools.a(formbuilderextra.o)
"QString::compare_helper(QChar const*, int, QChar const*, int, Qt::CaseSensitivity)", referenced from:
QStringRef::compare(QString const&, Qt::CaseSensitivity) constin libQtUiTools.a(abstractformbuilder.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [lib/libkjsembed.4.2.0.dylib] Error 1
make[1]: *** [kjsembed/kjsembed/CMakeFiles/kjsembed.dir/all] Error 2
make: *** [all] Error 2
Error: The following dependencies failed to build: kdebase4-runtime kdelibs4 kdepimlibs4 akonadi boost boost-jam gmake gpgme gnupg libgpg-error pth libical openldap db44 qimageblitz
Everything else building ok up to this point. What could be the problem??
Happy to use binaries just was trying to build it for myself.
Mark.
More information about the kde-mac
mailing list