%表題 ftp/Misc/perl/TEBIKI.perl.dennou-q -*-text-*- % %履歴 95/07/07 竹広真一 % 95/07/31 竹広真一 % 97/03/14 竹広真一 % ●資源 misc/perl 取得日付 94/02/21 取得源 ftp.cs.keio.ac.jp : /pub/GNU/perl/perl-4.036.tar.gz 取得日付 95/07/07 取得源 ftp.iij.ad.jp : /pub/GNU/perl-5.001.tar.gz 取得日付 97/03/14 取得源 ftp.kyushu-u.ac.jp : /pub/GNU/prep/perl-5.003.tar.gz ●ファイル config_local/ : サイト依存性記述ディレクトリ TEBIKI.perl.dennou-q : 本手引ファイル ●インストール手順 サイト名 dennou-q.geo.kyushu-u.ac.jp (ELC + SUN OS 4.1.4) 日付 97/03/14(perl5.003) 名前 竹広 (takepiro@geo.kyushu-u.ac.jp) 1. perl/ においてperl5.001.tar.gz を展開する. % zcat perl-5.003.tar.gz | tar xvf - % cd perl-5.003 2. configure で Makefile を作る. % ./Configure Perl administrator e-mail address \ [takepiro@dennou-q.geo.kyushu-u.ac.jp] none What shall I put after the #! to start up perl \ ("none" to not use #!)? \ [/usr/local/bin/perl] /usr/lcoal/bin/perl5 3. make % make 4. テスト. % unsetenv LANG % make test All tests successful がでたので OK. 5. インストール. 以前の perl5 ライブラリを消去. # rm -r /usr/local/lib/perl5 # make install 6. 後始末. perl4.036 を perl としておく. # cp /usr/local/bin/perl5.003 /usr/local/bin/perl5 # unlink perl # cp /usr/local/bin/perl4.036 /usr/local/bin/perl # make clean サイト名 dennou-q.geo.kyushu-u.ac.jp (ELC + SUN OS 4.1.4) 日付 95/07/07(perl5.001) 95/07/31(perl4.036) 名前 竹広 (takepiro@geo.kyushu-u.ac.jp) 1. perl/ においてperl5.001.tar.gz を展開する. % zcat perl5.001.tar.gz | tar xvf - % cd perl5.001 2. configure でMakefile を作る. % ./Configure Use which C compiler? [cc] gcc [/usr/local/lib/perl5/sun4-sunos] Directory /usr/local/lib/perl5/sun4-sunos doesn't\ exist. Use that name anyway? [n] y Run make depend now? [y] y 3. make # make 4. テスト. # make test All tests successful がでたので OK. 5. インストール. # make install install の最後に /usr/bin/perl が /usr/local/bin/perl にシ ンボリックリンクされた. 6. 後始末 # make clean 7. perl/ においてperl-4.036.tar.gz を展開する. # zcatf jperl.ORG/perl-4.036.tar.gz | tar xvf - 8. configure でMakefile を作る. # configure いろいろきいてくるが, manual の置き場を /usr/local/man/man1 と指定した以外 全部return で答える. 9. make # make depend # make 10. テスト. # make test All tests successful がでたので OK. 11. インストール. # make install 12. 後始末 # make clean ● 注意 mirror が perl5 では動かないので perl4.036 をインストールする 事になった. インストール先は次のようになっている. perl4.036:/usr/local/bin/perl /usr/local/lib/perl perl5.003:/usr/local/bin/perl5 /usr/local/lib/perl5