PDA

View Full Version : Mandrake 9 How to



OMGWoot
02-20-2003, 09:40 AM
Hello all,

First off I am not a Linux pro neither a programmer but I got it working pretty easy on Mandrake 9. I hope this could help some people having issues. Its based on many posts that I used to install everything.

Here what I did:

Starting from a fresh Mandrake 9 install

*************************************************
-Download qt-x11-free-3.1.1 ftp://ftp.trolltech.com/qt/source/qt-x11-free-3.1.1.tar.gz
*************************************************

-Unpack the qt file... For me I unpacked it from /usr/lib/
*************************************************
tar -xzvf qt-x11-free-3.1.1.tar.gz
*************************************************

Since Mandrake 9 comes with GCC and G++ 3.2, I didnt edit the qmake.conf to change the values of gcc and g++ to gcc3 and g++3.

*************************************************
export QTDIR=/usr/lib/qt-x11-free-3.1.1
./configure -thread --prefix=/opt/qt-x11-free-3.1.1
gmake (takes couple hours...)
gmake install
*************************************************

Now you need to add the qt directory to the /etc/ld.so.conf and then run ldconfig. You will need to be root for this.

*************************************************
echo "/opt/qt-x11-free-3.1.1/lib" >> /etc/ld.so.conf
ldconfig -v
*************************************************

Now you need to install 4 rpms...
Get them at RpmFind (http://www.rpmfind.com)

You will need:
1. libpcap0
2. libpcap0-devel
3. libgdbm2
4. libgdbm2-devel

Once you have all the rpm installed, you can start the showeq procedure.

First you need to get the latest libEQ.a
That file must be in the folder /usr/lib/

*************************************************
cd /usr/lib/
wget --passive-ftp ftp://smurfette.trifocus.net/pub/libeq/i386/linux/libEQ.a
*************************************************

To make sure you have the latest libEQ.a, you need to check the checksum of the file and check if its the same stated on the mainpage of this site.

to check it just type: md5sum libEQ.a

*************************************************
cd /root
export CVSROOT=:pserver:[email protected] :/cvsroot/seq
cvs login
cvs checkout showeq
cd showeq
cvs -z3 update
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 (you will need to be root)
*************************************************

Thats it... Showeq should be working.

I hope this helps.

If you happen to see any missing stuff in this post just tell me and I'll fix it.

OMGWoot

Dedpoet
02-20-2003, 01:18 PM
Nice post. The only thing I would change is your wget command. Most people end up needing the passive-ftp switch on the command, and it doesn't hurt to have it anyway:

wget --passive-ftp ftp://smurfette.trifocus.net/pub/libeq/i386/linux/libEQ.a