installing qt4.8 on 32b on linux RedHat5 64b machine
Hi
I'm trying to install qt4.8.4 32b version on RedHat5.6 64 machine, here is my config command:
Quote:
env COMPILER_TAG=gcc4.4 GCC=/usr/bin/gcc44 configure -no-openssl -no-webkit -platform linux-g++-32
and compilation command:
Quote:
env COMPILER_TAG=gcc4.4 GCC=/usr/bin/gcc44 LD_LIBRARY_PATH=/usr/bin gmake
on compilation i get the following error
Quote:
In file included from /usr/include/freetype2/freetype/freetype.h:41,
from ../../include/QtGui/private/../../../src/gui/text/qfontengine_ft_p.h:59,
from ../../include/QtGui/private/qfontengine_ft_p.h:1,
from painting/qtextureglyphcache.cpp:48:
/usr/include/freetype2/freetype/config/ftconfig.h:7:26: error: ftconfig-32.h: No such file or directory
/usr/include/freetype2/freetype/fttypes.h:167: error: 'FT_UInt32' does not name a type
Is that system problem? qt config problem?
Thanks,
Natalie
Re: installing qt4.8 on 32b on linux RedHat5 64b machine
Natalie - Did you ever resolve this problem? i'm having similar problems while trying to build Qt 4.8.7 on 64-bit RHEL6 machine.
Thanks.
Wendy
Re: installing qt4.8 on 32b on linux RedHat5 64b machine
Are you trying to build a 64-bit or a 32-bit version of Qt 4.8.7? If you are trying to build a 32-bit version, you may need to add multilib support (among other things) to your RHEL6 to get all of the 32-bit headers and libraries needed to build a 32-bit app on a 64-bit linux-based OS. By default, most linux OS versions are configured with build support only for the same "bitness" as the OS and hardware itself, ie. 64-bit in your case.
If this is your problem, google for something like "build 32-bit on 64-bit linux" to get more information than you'll ever need.
Re: installing qt4.8 on 32b on linux RedHat5 64b machine
Thanks for the information. Yes, I'm in building a 32-bit on a 64-bit machine.
You mentioned adding multilib support. I checked my /etc/yum.conf file, and saw "multilib_policy=all". Does that cover adding multilib support?
Do I have to build from source? Are there pre-compiled versions available for 32-bit Qt 4.8.7?
thanks again.