Sun Solaris
I have had no problems compiling this program on Sun Solaris
9 or 10 using older Workshop 6.2 compilers.
Linux
You may encounter variations in different installations of
linux. The most likely way one
would encounter problems is if the original system was not set up for program
development support and was patched together in one of an infinite variety of
possible ways from open source code.
We developed this program originally jumping between Sun Solaris and
various flavors of Redhat linux.
The most likely trouble you could encounter is he same one noted below
with MacOS. It is highly
conceivable some systems might have X Motif installed in a nonstandard
place. If you get link errors
related to Motif with this program or libseisw, read the comments in the
Makefile.
MacOS
MacOS was the last system to which this code was ported and
it presented by far the biggest problems.
At this time it will not compile on a stock Mac without some system
changes. Here are detailed
instructions on how to proceed.
- I
assume you already have installed X.
X is considered an extension by Apple, but is supplied on all new
systems on a CD. Since
you canÕt run antelope without X this should be a given.
- Similarly,
you will need to install compilers for C, C++, and fortran. You can find all this with minimal
effort on AppleÕs web site.
They provide a nice development package they cal Xcode that has
gcc/g++. I found it necessary
to do a separate install for GNU fortran (gfortran) that is needed to
compile a few contrib libraries.
- You
will need to get a version of Motif to run this application because it
uses Motif libraries extensively.
Apple does not seem to provide any form of precompiled binaries for
Motif, but it is pretty simple to build from the source code. Steps for that process are:
- Go
to http://www.openmotif.org
- Click
on downloads and get the latest stable release of the source code (at the
time of this writing that was version 2.3).
- Run
tar to unpack the downloaded tarball in a place of your choosing.
- As
for any package like this make sure your look at the README file.
- Run: ./configure
- Run: make
- This
ran clean for me an I only had to run: make install, and I was done with this step. (note you
will probably need to use: Òsudo make installÓ because the package I
installed in the system directory /usr/X11R6, which is normally owned by
root.)
- In the
current version of antelope (4.9) I found it necessary to make a change to
the stock antelopemake file that gets installed for MacOS. (This has been reported and is
expected to be fixed in the next release.) You will need to change the line
CXXFLAGS
= -I$(ANTELOPE)/local/include -I$(ANTELOPE)/include
to
CXXFLAGS
= -I$(ANTELOPE)/local/include -I$(ANTELOPE)/include -I$(XINCLUDE)
- dbxcor
should now compile.
If you install motif by other methods or encounter other
problems see the comments in the Makefile for more suggestions.