Page 1 of 3 123 LastLast
Results 1 to 15 of 35

Thread: Install Guide - QT 3.1.1 on Redhat 7.2 Instruction - for Noobs

  1. #1
    Registered User
    Join Date
    Oct 2002
    Posts
    16

    Thumbs up Install Guide - QT 3.1.1 on Redhat 7.2 Instruction - for Noobs

    Hi,

    I finally got QT 3.1.1 to work on my Redhat 7.2. I followed eggman's instruction and couple of others. I guess I'll make the instruction more detailed so we noobs can follow through.

    If you are a noob, just follow the instruction EXACTLY, line by line. hehe.

    Make sure you login as root.

    1. Make sure you have these rpms installed when you first install Redhat 7.2.
    XFree86-devel
    XFree86-libs
    autoconf
    automake
    gcc3
    gcc3-c++
    libpcap
    libstdc++3
    libstdc++3-devel
    libgcc
    zlib
    zlib-devel
    gd
    gd-devel
    gdbm
    gdbm-devel
    pine **for pico
    kernel-headers
    glibc-devel
    cvs
    patch
    make
    m4
    libtool
    libtool-libs
    binutils
    libpng
    libpng-devel
    libjpeg
    libjpeg-devel
    libmng
    libmng-devel
    freetype

    2. Download QT 3.1.1 from here to /usr directory.



    3. From /usr directory unpack it.
    • tar -xzvf qt-x11-free-3.1.1.tar.gz


    4. Use gedit to edit file in /usr/qt-x11-free-3.1.1/mkspecs/linux-g++/gmake.conf.
    Replace gcc with gcc3 and g++ with g++3 (Line 12, 27, 47, 48).
    Save the file.

    5. Within /usr/qt-x11-free-3.1.1 directory, run:
    • export QTDIR=/usr/qt-x11-free-3.1.1
      ./configure -thread --prefix=/opt/qt-x11-free-3.1.1
      gmake
      gmake install

    (this process may take couple of hours)

    6. Use gedit to edit file in /etc/ld.so.conf.
    Add a line: /opt/qt-x11-free-3.1.1/lib
    Save the file.
    • ldconfig -v


    Gratz! You completed the installation of qt 3.1.1!!!



    Now for showeq.

    For me, the FTP site wasn't working... so I downloaded showeq from the link at the announcement site.

    1. Download showeq from:

    Save to: /seq directory.

    2. Unpack showeq.
    • tar -xzvf showeq-4.3.5.tar.gz


    3. From /seq/showeq directory, run:
    • export QTDIR=/opt/qt-x11-free-3.1.1
      export PATH=$QTDIR/bin:$PATH
      export MANPATH=$QTDIR/doc/man:$MANPATH
      export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
      export CXX=g++3
      export CC=gcc
      ./config
      make
      make install


    Cheers~ you have installed showeq!



    Note: don't ask me questions. I'm a noob.

    Useseq
    Last edited by useseq; 01-17-2003 at 11:08 AM.

  2. #2
    Registered User Mr. Suspicious's Avatar
    Join Date
    May 2002
    Posts
    667
    Or simply read the official documentation (INSTALL.newbies file found in your ShowEQ directory)... sjees
    Before asking anything read the pre-face section of http://www.smoothwall.org/download/p....9/doc.faq.pdf

    after you've read it, you know what to do next...




    "Stay alert! Trust noone! Keep your Lazers Handy! Have a nice day." -- Provided courtesy of the Computer. The Computer never lies.

  3. #3
    Registered User Iam_Walrus's Avatar
    Join Date
    Oct 2002
    Posts
    83
    [editing, more diffs]

    Towards the end there, you've got some misses which may be confusing to some people:

    3. From /seq/showeq directory, run:

    export QTDIR=/opt/qt-x11-free-3.1.1
    export PATH=$QTDIR/bin:$PATH
    export MANPATH=$QTDIR/doc/man:$MANPATH
    export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
    export CXX=g++3
    export CC=gcc
    ./config
    make
    make install


    should be:

    export QTDIR=/opt/qt-x11-free-3.1.1
    export PATH=$QTDIR/bin:$PATH
    export MANPATH=$QTDIR/doc/man:$MANPATH
    export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
    export CXX=g++3
    export CC=gcc3
    make -f Makefile.dist
    ./configure
    make
    make install


    Other than that, thanks for posting in the forums for those of use that don't have a printer attached to our linux-laptops with which to lpr that INSTALL.newbies file...

    Cheers!

    p.s. I'm not sure if you meant this for existing users of seq, but you're also missing the libEQ.a portion (sort of important).

    I'd be happy to re-write the INSTALL.newbies instructions for any that may be interested - I'm sort of a psuedo-tech writer at my job and I could flesh it out a little bit. If anyone's interested, let me know and I'll see about submitting to the devs to replace the existing version in CVS (if it comes back up?)

    Last edited by Iam_Walrus; 01-17-2003 at 04:08 PM.

  4. #4
    Registered User Mr. Suspicious's Avatar
    Join Date
    May 2002
    Posts
    667
    I'd be happy to re-write the INSTALL.newbies instructions for any that may be interested - I'm sort of a psuedo-tech writer at my job and I could flesh it out a little bit. If anyone's interested, let me know and I'll see about submitting to the devs to replace the existing version in CVS (if it comes back up?)
    There's already a new INSTALL.newbies submitted, just not incorporated in the CVS.
    Before asking anything read the pre-face section of http://www.smoothwall.org/download/p....9/doc.faq.pdf

    after you've read it, you know what to do next...




    "Stay alert! Trust noone! Keep your Lazers Handy! Have a nice day." -- Provided courtesy of the Computer. The Computer never lies.

  5. #5
    Registered User
    Join Date
    Dec 2001
    Posts
    951
    lazy ass devs :)

  6. #6
    Registered User
    Join Date
    Feb 2003
    Posts
    3

    Step 4

    Hello, im a total dumbass when it comes to this kinda stuff but im trying. I got to step 4 and i am typing (under /usr) gedit (and hten the line that is typed using cut andpaste). I get a window popping up saying so and so file is not made would you like to make it. I tried removing each part off the end and it all gives the same. What am i doing wrong?

  7. #7
    Registered User
    Join Date
    Nov 2002
    Posts
    23
    I would say make sure you extracted the tar file from step 3 into the /usr directory, as if you did not, it was extracted in your /root or where ever you downloaded it too

  8. #8
    Registered User
    Join Date
    Feb 2003
    Posts
    3
    I checked that and its going to /usr/whatever its called. Cuz i can go into the qt3.1.1 and usig dir see whats lited. I played around in there a bit to see if i could figure something out, but i really am pretty retarded when it comes to this stuff. Last install i used hackersquest, but the ftp for trollsomething or other is giving me an invalid port error and lopping so a friend suggested this forum.

  9. #9
    Registered User
    Join Date
    Apr 2002
    Posts
    149
    Hello, im a total dumbass when it comes to this kinda stuff
    /em stands in pure slack jawed awe of the understatement embodied in that statement.
    To search, or not to search,--that is the question:--
    Whether 'tis nobler in the mind to suffer
    The slings and arrows of outrageous flaming
    Or to take a look at the search function,
    And by using it, end them?

  10. #10
    Registered User
    Join Date
    Feb 2003
    Posts
    3
    afte ryour jaw is closed, got any advice??

  11. #11
    Registered User
    Join Date
    May 2002
    Posts
    92
    Right-click the file in the "Explorer" type app in the GUI. Tell it to open with GEDIT (or if you are using KDE then Advanced Editor). Much easier.

    If you can't figure out how to edit a simple file, you may be one of those people that I've heard talk of who just really shouldn't be touching it in the first place.

    I wish you the best of luck... Try www.redhat.com and look at support documentation on editing a file. I feel that this basic of a support issue shouldn't really be handled in the SEQ forums.

    Sauron

  12. #12
    Registered User
    Join Date
    Apr 2002
    Posts
    149
    afte ryour jaw is closed, got any advice??
    Yes. Yes I do. Back slowly away from that glowing screen in front of you. It is not a Television. Walk slowly and carefully around your residence making sure not to stumble over any loose objects until you locate the television. (I know it is difficult. They are both sort of rectangular (sorry for the big word) things that display pretty colors) Check to see if the glowing screen is displaying American Idol. If it is that is your television. Sit down and go back into your catatonic trance and do not ((UNDER ANY CIRCUMSTANCES)) ever touch the computer again. Daemons live in it. They will hurt you.
    To search, or not to search,--that is the question:--
    Whether 'tis nobler in the mind to suffer
    The slings and arrows of outrageous flaming
    Or to take a look at the search function,
    And by using it, end them?

  13. #13
    Registered User
    Join Date
    Jan 2003
    Posts
    19
    WHY!!!!! you tard!!! qt.3.0.5 is the one your supose to use!!! what a wast of time

  14. #14
    Registered User
    Join Date
    Apr 2002
    Posts
    33
    Originally posted by kmaszk
    WHY!!!!! you tard!!! qt.3.0.5 is the one your supose to use!!! what a wast of time
    Oh I'm soooo frightened by this.....

    Please scroll up just a tad to who_me_use_seq's post, have someone read it to you and explain what it means, then proceed with caution to any available seat that gives you a clear view of the television.

    (almost forgot to explain why I'm frightened....)
    3.1.1 is > 3.0.5 (that means it is "greater than"..... or to put it another way, 3.1.1 is a newer version.)
    Therefore, it will work just as well as it's predecessor.
    Just say no to sigs

  15. #15
    Registered User
    Join Date
    Mar 2003
    Posts
    6
    after attempting step 5 multiple times in the first part, i keep getting the same error:


    gmake[1]: g++3: Command not found
    gmake[1]:*** [project.0] Error 127
    gmake[1] Leaving directory /usr/qt-x11-free-3.1.1/qmake
    gmake: *** [uqmake] Error 2
    qmake failed to build. Aborting.


    Now i thought I followed all the steps exactly as it says, but apparently i didnt...COuld some one help me out please.

    EDIT: BTW I dont have a gmake.conf in the linux-g++ folder...only a qmake. or was that a typo?
    Last edited by warboss; 03-02-2003 at 11:02 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On