Frank Warmerdam warmerdam at pobox.com
Thu Jun 24 15:48:42 EDT 2004

Wood Brent wrote:
> I added NETCDFHOME to Tyler's setenv.sh script (& sourced it before compiling).


What does NETCDFHOME do?

> To use it there are still some environment variables to be set, & a bookmark to
> the html docs. This is documented at the end of the install script if you wanna
> play. 
> eg: The following command will draw the New Zealand coastline, using high
> resolution data, 1 pixel line weight in default colour=black, 18cm wide A4
> portrait with 10 degree annotation on W & S axes only.
> pscoast -R160/190/-55/-30 -Dh -W1 -JM18 -V -B10::WeSn -P > ~/test.ps
> Please let me know if this is all done as you expected, or if I got summat
> wrong somewhere....


Does GMT have an "install" target in the Makefile?  It seems like you have
copied the whole build tree.  The idea is you "install" it in
/home/fgs/fgs-pkgs/GMT.  You should end up with a "bin", "lib" and some
other subdirectories directly under /home/fgs/fgs-pkgs/GMT (not in a
GMT_3.4.4 subdirectory).

The "staged" page should *not* include stuff like source, makefiles or
configure scripts.

If there is no install target in the GMT makefile then you will need to
write an fgs_install that manually copies the important items over.

.. Frank checks his own GMT build tree at home ...

Confirmed, there is an install-all target.  You should just be able to
do "make install-all" in your fgs_install script assuming you configured with
the correct --prefix.

Make sure you wipe away the old /home/fgs/fgs-pkgs/GMT tree before rebuilding

Your almost there!

Best regards,
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

More information about the Foss-gis-suite mailing list