You are now ready to
build the executable files,but first
make sure that the library files that are needed are in
the expected locations, i.e. /lib, /usr/lib, etc. The libraries in
question are:
libpgplot
libcpgplot
libcfitsio
libX11
If they are not, you
must do one of the
following:
copy the
files into $COSMOS_HOME/lib
create
symbolic links to the files in $COSMOS_HOME/lib
specify
the locations on the make command line, as
seen below,
Now, you are
ready to execute the make command make -f Makefile.system [PGLIB = "pgplot-dir" XLIB = "Xll-dir" FITSLIB = "fits-dir"]
where system
is either "Mac"
or "linux",
and the options in backets are only needed if the above mentioned
library files are not in their expected locations. With a
little
luck, you will get no
error messages, and at the end you will have a completely installed
system. The most likely errors are due to a failure to find all the
library files. Check their locations.
Some final
tidying:
execute, and
copy into
your shell startup file (e.g.
cshdef,
.cshrc) the following commands so that they will be defined in each
window you open:
where my-cosmos2-directory
and my-cospar-directory
are the locations you have chosen for the cosmos2 software and the
Cospar files
If you
wish to use the IRAF routines display8 and imcombine8, you must
execute the following lines at the cl prompt, or put them in your
login.cl file. Note that you must specify the full path to the cosmos
directory, since iraf forgets your environment variables, such as
COSMOS_HOME
The html
documentation is available locally at
$COSMOS_HOME/docs/COSMOS.html.
Move the
Cospar directory to the location you have chosen, as described above.
Need some help?
Since you are a
pioneer, you deserve a little help. If you can't get
things to work properly, contact Gus Oemler at oemler@ociw.edu and
we'll try to sort things out.