[indiana-discuss] qt4 questions again
gerard henry
gerard.henry at free.fr
Sat Oct 4 00:52:50 PDT 2008
hello all,
is anybody succedeed in compiling qt4 on os2008.11 (snv_b98)?
The compile failed at the beginning due to a misformed variable:
-bash-3.2$ gmake
cd src/tools/moc/ && gmake -f Makefile
gmake[1]: Entering directory
`/export/home/henry/qt-x11-opensource-src-4.4.3/src/tools/moc'
XX -c XXFLAGS -fpermissive -O2 -Wall -W -DQT_BOOTSTRAPPED -DQT_MOC
-DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_LIBRARY -DQT_NO_STL
-DQT_NO_COMPRESS -DQT_NO_DATASTREAM -DQT_NO_TEXTSTREAM -DQT_NO_TEXTCODEC
-DQT_NO_UNICODETABLES -DQT_NO_THREAD -DQT_NO_REGEXP -DQT_NO_QOBJECT
-DQT_NO_SYSTEMLOCALE -DQT_NO_GEOM_VARIANT -DQT_NO_USING_NAMESPACE
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/solaris-g++
-I. -I../../corelib/arch/generic -I../../../include -I.
-I../../../include/QtCore -I. -I.uic/release-shared -I/usr/sfw/include
-o release-shared/moc.o moc.cpp
gmake[1]: XX: Command not found
gmake[1]: *** [release-shared/moc.o] Error 127
the same command works without trouble on Solaris 10 U5 (sun v40z):
cd src/tools/moc/ && gmake -f Makefile
gmake[1]: Entering directory
`/local/apps/src/qt-x11-opensource-src-4.4.3/src/tools/moc'
g++ -c -O2 -Wall -W -DQT_BOOTSTRAPPED -DQT_MOC -DQT_NO_CODECS
-DQT_LITE_UNICODE -DQT_NO_LIBRARY -DQT_NO_STL -DQT_NO_COMPRESS
-DQT_NO_DATASTREAM -DQT_NO_TEXTSTREAM -DQT_NO_TEXTCODEC
-DQT_NO_UNICODETABLES -DQT_NO_THREAD -DQT_NO_REGEXP -DQT_NO_QOBJECT
-DQT_NO_SYSTEMLOCALE -DQT_NO_GEOM_VARIANT -DQT_NO_USING_NAMESPACE
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/solaris-g++
-I. -I../../corelib/arch/generic -I../../../include -I.
-I../../../include/QtCore -I. -I.uic/release-shared -I/usr/sfw/include
-o release-shared/moc.o moc.cpp
so why, in os2008.11, the C++ compiler isn't well setup? I don't
understand how it can setup XX as C++ compiler instead of the right
command, and what is strange is that g++ appears later in the Makefile!?
The follwing steps are used to compile qt4:
- get the tarball qt-x11-opensource-src-4.4.3
- run configure with: "./configure -platform solaris-g++"
- then run gmake
- PATH is
-bash-3.2$ export PATH=/usr/bin:/usr/sbin:/usr/bin/X11:/usr/sfw/bin
Thanks in advance for help,
gerard
More information about the indiana-discuss
mailing list