Results 1 to 8 of 8

Thread: uninstalling Qt 3.1 and loading qt4.4.3

  1. #1
    Join Date
    Sep 2008
    Posts
    14
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default uninstalling Qt 3.1 and loading qt4.4.3

    hello members

    I have preloaded Qt 3.1 coming free in red hat linux kernel 2.4.I want to load Qt 4.4.3.

    a)how to uninstall Qt 3.1. I tried by

    rpm -e qt-devel and related links to qt-designer,kdevelop

    then i uninstalled and Qmake is not working.

    b)how to load qt-x11-opensource-src-4.4.3.tar trial version downloaded from trolltech site.

    c)names of packages to uninstall Qt3.1 in a better way.

    please suggest better method to install and uninstall Qt .

    regards Amrita

  2. #2
    Join Date
    Oct 2007
    Location
    India
    Posts
    162
    Thanks
    20
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: uninstalling Qt 3.1 and loading qt4.4.3

    For uninstalling Qt 3, first try to find all installed rpms of Qt 3. You can use the following command to find Qt 3 rpms:

    $ rpm -qa |grep -i qt
    This will list all Qt rpms. Then you can use rpm -e option to uninstall the rpms.

    For installing Qt 4.4.3, try to find a compile version of Qt from the internet. But it might be difficult to get a compiled version since you are using an old kernel and possibly a old version of Linux.

    If you want to build it from source, then following the commands given below:

    $ tar -xvf qt-x11-opensource-src-4.4.3.tar
    Thi will create a folder named qt-x11-*

    $ cd qt-x11*
    $ ./configure
    $ make
    $ sudo make install

    You might get some errors during configure or make. If you get any errors, it would be because of missing dependencies. So, you'll have to install the dependencies first and then try compilating Qt again.

  3. #3
    Join Date
    Sep 2008
    Posts
    14
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: uninstalling Qt 3.1 and loading qt4.4.3

    hello

    from trolltech.com i have downloaded
    qt-x11-opensource-src-4.4.3.tar.gz
    tar -zxvf qt-x11-opensource-src-4.4.3.tar.gz
    untarred it .


    ./configure
    make install
    ***********************************
    it ended with following errors
    n file included from /usr/include/openssl/ssl.h:179,
    from ssl/qsslsocket_openssl_p.h:79,
    from ssl/qsslsocket_openssl_symbols_p.h:64,
    from ssl/qsslcertificate.cpp:116:
    /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
    In file included from /usr/include/openssl/ssl.h:179,
    from ssl/qsslsocket_openssl_p.h:79,
    from ssl/qsslsocket_openssl_symbols_p.h:64,
    from ssl/qsslcertificate.cpp:116:
    /usr/include/openssl/kssl.h:132: 'krb5_enctype' is used as a type, but is not
    defined as a type.
    /usr/include/openssl/kssl.h:134: parse error before `*' token
    /usr/include/openssl/kssl.h:147: parse error before `*' token
    /usr/include/openssl/kssl.h:151: parse error before `*' token
    /usr/include/openssl/kssl.h:153: parse error before `*' token
    /usr/include/openssl/kssl.h:155: parse error before `*' token
    /usr/include/openssl/kssl.h:157: parse error before `*' token
    /usr/include/openssl/kssl.h:159: `krb5_context' was not declared in this scope
    /usr/include/openssl/kssl.h:159: parse error before `,' token
    /usr/include/openssl/kssl.h:160: `krb5_context' was not declared in this scope
    /usr/include/openssl/kssl.h:160: parse error before `,' token
    /usr/include/openssl/kssl.h:163: `krb5_timestamp' was not declared in this
    scope
    /usr/include/openssl/kssl.h:163: parse error before `,' token
    /usr/include/openssl/kssl.h:165: parse error before `*' token
    /usr/include/openssl/kssl.h:167: `krb5_enctype' was not declared in this scope
    /usr/include/openssl/kssl.h:167: parse error before `,' token
    make[1]: *** [.obj/release-shared/qsslcertificate.o] Error 1
    make[1]: Leaving directory `/usr/local/qt-x11-opensource-src-4.4.3/src/network'
    make: *** [sub-network-install_subtargets-ordered] Error 2

    ************************************
    Again i tried
    gmake confclean

    ./configure -no-openssl

    make install
    ended with following error

    g++ -c -pipe -O2 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PLUGIN
    -DQT_GUI_
    LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED
    -I../../
    ../../mkspecs/linux-g++ -I. -I../../../../include/QtCore
    -I../../../../include/Q
    tCore -I../../../../include/QtGui -I../../../../include/QtGui
    -I../../../../incl
    ude -I.moc/release-shared -I.uic/release-shared -o
    .obj/release-shared/qtiffhand
    ler.o qtiffhandler.cpp
    qtiffhandler.cpp: In member function `virtual bool
    QTiffHandler::read(QImage*)':
    qtiffhandler.cpp:148: `TIFFReadRGBAImageOriented' undeclared (first use this
    function)
    qtiffhandler.cpp:148: (Each undeclared identifier is reported only once for
    each function it appears in.)
    make[3]: *** [.obj/release-shared/qtiffhandler.o] Error 1
    make[3]: Leaving directory
    `/usr/local/qt-x11-opensource-src-4.4.3/src/plugins/i
    mageformats/tiff'
    make[2]: *** [sub-tiff-install_subtargets] Error 2
    make[2]: Leaving directory
    `/usr/local/qt-x11-opensource-src-4.4.3/src/plugins/i
    mageformats'
    make[1]: *** [sub-imageformats-install_subtargets] Error 2
    make[1]: Leaving directory
    `/usr/local/qt-x11-opensource-src-4.4.3/src/plugins'
    make: *** [sub-plugins-install_subtargets-ordered] Error 2
    ***************************************

    please let me know i should download an rpm ....where is the problem

    thanks

    Amrita

  4. #4
    Join Date
    Oct 2007
    Location
    India
    Posts
    162
    Thanks
    20
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: uninstalling Qt 3.1 and loading qt4.4.3

    the 1st error you are getting is because of openssl.
    2nd error message might be coming as you might not have libtiff installed. Try compiling and installing libtiff first.

    You can try installing using rpms but i doubt any rpms will be available for your old red hat kernel. Even with rpms you have to install the dependencies first.

    If you are not able to build it from source, i'll advise you to use a new version of Linux like Fedora Core 8 or 9 which comes with Qt 4. So, you can install Qt 4 and other dependencies while installing the OS itself.

    If you have a working internet connection i'll advise you to use Ubuntu as in Ubuntu you can easily install software using internet. The best part is that it automatically downloads and installs all dependencies.

  5. #5
    Join Date
    Sep 2008
    Posts
    14
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: uninstalling Qt 3.1 and loading qt4.4.3

    hello

    i would search for libtiff.my problem is my test bed is not having internet connection

    other drivers developed are till today on 2.4 linux kernel ,my job is to work with Qt...working under constraints but never mind ...i will search the library.

    thanks
    Amrita

  6. #6
    Join Date
    May 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: uninstalling Qt 3.1 and loading qt4.4.3

    Quote Originally Posted by montylee View Post
    the 1st error you are getting is because of openssl.
    2nd error message might be coming as you might not have libtiff installed. Try compiling and installing libtiff first.

    You can try installing using rpms but i doubt any rpms will be available for your old red hat kernel. Even with rpms you have to install the dependencies first.

    If you are not able to build it from source, i'll advise you to use a new version of Linux like Fedora Core 8 or 9 which comes with Qt 4. So, you can install Qt 4 and other dependencies while installing the OS itself.

    If you have a working internet connection i'll advise you to use Ubuntu as in Ubuntu you can easily install software using internet. The best part is that it automatically downloads and installs all dependencies.
    As you said,how can i slove the first question.PS:I am install the qt4-x11;thanx

  7. #7
    Join Date
    Oct 2007
    Location
    India
    Posts
    162
    Thanks
    20
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: uninstalling Qt 3.1 and loading qt4.4.3

    Quote Originally Posted by johnsu View Post
    As you said,how can i slove the first question.PS:I am install the qt4-x11;thanx
    can you post the exact error you are getting? For resolving thr krb5.h error in openssl, try this link:
    http://www.raditha.com/linux/krb5.h.php

  8. #8
    Join Date
    May 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: uninstalling Qt 3.1 and loading qt4.4.3

    thanx,i have sloved it by -no-openssl

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.