Next Previous Contents

1. Installation

This assumes you have the October 2000 release (version 0.1 or later) of partiview, not the earlier "gview" release that was described in earlier versions of this document. We keep copies of some support files on our initial http://www.astro.umd.edu/nemo/amnh website. Note that this current development release is only documented for work under Linux, although we expect it to work for at least SGI and maybe Solaris too.

1.1 MESA/OpenGL

First make sure Mesa is installed, for redhat6.2 there are rpm files available. Check if you have the following:


       % rpm -qa | grep Mesa
       Mesa-3.2-2
       Mesa-devel-3.2-2

You should see both. Some packages will use libMesaGL, others libGL. The configure script should take care of this.

Homepage: http://mesa3d.sourceforge.org

Redhat packages: (part of powertools i believe)

1.2 FLTK

Also make sure fltk is installed. If you got my version, do this (as root)


       % cd <where-ever>/fltk-1.0.9
       % make install

(you only need it if you want to recompile the program at some point, not if you just want to run it)

Homepage: http://www.fltk.org/

Redhat packages: http://www.cs.cornell.edu/nogin/RPM/fltk-devel.html

1.3 partiview

Now compile (if you really want to) the program, normally a (linux) executable should be in the src directory already:


       % tar zxf partiview-0.3.tar.gz

       % cd partiview-0.3/src
       % make clean                (if you really must compile a new executable)
       % ./configure               (GNU autoconf toolset to ease installation)
       % make partiview            (might need to edit the Makefile)

1.4 CVS

Since version 0.3 partiview is under CVS control. Currently the machine is akash.astro.umd.edu and you will need to setup your developers account with Peter (teuben@astro.umd.edu). Here's a sample session with some commonly used CVS commands:


 setenv CVSROOT   :ext:teuben@akash.astro.umd.edu:/data/cvsroot
 setenv CVSEDITOR emacs
 setenv CVS_RSH   ssh

 mkdir ~/cvsstuff
 cd ~/cvsstuff
 cvs checkout partiview              # get a new local sandbox to work in, or
 cvs -n -q update partiview          # check if others had made any changes
 cvs update partiview                # if so, update your sandbox
 cd partiview/src
 ./configure
 emacs partibrains.c                 # some edit some files
 make all                            # compile the program
 ./partipanel                        # test the program
 emacs partipanel.cc                 # edit another file
 make all                            # check if it still compiles
 cvs -n -q update                    # check if anybody else made changes
 cvs update                          # if so, update your sandbox again
 cvs commit                          # and commit your changes
 cd ../..
 cvs release -d partiview            # if you want to release and remove this sandbox


Next Previous Contents