export CGAL_MAKEFILE=/projects/cgal/CGAL-2.4/make/makefile_sparc_SunOS-5.8_g++-2.95 export DOLT_MAKEFILE=/projects/arl/make/Makefile-doltAfter you have done this, you should run the command:
$ source ~/.bashrcThat will make sure that these environment variables are set. In the future, your new .bashrc file will be executed when you log in.
Create a directory to work in, and Download the a1code.tar.gz file to this directory. Then do the following:
$ tar xfz a1code.tgz $ gmake $ ./assign1 Problem1.txtCompiling the program will take a minute and produce a bunch of output. When you run the executable, it should open a window and draw the world. Press 'h' to get a list of commands.
libMesaGLU1-devel-4.0.1-4mdk libMesaglut3-devel-4.0.1-4mdk libMesaGLU1-4.0.1-4mdk libMesaglut3-4.0.1-4mdk libMesaGL1-4.0.1-4mdk
$ make cgal
Note that you have to use GNU make, which might actually be called gmake on your system. If you just do a "make", that will make the version of the library without CGAL geometric representations. This won't hurt, but it is not needed.
$ make install
(possibly as root depending on what permissions you have on your install directory)