Joe’s Linux Blog

June 9, 2010

Qt 4.6.3 and qt-creator 1.3.1-1 updates for Centos 5.5

Filed under: Centos,Configuration,qt — Tags: , , , , — jfreivald @ 9:49 am

I’ve built the Qt 4.6.3 packages for Centos 5.5.

To install, as root, type:

rpm -ivh http://software.freivald.com/centos/software.freivald.com-1.0.0-1.noarch.rpm
yum update fontconfig fontconfig-devel qt4 qt4-devel qt4-doc qt4-postgresql qt4-odbc qt4-sqlite qt-creator

Also, I’ve updated the qt-creator package to 1.3.1-1.  The issue with the package was that on the 64-bit environment, qt-creator continues to look into /usr/lib/qtcreator for it’s plugins instead of /usr/lib64/qtcreator.  I added a link from /usr/lib/qtcreator to /usr/lib64/qtcreator in the x86_64 arch build.  This means that you should not install the 32-bit version and the 64 bit version on the same machine – but I’m not sure that was ever a good idea in the first place. :)

Please post here if you have any issues with the Qt 4.6.3 build or the qtcreator 1.3.1-1.

I’ve also posted the public key that I use to sign the packages here.  To use it, as root, type:

rpm --import http://software.freivald.com/centos/RPM-GPG-KEY-software.freivald.com

NOTE: If you use yum-priorities you will need to set this repository to the same level as ‘core’ for these to install properly.  You’ll know if you have a priorities issue because ‘yum install qt-creator’ will scream at you that you are missing libaries.  These libraries come in the version that I compile but not in the Centos core distribution and if the priorities are wrong it will pull those packages from core.

Cheers.

2 Comments »

  1. Hi there, I am getting the following dependency errors, relating to fontconfig when trying to install the packages you mention. Did you get anything like this?

    [root@vmfdedev ~]# yum update fontconfig fontconfig-devel qt4 qt4-devel qt4-doc qt4-postgresql qt4-odbc qt4-sqlite qt-creator
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * addons: mirror.ukhost4u.com
    * base: mirror.ukhost4u.com
    * epel: mirror01.th.ifl.net
    * extras: mirror.ukhost4u.com
    * rpmforge: apt.sw.be
    * rpmfusion-free-updates: mirror01.th.ifl.net
    * rpmfusion-free-updates-testing: mirror01.th.ifl.net
    * updates: mirror.ukhost4u.com
    software.freivald.com | 951 B 00:00
    software.freivald.com/primary | 18 kB 00:00
    software.freivald.com 63/63
    Setting up Update Process
    Package(s) qt4 available, but not installed.
    Package(s) qt4-devel available, but not installed.
    Package(s) qt4-doc available, but not installed.
    Package(s) qt4-postgresql available, but not installed.
    Package(s) qt4-odbc available, but not installed.
    Package(s) qt4-sqlite available, but not installed.
    Package(s) qt-creator available, but not installed.
    Resolving Dependencies
    –> Running transaction check
    –> Processing Dependency: fontconfig = 2.4.1 for package: fontconfig-devel
    –> Processing Dependency: fontconfig = 2.4.1 for package: fontconfig-devel
    —> Package fontconfig.i386 0:2.5.93-7 set to be updated
    —> Package fontconfig.x86_64 0:2.5.93-7 set to be updated
    —> Package fontconfig-devel.x86_64 0:2.5.93-7 set to be updated
    –> Finished Dependency Resolution
    fontconfig-devel-2.4.1-7.el5.i386 from installed has depsolving problems
    –> Missing Dependency: fontconfig = 2.4.1 is needed by package fontconfig-devel-2.4.1-7.el5.i386 (installed)
    fontconfig-devel-2.4.1-7.el5.i386 from installed has depsolving problems
    –> Missing Dependency: fontconfig = 2.4.1 is needed by package fontconfig-devel-2.4.1-7.el5.i386 (installed)
    Error: Missing Dependency: fontconfig = 2.4.1 is needed by package fontconfig-devel-2.4.1-7.el5.i386 (installed)
    You could try using –skip-broken to work around the problem
    You could try running: package-cleanup –problems
    package-cleanup –dupes
    rpm -Va –nofiles –nodigest
    The program package-cleanup is found in the yum-utils package.

    Comment by trojanfoe — September 3, 2010 @ 12:46 am

  2. This problem has not been reported before. It looks like you have the .i386 devel package for fontconfig, and in my repository it is an x86_64 package. Try removing your fontconfig-devel and then upgrading, and then installing fontconfig-devel. If you have a lot of deps for fontconfig-devel then you can try rpm -e –dbonly –nodeps, followed by the upgrade and then the re-install of the -devel package.

    I’ll check the -devel package structure and see if I need to add the i386 devel packages to the x86_64 repository. It just be matter of housekeeping since -devel packages are mostly just headers. I have it as an x86_64 because on my 64-bit machines I have removed all 32-bit packages and have “exclude=*.i386 *.i486 *.i586 *.i686″ in my /etc/yum.conf.

    Comment by jfreivald — September 3, 2010 @ 7:54 pm

RSS feed for comments on this post.

Leave a comment

You must be logged in to post a comment.

Powered by WordPress