Hello!

> On Wed, 19 Nov 2008 22:46:50 +1000
> "James C. McPherson" <James.C.McPherson at gmail.com>
> wrote:
> 
> > Free wrote:
> > > and Makefile, in src/tools/moc, contains:
> > > CC            = $CC
> > > CXX           = $CXX
> > 
> > Perhaps if you set those variables in your
> environment and
> > then ran the make/build/... it might help?

No, sadly, it doesn't :(

[...]
> But all those vars -ARE- set if you run ".
> /opt/jdsbld/bin/env.sh'"

Exactly.

I'm having the same problems.

--($ ~/Sources/SFE)-- echo $CC
/opt/SunStudioExpress/bin/suncc

--($ ~/Sources/SFE)-- echo $CXX
/opt/SunStudioExpress/bin/CC

But even though these variables are set (by first calling ". 
/opt/jdsbld/bin/env.sh"),
Qt used /usr/sfw/bin/g++ earlier on. Eg.:

pkgbuild: Creating qmake. Please wait...
pkgbuild: /usr/sfw/bin/g++ -c -o project.o  -DQMAKE_OPENSOURCE_EDITION -I. 
-Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac 
-I/export/home/user/packages/BUILD/qt-x11-opensource-src-4.4.2/include 
-I/export/home/user/packages/BUILD/qt-x11-opensource-src-4.4.2/include/QtCore 
-I/export/home/user/packages/BUILD/qt-x11-opensource-src-4.4.2/include 
-I/export/home/user/packages/BUILD/qt-x11-opensource-src-4.4.2/include/QtCore 
-I/export/home/user/packages/BUILD/qt-x11-opensource-src-4.4.2/src/corelib/global
 -I/export/home/user/packages/BUILD/qt-x11-opensource-src-4.4.2/src/script 
-DQT_NO_PCRE -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT 
-DQT_NO_STL -DQT_BUILD_QMAKE -DQT_NO_COMPRESS 
-I/export/home/user/packages/BUILD/qt-x11-opensource-src-4.4.2/mkspecs/solaris-g++
 -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT  
project.cpp
[...]

But maybe that was just for qmake?

Dick, did you get Qt to build?

Alexander 

I'm on OpenSolaris 2008.11 rc1b snv_101a
-- 
This message posted from opensolaris.org

Reply via email to