Successful Build with RH Linux 6.1

For those newcomers out there who are trying to build OpenDX 4.1.3
and just might have a system like mine, here is some encouragement.
After more days of work than I want to recount, trying binaries for
Windows (no luck), Cygwin (cannot connect to dxexec), and Linux 6.1
(opendx-4.1.0-1.i386.rpm - wants some c++ library I can't find: 
libstdc++-2-libc6.1-2.so.3), I gave up and compiled it myself.
Thankfully it now works.  Here are the details.

Dual-boot Linux / Windows NT, Pentium III 1 GHz.

Original System: RedHat Linux 6.1

Overview:
Step 1. Upgrade XFree86 to version 4.1.0, which includes the GL libs.

Step 2. Install OpenMotif Runtime and Development packages.

Step 3. Install ImageMagick and supporting libraries.

Step 4. Compile OpenDX and install.


More Details (for newbies like myself):

Step 1: From ftp.xfree86.org (anonymous login) one can get v.4.1.0 
files (see the INSTALL file).  Running
      sh Xinstall.sh -check
on my system produced:
      Linux 2.2.12-20   arch i686
      object format is "ELF"   libc version is "6.1.2" (6.1)
      => use xfree86 binary distribution "Linux-ix86-glibc21".
Following the INSTALL instructions I downloaded files, backed-up the
current XFree86 installation (which was v. 3.3.5-3), and ran
      sh Xinstall.sh
I answered "yes" to all questions (except for the rstart link).
Following the errata I removed a file:
      rm /usr/X11R6/lib/modules/drivers/glide_drv.o
Then configure:
      XFree86 -configure
Finally, edit ~/XF86Config.new (screen settings) using your original
backed-up XFree86 installation file /etc/X11/XF86Config.  When done,
      cp ~/XF86Config.new /etc/X11/XF86Config
Now make sure that X is up and running
      startx

Step 2: From www.motifzone.net get the linux rpm files for glibc2.1:
      openmotif-2.1.30-5_ICS.i386.rpm
      openmotif-devel-2.1.30-5_ICS.i386.rpm
Install them, runtime libraries first:
      rpm -ivh openmotif-2.1.30-5_ICS.i386.rpm
      rpm -ivh openmotif-devel-2.1.30-5_ICS.i386.rpm
If you want to try it out change your X-window manager to "mwm" in
your .xinitrc file.

Step 3: Start by getting the README.txt file (I used the mirror
ftp.planetmirror.com  /pub/ImageMagick/linux/redhat-6.x/i386/). From
the ImageMagick site get:
      bzip2-1.0.0-1.i386.rpm
      freetype-2.0.1-1.i386.rpm
      ImageMagick-5.4.2-2.i386.rpm
>From the RedHat site (ftp.redhat.com  /pub/redhat/linux/6.2/en/os/
i386/RedHat/RPMS/) get:
      libjpeg-6b-10.i386.rpm
      libpng-1.0.5-3.i386.rpm
      libtiff-3.5.4-5.i386.rpm
      zlib-1.1.3-6.i386.rpm
Then install them, bzip2 first, then freetype and all the libraries,
and finally ImageMagick.  I had to force the installation
      rpm -ivh --force package.rpm
for bzip2, libpng and ImageMagick.

Step 4. Download the source code from www.opendx.org (obviously):
      dx-4.1.3.tar.gz
Uncompress and untar it in a temporary directory (300 MB min. needed)
      tar -zxvh dx-4.1.3.tar.gz
Change to the dx-4.1.3 directory and follow the README file.
      ./configure
      make
      make install
At that point I rebooted, started X and typed
      dx &
Amazingly, everything worked!!


Good luck,
            Matt...

Reply via email to