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