Here's what I did:
1) Get gcc3
a) www.rpmfind.net
Retrieve RPMS:
ftp://ftp.rpmfind.net
Navigate to /linux/C/redhat/7.2/en/os/i386/RedHat/RPMS
b) get
gcc3-3.0.1-3.i386.rpm
libstdc++3-3.0.1-3.i386.rpm
gcc3-c++-3.0.1-3.i386.rpm
libstdc++3-devel-3.0.1-3.i386.rpm
libgcc-3.0.1-3.i386.rpm
c) Install all with rpm -i --force
d) Update pointers
This is the part that is causing most people to bomb out.
Code:
cd /usr/bin
mv gcc gcc.old
mv g++ g++.old
ln --symbolic gcc3 gcc
ln --symbolic g++3 g++
2) Get QT (qt-x11-2.3.2.tar.gz )
a) wget ftp.trolltech.com/qt/source/qt-x11-2.3.2.tar.gz
b) tar -xzvf qt-x11-2.3.2.tar.gz
c) Follow instructions in INSTALL (for QT)
I) mv qt-2.3.2 /usr/local/qt
II) Follow pathing instructions in INSTALL for your .profile, .login
In .profile (if your shell is bash, ksh, zsh or sh), add the following lines:
Code:
QTDIR=/usr/local/qt
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/doc/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QTDIR PATH MANPATH LD_LIBRARY_PATH
OR In .login (in case your shell is csh or tcsh), add the following lines:
Code:
setenv QTDIR /usr/local/qt
setenv PATH $QTDIR/bin:$PATH
setenv MANPATH $QTDIR/doc/man:$MANPATH
setenv LD_LIBRARY_PATH $QTDIR/lib:$LD_LIBRARY_PATH
*NOTE* Mandrake users may need to add the line source .profile to their .bashrc file.
III) source .profile
IV) cd /usr/local/qt/
V) ./configure -thread
VI) make
*EDIT*
Finished the compile of QT in roughly 3 hours on a 266.
./configure && make was successful using these instructions.