GPhys ビルドログ @ FX10 のフロントエンド
- 作業日 2015/07/29
- 作業者 高橋芳幸
準備
必要なファイルの取得
必要なファイル
- netcdf
http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-3.6.3.tar.gz
ビルド
ruby
% wget https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.gz
expand
% ./configure --prefix=/home/G15023/yot/data/local/ruby-2.2.2 % make % make install
set path
NArray
% wget https://github.com/masa16/narray/tarball/0.6.0.8
expand
% ruby extconf.rb % make % make install
numru-misc
% wget http://www.gfd-dennou.org/arch/ruby/products/numru-misc/release/numru-misc-0.1.2.tar.gz
expand
% ruby install.rb -d /home/G15023/yot/data/local/ruby-2.2.2/lib/ruby/vendor_ruby
numru-units
% wget http://www.gfd-dennou.org/library/ruby/products/numru-units/release/numru-units-1.9.tar.gz
expand
% ruby install.rb -d /home/G15023/yot/data/local/ruby-2.2.2/lib/ruby/vendor_ruby
narray_miss
% wget http://ruby.gfd-dennou.org/products/narray_miss/narray_miss-1.2.8.tar.gz
expand
% rake nongeminstall
ruby-netcdf
% wget http://www.gfd-dennou.org/library/ruby/products/ruby-netcdf/release/ruby-netcdf-0.7.1.tar.gz
expand
% ruby extconf.rb --with-narray-include=/home/G15023/yot/data/local/ruby-2.2.2/lib/ruby/site_ruby/2.2.0/x86_64-linux --with-netcdf-dir=/home/G15023/yot/local/netcdf-4.3.3.1-gcc % make % make install ##### NC_NETCDF4 がない #####
dcl-C
% wget http://www.gfd-dennou.org/arch/dcl/dcl-5.3.4.2-C.tar.gz
expand
% export CFLAGS=-fPIC % ./configure --prefix=/home/G15023/yot/data/local/dcl-5.3.4.2-C % make % make install
set path
ruby-dcl
% wget http://www.gfd-dennou.org/library/ruby/products/ruby-dcl/release/ruby-dcl-1.7.1.tar.gz
expand
% ruby extconf.rb --with-narray-include=/home/G15023/yot/data/local/ruby-2.2.2/lib/ruby/site_ruby/2.2.0/x86_64-linux % make % make install
gphys
% wget http://www.gfd-dennou.org/library/ruby/products/gphys/release/gphys-1.4.3.tar.gz
expand
% ruby extconf.rb % make % make install
edit install.rb
include Config --> include RbConfig
add a following line at a proper position
$rb_18 = true % ruby install.rb
slight modification of gpview
The gpview has a problem, which may be caused by version incompatible?
DCL.gropn($OPT_wsn||4) --> DCL.gropn($OPT_wsn||1)