Si infatti ieri notte l'ho scaricato e compilato tramite fink...pensavo di avercela fatta!
....devo dire che è stato emozionante stare a guardare per circa 20 minuti il G4 che compilava

.....
allora lo vado subito a provare
una volta installato GMT 4.o per caricare un file di esmpio:
apri la cartella GMT 4.0 vai in tutorial via terminale e digita :
grdinfo bermuda.grd (si avvia gmt)
-----
poi gli do il comando:
grdraster -R-66/-60/30/35 1 -Gbermuda.grd -V (si va a leggere il bermuda.grd)
----
Last login: Fri Oct 7 11:49:09 on ttyp2
Welcome to Darwin!
%vado nella cartella tutorial
powerbook-g4-12-di-epifanio:~ epi$ cd /Users/epi/Applications/GMT4.0/GMT4.0/tutorial
%digito il comando per caricare l'esempio
powerbook-g4-12-di-epifanio:~/Applications/GMT4.0/GMT4.0/tutorial epi$ grdinfo bermuda.grd
%risposta:
bermuda.grd: Title: ETOPO5 global topography
bermuda.grd: Command: grdraster -R-66/-60/30/35 1 -Gbermuda.grd -V
bermuda.grd: Remark: /Users/epi/Applications/GMT4.0/GMT4.0/share/dbase/etopo5.i2
bermuda.grd: Normal node registration used
bermuda.grd: grdfile format # 0
bermuda.grd: x_min: -66 x_max: -60 x_inc: 0.0833333 units: Longitude in degrees nx: 73
bermuda.grd: y_min: 30 y_max: 35 y_inc: 0.0833333 units: Latitude in degrees ny: 61
bermuda.grd: z_min: -32532 z_max: 32752 units: m
bermuda.grd: scale_factor: 1 add_offset: 0
%aqpplico il comando grdraster :
powerbook-g4-12-di-epifanio:~/Applications/GMT4.0/GMT4.0/tutorial epi$ grdraster -R-66/-60/30/35 1 -Gbermuda.grd -V
%risposta :
grdraster: Reading from raster /Users/epi/Applications/GMT4.0/GMT4.0/share/dbase/etopo5.i2
grdraster: Finished reading from /Users/epi/Applications/GMT4.0/GMT4.0/share/dbase/etopo5.i2
grdraster: min max and # NaN found: -32532 32752 0
powerbook-g4-12-di-epifanio:~/Applications/GMT4.0/GMT4.0/tutorial epi$
il fatto è che al termine dell'installazione di gs8.5.1 ho provato a dare il comando ghostscript -
ma il terminale non lo trova : (command not found)
poi dovrei dare questo comando, preso dal manuale di gmt: (al quale ho sostituito gs - al posto di ghostview - )
grdcontour bermuda.grd -JM7i -C250 -A1000 -P -B2 | gs -
---- "dovrebbe interpretare i ps di GMT per darmi come risultato una figura del fondo marini delle bermuda, ma invece":
powerbook-g4-12-di-epifanio:~/Applications/GMT4.0/GMT4.0/tutorial epi$ grdcontour bermuda.grd -JM7i -C250 -A1000 -P -B2 | gs -
AFPL Ghostscript 8.51 (2005-04-1

Copyright (C) 2005 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
AFPL Ghostscript 8.51: Cannot open X display `(null)'.
**** Unable to open the initial device, quitting.
powerbook-g4-12-di-epifanio:~/Applications/GMT4.0/GMT4.0/tutorial epi$
il fatto è che al termine dell'installazione di gs8.5.1 ho provato a dare il comando ghostscript - (come dice il manuale)
ma il terminale non lo trova : (command not found)
se digito : man gs, mi da tutte le info su ghostscript....
ho digitato man gs e fotografato le 12 pag. di info se volete ve le posto!
la prova a crudo:
apro una nuova finestra di terminale e digito : gs
il terminale mi risponde :
Last login: Fri Oct 7 11:47:59 on ttyp1
Welcome to Darwin!
powerbook-g4-12-di-epifanio:~ epi$ gs
AFPL Ghostscript 8.51 (2005-04-1

Copyright (C) 2005 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
AFPL Ghostscript 8.51: Cannot open X display `(null)'.
**** Unable to open the initial device, quitting.
powerbook-g4-12-di-epifanio:~ epi$
Ho scaricato ghostscript 8.5.1 tramite fink : lo ha compilato in 20 minuti
http://fink.sourceforge.net/pdb/testing.php
non ho saputo installare ghostview 1.5, ma penso che ghostscript debba funzionare anche senza...
