万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

WindowsPerlモジュールのJcodeをインストール

perl -MCPAN -e shell
cpan> install Jcode
Fetching with LWP:
  http://ppm.activestate.com/CPAN/authors/01mailrc.txt.gz
Going to read C:\Perl\cpan\sources\authors\01mailrc.txt.gz
............................................................................DONE
Fetching with LWP:
  http://ppm.activestate.com/CPAN/modules/02packages.details.txt.gz
Going to read C:\Perl\cpan\sources\modules\02packages.details.txt.gz
  Database was generated on Tue, 13 Oct 2009 10:27:05 GMT
...............
  New CPAN.pm version (v1.9402) available.
  [Currently running version is v1.9205]
  You might want to try
    install CPAN
    reload cpan
  to both upgrade CPAN.pm and run the new version without leaving
  the current session.


.............................................................DONE
Fetching with LWP:
  http://ppm.activestate.com/CPAN/modules/03modlist.data.gz
Going to read C:\Perl\cpan\sources\modules\03modlist.data.gz
............................................................................DONE
Going to write C:\Perl\cpan\Metadata
Running install for module 'Jcode'
Running make for D/DA/DANKOGAI/Jcode-2.07.tar.gz
Fetching with LWP:
  http://ppm.activestate.com/CPAN/authors/id/D/DA/DANKOGAI/Jcode-2.07.tar.gz
Fetching with LWP:
  http://ppm.activestate.com/CPAN/authors/id/D/DA/DANKOGAI/CHECKSUMS
Checksum for C:\Perl\cpan\sources\authors\id\D\DA\DANKOGAI\Jcode-2.07.tar.gz ok
Scanning cache C:\Perl/cpan/build for sizes
DONE
Jcode-2.07/
Jcode-2.07/Changes
Jcode-2.07/Changes.ver0X
Jcode-2.07/Jcode/
Jcode-2.07/Jcode/_Classic.pm
Jcode-2.07/Jcode/Constants.pm
Jcode-2.07/Jcode/H2Z.pm
Jcode-2.07/Jcode/Nihongo.pod
Jcode-2.07/Jcode/Tr.pm
Jcode-2.07/Jcode/Unicode/
Jcode-2.07/Jcode/Unicode/Constants.pm
Jcode-2.07/Jcode/Unicode/NoXS.pm
Jcode-2.07/Jcode.pm
Jcode-2.07/Makefile.PL
Jcode-2.07/MANIFEST
Jcode-2.07/META.yml
Jcode-2.07/README
Jcode-2.07/t/
Jcode-2.07/t/_test_unicode.pl
Jcode-2.07/t/ambiguous.pl
Jcode-2.07/t/append.t
Jcode-2.07/t/benchmark.pl
Jcode-2.07/t/convert.t
Jcode-2.07/t/fun.pl
Jcode-2.07/t/getcode.t
Jcode-2.07/t/h2z.t
Jcode-2.07/t/hankaku.euc
Jcode-2.07/t/hiragana.euc
Jcode-2.07/t/jfold.t
Jcode-2.07/t/length.t
Jcode-2.07/t/mime.t
Jcode-2.07/t/new.t
Jcode-2.07/t/perl581.t
Jcode-2.07/t/regex.t
Jcode-2.07/t/stripped.euc
Jcode-2.07/t/table.euc
Jcode-2.07/t/table.jis
Jcode-2.07/t/table.sjis
Jcode-2.07/t/table.ucs2
Jcode-2.07/t/table.utf8
Jcode-2.07/t/tr.t
Jcode-2.07/t/unibench.pl
Jcode-2.07/t/x0212.euc
Jcode-2.07/t/x0212.jis
Jcode-2.07/t/x0212.ucs2
Jcode-2.07/t/x0212.utf8
Jcode-2.07/t/zenkaku.euc
Jcode-2.07/Unicode/
Jcode-2.07/Unicode/euc2uni.h
Jcode-2.07/Unicode/Makefile.PL
Jcode-2.07/Unicode/uni.c
Jcode-2.07/Unicode/uni2euc.h
Jcode-2.07/Unicode/Unicode.pm
Jcode-2.07/Unicode/Unicode.xs

  CPAN.pm: Going to build D/DA/DANKOGAI/Jcode-2.07.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Jcode
'nmake' は、内部コマンドまたは外部コマンド、
操作可能なプログラムまたはバッチ ファイルとして認識されていません。
  DANKOGAI/Jcode-2.07.tar.gz
  nmake -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Failed during this command:
 DANKOGAI/Jcode-2.07.tar.gz                   : make NO

だめみたい。

http://openlab.ring.gr.jp/Jcode/index-j.html からJcode-*.zip.をダウンロードし
C:\Perl\libに「Jcode.pm」と、「Jcode」フォルダへ。