Mandrake 9.0 install instructions for 0.97d

Dependancies

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

Set up Qt paths

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

Compiling

Go to your lx-viewer directory and use

./configure
make

then as root

make install

To run simply type
$> viewer

Valid CSS! Valid XHTML 1.0! SourceForge Logo