Headline: very simple local CPAN instruction

TWiki often would be helped by having a local CPAN library to add to a Hosting providors one (and Catalyst certainly needs it at the moment). I came across this while setting up my test Catalyst app on Dreamhost, Local CPAN setup, but it looks so simple to me, it should work pretty much anywhere that the requirements for CPAN exist.

export PERL5LIB=~/site/perl/share/perl/5.8:~/site/perl/share/perl/5.8.4:~/site/perl/lib/perl5:~/site/perl/lib/perl/5.8.4

perl -MCPAN -e shell and say no to manual configuration.

exit CPAN shell and restart it (perl -MCPAN -e shell), then run

  o conf makepl_arg PREFIX=~/site/perl
  o conf commit
  install CPAN
exit CPAN shell and restart it (perl -MCPAN -e shell), say no to manual configuration and then run
  o conf mbuildpl_arg --install-base=~/site/perl
  o conf prefer_installer MB
  o conf commit
  install Module::Build




EditAttachPrint versionHistory: r5 < r4 < r3 < r2 < r1BacklinksRaw ViewRaw editMore topic actions

Subscribe

SubscribePlugin? not installed/enabled

%SUBSCRIBE{ topic="Blog.BlogEntry2006x10x24x16x16" format="$action to changes to BlogEntry2006x10x24x16x16" formatunsubscribe="$action from changes to BlogEntry2006x10x24x16x16" }%

TWiki powered TWiki-5.0.0, Sun, 05 Oct 2008, build 17588
skin by fosiki.com
a @ WikiRing.com partner