GMT5はまだ試していません。
netcdf
cd /tmp wget http://www.gfd-dennou.org/library/netcdf/unidata-mirror/netcdf-4.3.2.tar.gz wget http://www.gfd-dennou.org/library/netcdf/unidata-mirror/netcdf-fortran-4.4.1.tar.gz gtar xfvz netcdf-4.3.2.tar.gz cd netcdf-4.3.2 ./configure --prefix=/usr/local/netcdf --enable-netcdf-4 --disable-dap make check sudo make install cd .. gtar xfvz netcdf-fortran-4.4.1.tar.gz cd netcdf-fortran-4.4.1 CPPFLAGS="-I/usr/local/netcdf/include" \ LD_LIBRARY_PATH=/usr/local/netcdf/lib:${LD_LIBRARY_PATH} \ LDFLAGS="-L/usr/local/netcdf/lib" \ ./configure --prefix=/usr/local/netcdf make make check sudo make install sudo vi /etc/ld.so.conf include ld.so.conf.d/*.conf /usr/lib64/sane /usr/local/netcdf/lib #<= 追加 sudo ldconfig
GMT
cd /tmp wget ftp://ftp.iris.washington.edu/pub/gmt/gmt-4.5.13-src.tar.bz2 wget ftp://ftp.iris.washington.edu/pub/gmt/gmt-4.5.13-non-gpl-src.tar.bz2 wget ftp://ftp.iris.washington.edu/pub/gmt/gshhg-gmt-2.3.4.tar.gz bzcat gmt-4.5.13-src.tar.bz2 | tar xfv - bzcat gmt-4.5.13-non-gpl-src.tar.bz2 | tar xfv - cd gmt-4.5.13 ./configure --prefix=/usr/local/gmt --enable-triangle \ --disable-flock --enable-eps \ --enable-netcdf=/usr/local/netcdf \ --enable-octave=/usr/lib64/octave/ make all sudo make install-all cd .. gtar xfvz gshhg-gmt-2.3.4.tar.gz cd gshhg-gmt-2.3.4 sudo mkdir -p /usr/local/gmt/share/coast sudo mv * /usr/local/gmt/share/coast/
test
cd /tmp pscoast -JM16.0c -R128/148/28/46 -Dh -Ba5f1WSne -W1p -P > gmt.ps
0 件のコメント:
コメントを投稿