Results 1 to 4 of 4

Thread: installing qt4.8 on 32b on linux RedHat5 64b machine

  1. #1
    Join Date
    Jun 2015
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default 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:
    env COMPILER_TAG=gcc4.4 GCC=/usr/bin/gcc44 configure -no-openssl -no-webkit -platform linux-g++-32
    and compilation command:
    env COMPILER_TAG=gcc4.4 GCC=/usr/bin/gcc44 LD_LIBRARY_PATH=/usr/bin gmake
    on compilation i get the following error

    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

  2. #2
    Join Date
    Mar 2017
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default 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

  3. #3
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default 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.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  4. #4
    Join Date
    Mar 2017
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default 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.

Similar Threads

  1. Replies: 16
    Last Post: 28th February 2011, 10:34
  2. installing the Packages in remote machine Simulator
    By Yeshwin in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 21st February 2009, 16:06
  3. Installing 32-bit static version on 64-bit machine.
    By davemar in forum Installation and Deployment
    Replies: 0
    Last Post: 18th October 2008, 11:13
  4. Deploying application on Linux machine without Qt
    By will49 in forum Installation and Deployment
    Replies: 2
    Last Post: 10th July 2008, 23:41
  5. installing and Qt3 and Qt4 in a single machine
    By joseph in forum Installation and Deployment
    Replies: 1
    Last Post: 20th June 2007, 14:58

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.