この page は、2000/01/05 に Windows 95 にて JPerl for MS-Windows を install した際の私的なメモです。
ActivePerl build 522 を install した後に Perl/Tk, Jcode.pm を組み込んで、 JPerl patch をあてるのだが、先に APi522e.exe, Tk.zip, Jcode-0_60.zip, jperl522.zip を D:\temp に展開しておいた。
各々はこちらから入手した
尚、ActivePerl build 522 を install するにあたり、前の version のものを uninstall した。(以前から ActivePerl を install しているならば [アプリケーションの追加と削除] にて旧 version を uninstall すればよいし、その他 (CPAN) から入手したものを使っていれば何処かに uninstall.bat 等があると思う。)
D:\temp はこんな感じ。
D:\temp>dir ドライブ D: のボリュームラベルはありません. ボリュームシリアル番号は 0000-0000 ディレクトリは D:\temp . <DIR> 00-01-01 12:00 . .. <DIR> 00-01-01 12:00 .. TK <DIR> 00-01-01 12:00 tk JC <DIR> 00-01-01 12:00 jc JP <DIR> 00-01-01 12:00 jp API522E EXE 5,499,648 00-01-01 12:00 APi522e.exe 1 個 5,499,648 バイトのファイルがあります. 5 ディレクトリ 16,777,216 バイトの空きがあります. D:\temp>
APi522e.exe を実行して ActivePerl build 522 を install し、 restart して
D:\>perl -v This is perl, version 5.005_03 built for MSWin32-x86-object (with 1 registered patch, see perl -V for more detail) Copyright 1987-1999, Larry Wall Binary build 522 provided by ActiveState Tool Corp. http://www.ActiveState.com Built 09:52:28 Nov2 1999 Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5.0 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'.If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. D:\>
にて install されたことを確認し
D:\>cd temp\tk D:\temp\tk>dir ドライブ D: のボリュームラベルはありません. ボリュームシリアル番号は 0000-0000 ディレクトリは D:\temp\tk . <DIR> 00-01-01 12:00 . .. <DIR> 00-01-01 12:00 .. TK PPD 343 00-01-01 12:00 Tk.ppd README 123 00-01-01 12:00 README X86 <DIR> 00-01-01 12:00 x86 2 個 466 バイトのファイルがあります. 3 ディレクトリ 16,777,216 バイトの空きがあります. D:\temp\tk>ppm install Tk.ppd
として Perl/Tk を組み込み
D:\temp\tk>perl -e "use tk"
で組み込みを確認 (error が出なければ正常に組み込まれているはず) した後、
D:\temp\tk>cd ..\jc D:\temp\jc>dir ドライブ D: のボリュームラベルはありません. ボリュームシリアル番号は 0000-0000 ディレクトリは D:\temp\jc . <DIR> 00-01-01 12:00 . .. <DIR> 00-01-01 12:00 .. JCODE-0 60 <DIR> 00-01-01 12:00 Jcode-0.60 0 個 0 バイトのファイルがあります. 3 ディレクトリ 16,777,216 バイトの空きがあります. D:\temp\jc>cd jcode-0.60 D:\temp\jc\Jcode-0.60>dir ドライブ D: のボリュームラベルはありません. ボリュームシリアル番号は 0000-0000 ディレクトリは D:\temp\jc\Jcode-0.60 . <DIR> 00-01-01 12:00 . .. <DIR> 00-01-01 12:00 .. T <DIR> 00-01-01 12:00 t JCODE <DIR> 00-01-01 12:00 Jcode UNICODE <DIR> 00-01-01 12:00 Unicode MAKEFILE PL 275 00-01-01 12:00 Makefile.PL WIN_IN~1 PL 1,202 00-01-01 12:00 win_install.pl README 581 00-01-01 12:00 README JCODE PM 13,887 00-01-01 12:00 Jcode.pm MAC_IN~1 PL 1,139 00-01-01 12:00 mac_install.pl HISTORY 2,106 00-01-01 12:00 HISTORY INSTALL 991 00-01-01 12:00 INSTALL MANIFEST 443 00-01-01 12:00 MANIFEST 8 個 20,624 バイトのファイルがあります. 5 ディレクトリ 16,777,216 バイトの空きがあります. D:\temp\jc\Jcode-0.60>perl win_install.pl
で、 Jcode.pm を組み込み
D:\temp\jc\Jcode-0.60>perl -e "use jcode"
で組み込みを確認し、
D:\temp\jc\Jcode-0.60>cd ...\jp D:\temp\jp>dir ドライブ D: のボリュームラベルはありません. ボリュームシリアル番号は 0000-0000 ディレクトリは D:\temp\jp . <DIR> 00-01-01 12:00 . .. <DIR> 00-01-01 12:00 .. JPERL5~1 GZ 405,034 00-01-01 12:00 jperl522.tar.gz JINSTALL BAT 2,057 00-01-01 12:00 jinstall.bat README 502 00-01-01 12:00 readme 3 個 407,593 バイトのファイルがあります. 2 ディレクトリ 16,777,216 バイトの空きがあります. D:\temp\jp>jinstall.bat
にて、 JPerl patch をあてて、再度 restart し、
D:\>perl -v This is perl, version 5.005_03 built for MSWin32-x86-object (with 1 registered patch, see perl -V for more detail) Copyright 1987-1999, Larry Wall Binary build 522 provided by ActiveState Tool Corp. http://www.ActiveState.com Built 09:52:28 Nov2 1999 Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5.0 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'.If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. D:\>jperl -v This is perl, version 5.005_03 built for MSWin32-x86-object (with 2 registered patches, see perl -V for more detail) Copyright 1987-1999, Larry Wall Japanization patch 4 by Yasushi Saito, 1996 Modified by Hirofumi Watanabe, 1996-1999 jperl5.005_03-990822 SJIS version Binary build 522 provided by ActiveState Tool Corp. http://www.ActiveState.com Built 21:32:17 Nov 6 1999 Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5.0 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. D:\>
以上の通り終了したのであった。
尚、registry へ以下の追加がなされており
HKEY_LOCAL_MACHINE SOFTWARE ActiveState ActivePerl 522 PerlScript 1.0 Perl
autoexec.bat は、以下の追加がなされていた。
SET PATH=C:\PERL\BIN;"%PATH%" PATH=c\perl\bin\MSWin32-x86-object;%PATH%
Mail Address:h_sasaki@nifty.com
© 2000 佐々木仁志