(Rough) Installation Instructions for RNPL/xvs/DV On Linux using GNU compilers

Please report problems/suggestions to Matthew Choptuik, especially if you find that there are additional software prerequisites for the flavour of Linux that you are using.

WARNING: Experience has shown that your ability to get this software functioning (without undue effort, or even at all) is dependent on which Linux you use.   In particular, we have generally been able to install successfully on Mageia (Mandriva) and Ubuntu. On the other hand, there are indications that users may not be able to get xvs/DV working on some versions of SUSE, including 12.3.

UBUNTU USERS: See HERE for some instructions due to Luis Lehner that may be useful for installing the software on Ubuntu systems.

0. Software prerequisites

  1. C compiler (gcc)
  2. Fortran 77 compiler (f77 or gfortran)
  3. perl
  4. flex and bison
  5. OpenGL headers: libmesagl1-devel
  6. OpenGL libraries
    1. If your machine has an NVidia card, and you have installed the proprietary driver, you should already have the needed libraries.
    2. If not, install libmesagl1
  7. Version 6.2 of the JPEG headers and libraries. IMPORTANT: mpeg_encode (which is optional) will not compile / run with newer versions of the JPEG headers/libraries (version 8 in particular).  With luck your Linux distribution will have a separate version 6.2 package.

For xforms (in addition to above, and only if you are compiling xforms from source)

Note: Some of these packages are likely to have different names on your system and not all are necessarily needed.

  1. imake
  2. gccmakedep
  3. libtiff
  4. libjpeg
  5. libjpeg-devel
  6. libjpeg-static-devel
  7. libxpm-devel
  8. libxpm-static-devel
  9. libxpm
  10. libx11_6-devel
  11. libmesagl1-devel
  12. libmesaglu1-devel

1. Install RNPL and related libraries

  1. Download rnpletal.tar.gz.
  2. tar zxf rnpletal.tar.gz
  3. cd rnpletal
  4. ./Install.gnu /usr/local

2. Install xforms

  1. Download xforms-1.0.tar.gz.
  2. tar zxf xforms-1.0.tar.gz
  3. cd xforms-1.0
  4. xmkmf -a
  5. make install
See xforms-1.0/00README for detailed installation instructions.  If you are using a Redhat-based system (i.e. software installed via rpms), then this script  may be useful for installation.

Alternatively, you can install xforms from your Linux distribution, in which case you need to ensure that you install both the basic xforms libraries as well as the development package (the specific names of these will vary from distribution to distribution)

3. Install mpeg_encode (optional)

  1. Download mpeg_encode-1.5c.tar.gz.
  2. tar zxf mpeg_encode-1.5c.tar.gz
  3. cd mpeg_encode-1.5c
  4. ./configure --prefix=/usr/local
  5. make install

4. Install xvs

  1. Download xvs.tar.gz.
  2. tar zxf xvs.tar.gz
  3. cd xvs
  4. ./configure --prefix=/usr/local
  5. make install

5. Install DV

  1. Download DV.tar.gz.
  2. tar zxf DV.tar.gz
  3. cd DV
  4. ./configure --prefix=/usr/local
  5. make install