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
Note: It may be possible to skip this step, try compiling first, if you receive an error about not being able to find qt, use these steps.
Add a link in /usr/lib from "qt" to "qt-3.0.5" (or qt3 etc - whatever your distribution uses) if neededln -s qt-3.0.5 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 source and use
./configure
make
then as root
make install
To run simply type$> viewer