To compile and install Lx-Viewer you will need the following packages installed on your system:
You can query if they are installed with
rpm -qa | grep -i gcc
You will also need to download
Add a link in /usr/lib from "qt" to "qt3" (the default mandrake 9.0 qt directory)
ln -s qt3 qt
Then in /etc/profile (or in ~/.profile) put:
QTDIR=/usr/lib/qt
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QTDIR PATH MANPATH LD_LIBRARY_PATH
Place the open dwg libraries ad2.a and ad3.a in the viewer/OpenDWG directory
Go to your lx-viewer directory and use
./configure
make
then as root
make install
To run simply type
$> viewer