[Qt-interest] SPAM-LOW: Re: QT 4.5 OS X Compile errors
Jason Kolbenheyer
jason at dropdeadcreative.com
Wed Sep 23 20:30:43 CEST 2009
Just tried compiling without -universal. Make worked, but when I
tried to install I got the error:
QFile::size() constreferenced from libQtCLucene expected to be
defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/
Versions/4/QtCore
QFile::error() constreferenced from libQtCLucene expected to be
defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/
Versions/4/QtCore
QString::arg(QString const&, int, QChar const&) constreferenced from
libQtCLucene expected to be defined in /usr/local/Trolltech/Qt-4.5.2/
lib/QtCore.framework/Versions/4/QtCore
QDateTime::toTime_t() constreferenced from libQtCLucene expected to
be defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/
Versions/4/QtCore
QFileInfo::isReadable() const referenced from libQtCLucene expected
to be defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/
Versions/4/QtCore
QFileInfo::isWritable() const referenced from libQtCLucene expected
to be defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/
Versions/4/QtCore
QFileInfo::lastModified() const referenced from libQtCLucene expected
to be defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/
Versions/4/QtCore
QFileInfo::absoluteFilePath() const referenced from libQtCLucene
expected to be defined in /usr/local/Trolltech/Qt-4.5.2/lib/
QtCore.framework/Versions/4/QtCore
QFileInfo::size() constreferenced from libQtCLucene expected to be
defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/
Versions/4/QtCore
QFileInfo::exists() constreferenced from libQtCLucene expected to be
defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/
Versions/4/QtCore
QFileInfo::isFile() constreferenced from libQtCLucene expected to be
defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/
Versions/4/QtCore
QFileInfo::isSymLink() constreferenced from libQtCLucene expected to
be defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/
Versions/4/QtCore
QIODevice::isOpen() constreferenced from libQtCLucene expected to be
defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/
Versions/4/QtCore
QString::rightRef(int) constreferenced from libQtCLucene expected to
be defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/
Versions/4/QtCore
QString::operator<(QString const&) constreferenced from libQtCLucene
expected to be defined in /usr/local/Trolltech/Qt-4.5.2/lib/
QtCore.framework/Versions/4/QtCore
QListData::remove(int) referenced from libQtCLucene expected to be
defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/
Versions/4/QtCore
QListData::insert(int) referenced from libQtCLucene expected to be
defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/
Versions/4/QtCore
QString::toAscii() constreferenced from libQtCLucene expected to be
defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/
Versions/4/QtCore
collect2: ld returned 1 exit status
make[4]: *** [../../../../bin/Assistant.app/Contents/MacOS/Assistant]
Error 1
make[3]: *** [sub-assistant-install_subtargets-ordered] Error 2
make[2]: *** [sub-tools-install_subtargets-ordered] Error 2
make[1]: *** [sub-assistant-install_subtargets-ordered] Error 2
make: *** [sub-tools-install_subtargets-ordered] Error 2
Any help is greatly appreciated.
-jason
On Sep 23, 2009, at 10:01 AM, Richard wrote:
Check that there is no qmake in your path from before, and that
'qmake -v' points to the correct version.
-Richard
On Sep 23, 2009, at 1:33 PM, Jason Kolbenheyer wrote:
> I've been trying to compile QT 4.5 for the past few days. My
> settings are:
>
> ./configure -debug-and-release -static -no-fast -stl -qt-sql-
> sqlite -qt-zlib -qt-libpng -qt-libmng -qt-libtiff -qt-libjpeg -
> webkit -universal -sdk /Developer/SDKs/MacOSX10.4u.sdk -nomake
> examples -nomake demos
>
> I get the error:
>
> QListData::remove(int) referenced from libQtCLucene expected to be
> defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/
> Versions/4/QtCore
> QListData::insert(int) referenced from libQtCLucene expected to be
> defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/
> Versions/4/QtCore
> QString::toAscii() constreferenced from libQtCLucene expected to be
> defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/
> Versions/4/QtCore
> collect2: ld returned 1 exit status
> lipo: can't open input file: /var/tmp//ccLACO3z.out (No such file
> or directory)
> make[4]: *** [../../../../bin/Assistant.app/Contents/MacOS/
> Assistant] Error 1
> make[3]: *** [sub-assistant-make_default-ordered] Error 2
> make[2]: *** [sub-tools-make_default-ordered] Error 2
> make[1]: *** [sub-assistant-make_default-ordered] Error 2
> make: *** [sub-tools-make_default-ordered] Error 2
>
> I know this is due to the -universal setting, I'm not sure how to
> fix, I've tried:
>
> env CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch
> i386 -arch ppc" \
> LDFLAGS="-arch i386 -arch ppc" ./configure -debug-and-release -
> static -no-fast -stl -qt-sql-sqlite -qt-zlib -qt-libpng -qt-libmng -
> qt-libtiff -qt-libjpeg -webkit -universal -nomake examples -nomake
> demos
>
> as per: http://developer.apple.com/mac/library/technotes/tn2005/
> tn2137.html#TNTAG2
>
> But no luck. I appreciate any assistance anyone can offer. Thanks
> and have a great day.
>
> -jason
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090923/46cda75c/attachment.html
More information about the Qt-interest-old
mailing list