mkdir GMTdev
Then cd into the GMTdev directory.
svn checkout svn://gmtserver.soest.hawaii.edu/gmt4/trunk gmt4
or, for gurus who wish to have access to test branches etc., run
svn checkout svn://gmtserver.soest.hawaii.edu/gmt4
which will start copying the entire gmt4 tree from the GMT server - this can take a while depending on where you are and traffic load. It is a good time to go for lunch. Barring any errors or network troubles you should have everything the GMT gurus have access to in your local directory. Note: Those who prefer to use git instead of svn can mirror gmt4 to a local git repository:
git svn clone svn://gmtserver.soest.hawaii.edu/gmt4/trunk gmt4
In the following we assume you did a "trunkless" checkout; if you did not then remember to include /trunk after gmt4 in any cd commands below.
make get_coast
in the top gmt4 directory.
make prepare
This command will run svn update (in case something has changed on the server), create configure scripts, run them, compile and install gmt4, make man pages and documentation, and convert to HTML. It does everything short of creating a version link and tarring of the release. You will need to look at GNUmakefile for other things you can do. Or otherwise simply type
make
svn commit -m "Fixed error in -G option"
If successful, the subversion repository in Hawaii is updated and any future subversion update commands from anywhere will obtain the revised grdview.c file. For more info, you need to read parts of the subversion (see references below).