Mr Guy
12-21-2001, 08:00 AM
These steps should work for the following systems:
RedHat 7.1, 7.2
Mandrake 8.1
confirmation on others?
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) Export new locations for gcc3
This is the part that is causing most people to bomb out.
export CC=gcc3
export CXX=g++3
Potential Problems this step
Installing gcc3
1) I have RedHat 7.1 and I have troubles installing gcc3!
Fix See Tristan469's post below
gcc3 works, but still getting errors!
1) You installed gcc3, but still get 3.0 or greater required
Fix:
Follow step (1d) to update your gcc pointers.
2)I did that and it STILL didn't work
Follow step (1d) but update cpp or c++ pointers
3)Must...get...gun...for...errors! Still....Broken!
Fix
Try:
cd /usr/bin
mv gcc gcc.old
mv g++ g++.old
ln --symbolic gcc3 gcc
ln --symbolic g++3 g++
This way does work, but according to Zaphod may result in bad juju with KDE compiles later, and so is no longer recommended.
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:
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:
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
Potential Problems this step
1) Slowness. Deal with it.
2) Failed make, post with actual errors
3) Unable to download QT from trolltech.com Be patient, everyone wants it right now
4) undefined symbol: _ZN2Qt9lightGreyE
Cause: wrong QT library being used
Fix:
(using default instructions above, /usr/local/qt is the directory you installed QT 2.3.2 into)
cd /usr/local/qt
cp cp libqt-m* /usr/lib
3) Get libEQ.a
a) wget ftp://smurfette.trifocus.net/pub/libeq/i386/linux/libEQ.a
b) md5sum libEQ.a
check against top of ShowEq Message Board http://seq.sourceforge.net/index.php?s=
c) mv /usr/lib/libEQ.a /usr/lib/libEQ.a.old
c) cp libEQ.a /usr/lib
Potential Problems this step:
1) At time of writing, krisp is has not updated his libEQ.a, causing wrong md5sum
2) Both libEQ.a may exist on system. Delete old libEQ.a, keeping only the md5sum that matches http://seq.sourceforge.net/index.php?s=
*Note*
Finished the compile of QT in roughly 3 hours on a 266.
Appendix A
I hate version 4! I want to go home!
The are only two steps 1) Restore libEQ.a
mv /usr/lib/libEQ.a /usr/lib/libEQ.a.new
mv /usr/lib/libEQ.a.old /usr/libEQ.a
2) Go to your OLD ShowEQ directory
cd /showeq/linux
3) Reinstall that one
./configure && make && make install
RedHat 7.1, 7.2
Mandrake 8.1
confirmation on others?
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) Export new locations for gcc3
This is the part that is causing most people to bomb out.
export CC=gcc3
export CXX=g++3
Potential Problems this step
Installing gcc3
1) I have RedHat 7.1 and I have troubles installing gcc3!
Fix See Tristan469's post below
gcc3 works, but still getting errors!
1) You installed gcc3, but still get 3.0 or greater required
Fix:
Follow step (1d) to update your gcc pointers.
2)I did that and it STILL didn't work
Follow step (1d) but update cpp or c++ pointers
3)Must...get...gun...for...errors! Still....Broken!
Fix
Try:
cd /usr/bin
mv gcc gcc.old
mv g++ g++.old
ln --symbolic gcc3 gcc
ln --symbolic g++3 g++
This way does work, but according to Zaphod may result in bad juju with KDE compiles later, and so is no longer recommended.
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:
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:
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
Potential Problems this step
1) Slowness. Deal with it.
2) Failed make, post with actual errors
3) Unable to download QT from trolltech.com Be patient, everyone wants it right now
4) undefined symbol: _ZN2Qt9lightGreyE
Cause: wrong QT library being used
Fix:
(using default instructions above, /usr/local/qt is the directory you installed QT 2.3.2 into)
cd /usr/local/qt
cp cp libqt-m* /usr/lib
3) Get libEQ.a
a) wget ftp://smurfette.trifocus.net/pub/libeq/i386/linux/libEQ.a
b) md5sum libEQ.a
check against top of ShowEq Message Board http://seq.sourceforge.net/index.php?s=
c) mv /usr/lib/libEQ.a /usr/lib/libEQ.a.old
c) cp libEQ.a /usr/lib
Potential Problems this step:
1) At time of writing, krisp is has not updated his libEQ.a, causing wrong md5sum
2) Both libEQ.a may exist on system. Delete old libEQ.a, keeping only the md5sum that matches http://seq.sourceforge.net/index.php?s=
*Note*
Finished the compile of QT in roughly 3 hours on a 266.
Appendix A
I hate version 4! I want to go home!
The are only two steps 1) Restore libEQ.a
mv /usr/lib/libEQ.a /usr/lib/libEQ.a.new
mv /usr/lib/libEQ.a.old /usr/libEQ.a
2) Go to your OLD ShowEQ directory
cd /showeq/linux
3) Reinstall that one
./configure && make && make install