| Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 4 | |
Hi List!
I have problems installing Qt 4.1.4 for x11. I have allready installed
this version of Qt successfully on my system, but I had to reconfigure my
software as I need qvfb. So I removed the directory and untarred my file
once again. Then I configured it with
./configure -prefix /usr/local/Trolltech/Qt-4.1.4-x86 -debug-and-release
-no-qt3support -pch -qvfb -make tools
Everything went fine. I accepted the license and everything seemed ok.
Then I tried to run make without any parameters and this is what happened:
make
cd src && /usr/local/Trolltech/qt-x11-commercial-src-4.1.4/bin/qmake
src.pro -spec mkspecs/linux-g++ -unix -o Makefile
Could not find mkspecs for your QMAKESPEC after trying:
/usr/local/Trolltech/Qt-4.1.4/mkspecs
Error processing project file: src.pro
make: *** [src/Makefile] Error 3
Does anybody know, what went wrong? I allready tried using ./configure
without setting a prefix. But this did not change anything.
So thanks in advance for any help!
Bye,
Sumpi
On Wednesday 14 February 2007, andreas.sumper@xxxxxxxxxxxx wrote: > ./configure -prefix /usr/local/Trolltech/Qt-4.1.4-x86 -debug-and-release > -no-qt3support -pch -qvfb -make tools > Could not find mkspecs for your QMAKESPEC after trying: > /usr/local/Trolltech/Qt-4.1.4/mkspecs Try running configure without "-make tools". Then it should have a chance to completely bootstrap itself. The error came from make trying to find an already installed Qt 4.1.4. Konrad
Attachment:
Attachment:
pgpVMj3qgQlVR.pgp
Description: PGP signature
Message 3 in thread
Hi once again!
I managed to install qt 4.1.4 for x11 again and it looks like it works.
But when I try to install qt with QVFB-Support, i get the following error:
./configure -prefix /usr/local/Trolltech/Qt-4.1.4-x86_qvfb
-debug-and-release -no-qt3support -pch -qvfb && make
/usr/local/Trolltech/qt-x11-commercial-src-4.1.4/bin/moc
-DQT_EDITION=QT_EDITION_DESKTOP -DQT_GUI_LIB -DQT_CORE_LIB
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED
-I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include/QtGui
-I../../include -I. -I.moc/debug-shared qvfb.cpp -o
.moc/debug-shared/qvfb.moc
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_EDITION=QT_EDITION_DESKTOP
-DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-DQT_SHARED -I../../mkspecs/linux-g++ -I. -I../../include/QtCore
-I../../include/QtGui -I../../include -I. -I.moc/debug-shared -o
.obj/debug-shared/qvfb.o qvfb.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_EDITION=QT_EDITION_DESKTOP
-DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-DQT_SHARED -I../../mkspecs/linux-g++ -I. -I../../include/QtCore
-I../../include/QtGui -I../../include -I. -I.moc/debug-shared -o
.obj/debug-shared/qvfbview.o qvfbview.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_EDITION=QT_EDITION_DESKTOP
-DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-DQT_SHARED -I../../mkspecs/linux-g++ -I. -I../../include/QtCore
-I../../include/QtGui -I../../include -I. -I.moc/debug-shared -o
.obj/debug-shared/qvfbratedlg.o qvfbratedlg.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_EDITION=QT_EDITION_DESKTOP
-DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-DQT_SHARED -I../../mkspecs/linux-g++ -I. -I../../include/QtCore
-I../../include/QtGui -I../../include -I. -I.moc/debug-shared -o
.obj/debug-shared/main.o main.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_EDITION=QT_EDITION_DESKTOP
-DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-DQT_SHARED -I../../mkspecs/linux-g++ -I. -I../../include/QtCore
-I../../include/QtGui -I../../include -I. -I.moc/debug-shared -o
.obj/debug-shared/qanimationwriter.o qanimationwriter.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_EDITION=QT_EDITION_DESKTOP
-DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-DQT_SHARED -I../../mkspecs/linux-g++ -I. -I../../include/QtCore
-I../../include/QtGui -I../../include -I. -I.moc/debug-shared -o
.obj/debug-shared/skin.o skin.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_EDITION=QT_EDITION_DESKTOP
-DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-DQT_SHARED -I../../mkspecs/linux-g++ -I. -I../../include/QtCore
-I../../include/QtGui -I../../include -I. -I.moc/debug-shared -o
.obj/debug-shared/qvfbprotocol.o qvfbprotocol.cpp
qvfbprotocol.cpp:23:21: error: qvfbhdr.h: No such file or directory
qvfbprotocol.cpp: In constructor
'QVFbKeyPipeProtocol::QVFbKeyPipeProtocol(int)':
qvfbprotocol.cpp:72: error: 'QT_VFB_KEYBOARD_PIPE' was not declared in
this scope
qvfbprotocol.cpp: In member function 'virtual void
QVFbKeyPipeProtocol::sendKeyboardData(QString, int, int, bool, bool)':
qvfbprotocol.cpp:89: error: 'QVFbKeyData' was not declared in this scope
qvfbprotocol.cpp:89: error: expected `;' before 'kd'
qvfbprotocol.cpp:90: error: 'kd' was not declared in this scope
qvfbprotocol.cpp: In constructor 'QVFbMousePipe::QVFbMousePipe(int)':
qvfbprotocol.cpp:101: error: 'QT_VFB_MOUSE_PIPE' was not declared in this
scope
make[2]: *** [.obj/debug-shared/qvfbprotocol.o] Error 1
make[2]: Leaving directory
`/usr/local/Trolltech/qt-x11-commercial-src-4.1.4/tools/qvfb'
make[1]: *** [sub-qvfb-make_default-ordered] Error 2
make[1]: Leaving directory
`/usr/local/Trolltech/qt-x11-commercial-src-4.1.4/tools'
make: *** [sub-tools-make_default-ordered] Error 2
Could someone please tell me, what I am doing wrong. I did not find
qvfbhdr.h in the tools-directory. But including this file leads to other
compiler errors. My Question is, if it is possible to install qvfb-support
within qt 4.1.4
Thanks in advance!
Bye,
Sumpi