Painless installation of Qt on a set of linux servers?



  • I am currently working on servers which run with SUSE Enterprise 11, and I need to develop Qt modules for these servers. It's my first time in any admin position. My aim is that those modules be compiled and installed on the servers with the least effort possible (well not for me...).

    The issue is that I don't know the right way to proceed.T he issues I have met:
    Choosing the right version of Qt (and finding it)
    For now, I am going to try to build the 4.4.3, which is the version of the runtime libraries used by all programs on the machine.There is no development library 4.4.3 on Suse enterprise, and I need to build it from source. Do anyone know where I can find rpm package for qt devel? There are some in Opensuse but They are incompatible.
    Building process
    Is it possible to precompile in some way? Installing from the archive take a lot of time.
    Where do I break the following installation steps in two pieces:
    @
    ./configure -prefix XXX -etc...
    gmake
    gmake install

    @

    Qt creator
    I want to use the latest Qt Creator for the devs. But using the provided installer doesn't work. The usual error message :
    @
    /lib/libc.so.6 : version GLIBC_2.11 not found (required by QtGui.so.4)
    /lib/libc.so.6 : version GLIBC_2.10 not found (required by QtGui.so.4)
    @

    So it seems I have to either install from source or from the SDK. Either way It is not as seamless as I expected.


  • Moderators

    The only seamless way to install anything in Linux is to have packages for it. So I suggest you go and build some custom packages for your distribution. It is not that hard!

    Yes, our binaries require a pretty fresh glibc on the system.



  • Ok Tobias, I am going to try to follow the steps on "the ibm rpm how to":http://www.ibm.com/developerworks/linux/library/l-rpm1/. One question, can I precompile, and just execute
    @gmake install@

    on each system??


  • Moderators

    No, the idea is to build binaries once, package them up into on .rpm file. This RPM can then get distributed to the machines (via the normal distribution mechanism you have in place for updates, or manually) and gets installed there, just like all the other software packaged by redhat.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.