Plagger Install

ActivePerl 5.8 install

C:\>path
PATH=C:\Perl\bin\

tarとgzipのinstall

% cd d:/temp/texinst755
% mv gzip.exe tar.exe c:/Perl/bin

dmake install

% cd d:/temp/dmake-4.1pl1-win32
% mv dmake.exe c:/Perl/bin
% cp -a startup c:/Perl/bin

確認

C:\>perl -V:make
make='nmake';
  • だめじゃん….
  • c:/Perl/lib/CPAN/Config.pm を修正する
% cd c:/Perl/lib/CPAN
% mkorg Config.pm
% vi Config.pm
--- ./Config.pm.org     2006-08-12 01:40:59.305678400 +0900
+++ ./Config.pm 2006-08-12 01:41:32.122867200 +0900
@@ -33 +33 @@
-  'make' => '',
+  'make' => q[c:\Perl\bin\dmake.exe],
  • もう一度確認してみる
C:\>perl -V:make
make='nmake';
  • やっぱりだめだー! orz.
  • 「nmake.exeでも大丈夫なはず」という記述があるので先に進んでみる

ppmでtheoryx5をリポジトリに追加

C:\>ppm rep add "theoryx5" "http://theoryx5.uwinnipeg.ca/ppms/"
Error: neither 'HKEY_LOCAL_MACHINE/SOFTWARE/ActiveState/PPM//InstallLocation' nor 'HKEY_CURRENT_USER/SOFTWARE/ActiveState/PPM//InstallLocation' found in registry at C:\Perl\bin\ppm line 16.
  • やっぱりだめだー!
  • 何か間違ってるのかな? わからん.

CPANを使うための設定

C:\>perl -MCPAN -e shell

cpan shell -- CPAN exploration and modules installation (v1.7602)
ReadLine support enabled

cpan> o conf init
Are you ready for manual configuration? [yes](Enter)
CPAN build and cache directory? [C:\Perl/cpan](Enter)
Cache size for build directory (in MB)? [10] 100

Typical frequently used setting:

    UNINST=1         to always uninstall potentially conflicting files

Your choice:  []UNINST=1

やっぱりdirectoryが気になる.

You have no C:\TEMP\perl-------------------------------------------please-run-the-install-script------------------------------------------\cpan\sources\MIRRORED.BY

ってなんだ?

Last modified: 2006-09-05