[kde-solaris] Re: QT - 64bit

Steve Evans stevee at zuken.co.uk
Fri May 30 10:47:12 CEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 29 May 2003, lists at apdtech.com wrote:

> Hello,
>
> I would like to build QT 64bit on my system. I am currently running
> Solaris 9, everything else I have installed is 64bit. Then I am
> going to build KDE 3x 64bit. GCC 3.2.2 is my compiler.
>
>
> Problem is if I choose:
>
> 	solaris-64 as my platform i get the following error:
>
> 	/usr/local/src/sys/qt-x11-free-3.1.2#CFLAGS=-m64
> 	LDFLAGS=-m64 CXXFLAGS=-m64 ./configure \
> 	> --prefix=/usr/local/qt-3.1.2 -system-libpng \
> 	> -system-libjpeg -platform solaris-64 \
> 	> -system-zlib -shared
>
> 	This is the Qt/X11 Free Edition.
>
> 	You are licensed to use this software under the terms of
> 	either the Q Public License (QPL) or the GNU General Public
> 	License (GPL).
>
> 	Type 'Q' to view the Q Public License.
> 	Type 'G' to view the GNU General Public License.
> 	Type 'yes' to accept this license offer.
> 	Type 'no' to decline this license offer.
>
> 	Do you accept the terms of either license? yes
>
> 	Creating qmake. Please wait... /usr/local/bin/make -f
> 	Makefile qmake make[1]: Entering directory
> 	`/usr/local/src/sys/qt-x11-free-3.1.2/qmake' CC -c -o
> 	project.o -I. -Igenerators -Igenerators/unix
> 	-Igenerators/win32 -Igenerators/mac
> 	-I/usr/local/src/sys/qt-x11-free-3.1.2/include/qmake
> 	-I/usr/local/src/sys/qt-x11-free-3.1.2/include
> 	-I/usr/local/src/sys/qt-x11-free-3.1.2/include
> 	-DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT
> 	-DQT_NO_STL -DQT_NO_COMPRESS
> 	-I/usr/local/src/sys/qt-x11-free-3.1.2/mkspecs/solaris-cc-64
> 	project.cpp make[1]: CC: Command not found make[1]: ***
> 	[project.o] Error 127 make[1]: Leaving directory
> 	`/usr/local/src/sys/qt-x11-free-3.1.2/qmake' make: ***
> 	[uqmake] Error 2 qmake failed to build. Aborting.
>
> Ok so f' solaris-64 and I try solaris-g++. It works fine, however
> wehen I set flags CXXFLAGS and CFLAGS and LDFLAGS to -m64 the
> compiler doesnt pick it up.
>
> What am I doing wrong?
>

The QT build process doesn't use CXXFLAGS etc. from the environment,
instead they are set in the qmake.conf file for the platform, which
can be found in the directory mkspecs/<platform>, so you could edit
that file to add the -m64 flag. However in my copy of QT 3.1.2 there
is a solaris-g++-64 platform, which appears to have that switch.
Therefore your best bet is to build using a platform of
solaris-g++-64.

Steve
- -- 
____________________________________________________________________________
Steve Evans,
Zuken Limited,                     TEL:   +44 (0)1454 207800 ext 8607
1500 Aztec West,                   Fax:   +44 (0)1454 207803
Almondsbury,                       mailto:stevee at zuken.co.uk
Bristol, BS32 4RF, UK              Web:   http://www.zuken.com
Registered Linux user #217906:     http://counter.li.org
Public Encryption Key:             http://www.gorbag.com/public-key-work.html
_____________________________________________________________________________
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (SunOS)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQE+1xqM1a67iNP86GcRAm/hAJ90ebGRx+RQ8TQ+qVjlJ1Ak2aLWZACgpXGI
MiVoGT7yq+H+sa0Y1Y8yesE=
=ILge
-----END PGP SIGNATURE-----


More information about the kde-solaris mailing list