[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

OT -- perl and CPAN

From: Faried Nawaz <fn-svndev_at_hungry.org>
Date: 2002-07-07 23:59:23 CEST

  From: Garrett Rooney <rooneg@electricjellyfish.net>

  especially given CPAN's annoying
  habit of trying to download and install a new version of perl whenever
  i use it on a freebsd box (at least one that doesn't have a bleeding
  edge perl installed from ports).

Here's what you do to avoid perl -MCPAN upgrading your perl. This solution
works on non-FreeBSD systems as well, but on Solaris you have to do some
extra work to make it use gcc flags (assuming you don't have cc).

- type
   perl -MCPAN -e shell
- answer the questions
- type
   install CPAN <-- note, not Bundle::CPAN
- quit, restart perl -MCPAN -e shell, answer a few additional questions
- type
   install Bundle::libnet
   install Bundle::CPAN
- quit

You can now use perl -MCPAN without abandon!

FreeBSD caveat: if you ever cvsup up to a higher -stable release, you have
to do this again. However, this is a temporary problem because issues like
this have forced FreeBSD not to build perl as part of the base system any
more.

By the way, Test::Simple is installed during the CPAN.pm upgrade process.

Faried.

-- 
The Great GNU has arrived, infidels, behold his wrath !
If I wanted a GF,                Values, not variables.
   I'd use Dylan.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 8 00:00:05 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.