You are not logged in.

#1 2011-12-24 12:50:16

Si
Member
Registered: 2006-09-11
Posts: 57

[SOLVED] Unable to build qt 4.8.0

I'm getting strange build errors with qt 4.8.0. I've never seen such errors before, and I have no idea what caused it.

http://pastebin.com/9dVBNLRz

The first suspicious signs are

ln: failed to create symbolic link `/home/user/abs/qt/src/qt-everywhere-opensource-src-4.8.0/include/QtCore/qconfig.h': File exists
ln: failed to create symbolic link `/home/user/abs/qt/src/qt-everywhere-opensource-src-4.8.0/include/Qt/qconfig.h': File exists

Then it starts to complain with lots of these

Finding project files. Please wait...
/usr/share/qt/mkspecs/modules/qt_phonon.pri:8: Unknown test function: !contains
Reading /home/user/abs/qt/src/qt-everywhere-opensource-src-4.8.0/src/tools/bootstrap/bootstrap.pro
/usr/share/qt/mkspecs/modules/qt_phonon.pri:8: Unknown test function: !contains
Reading /home/user/abs/qt/src/qt-everywhere-opensource-src-4.8.0/src/tools/moc/moc.pro

And then these

WARNING: Failure to find: generated/AuthenticationManagerMessageReceiver.cpp
WARNING: Failure to find: generated/DownloadProxyMessageReceiver.cpp
WARNING: Failure to find: generated/DrawingAreaMessageReceiver.cpp
WARNING: Failure to find: generated/DrawingAreaProxyMessageReceiver.cpp

Finally it fails at building assistant. Sorry I don't have the error message with me anymore, but it's the same error as
http://comments.gmane.org/gmane.linux.a … eral/37469

Anyone know what went wrong? Thanks.

Last edited by Si (2011-12-25 02:53:33)

Offline

#2 2011-12-25 02:53:19

Si
Member
Registered: 2006-09-11
Posts: 57

Re: [SOLVED] Unable to build qt 4.8.0

Strangely, Qt's configure script still looks for QtWebKit even though -no-webkit was specified. But if the package qtwebkit is removed from the system prior to compiling Qt, then webkit is not detected and it'll build happily.

Offline

Board footer

Powered by FluxBB