Re: Straightening out perl

2003-12-23 Thread Matthew Seaman
On Tue, Dec 23, 2003 at 10:35:09AM -0500, Scott I. Remick wrote:

 One option would be to do a pkg_delete -f on 5.6 then use portdb -F to fix
 the dependencies. Not sure if that's enough or if I need to rebuild. And
 if I need to rebuild the dependencies, how could I easily handle the list
 in one-pass? Right now it all depends on 5.6 which I'd be deleting. I
 could whack 5.6, repoint all dependencies to 5.8, then tell it to forcibly
 rebuild everything that depends on 5.8... but I don't know if this is the
 right thing to do.

This is pretty much the right thing to do.  You need to delete the
perl-5.6.1_15 port, *and then re-install perl-5.8.2_2* and run
'use.perl port' again.  That will make perl-5.8.2 your default perl.
Use pkgdb -F to fix up the dependencies.

Then you may feel the need to re-install all perl ports which have
installed anything under /usr/local/lib/perl5/{,site_perl/}5.6.1 in
order to keep everything tidy -- that'll be pretty much every port
with a p5- preffix, plus a few oddballs tike rrdtool, pdflib,
ImageMagick -- judicious use of pkg_which(1) will help you there.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Straightening out perl

2003-12-23 Thread parv
in message [EMAIL PROTECTED],
wrote Scott I. Remick thusly...

 Maybe this belongs in the -ports list... I dunno. Anyways, saw a few
 messages recently that prompted me to check my perl situation:
 
 su-2.05b# pkg_info | grep perl-
 perl-5.6.1_15   Practical Extraction and Report Language
 perl-5.8.2_2Practical Extraction and Report Language
 
 And wouldn't you know, everything that depends on perl depends on 5.6
 currently. Yet it seems I should be ditching 5.6 and using 5.8.2, from
 what I read.

May not directly apply to OP...

If two versions of Perl are required ( as the situation is currently),
install one port at the default location for which modules must work.
Install the other perl port, for which modules are not needed, in
a non-default version.

If done in that order, the second port would pick up the module path
from the first.  Thus allowing the use of almost all the modules, except
XS ones.

Just a workaround until something better happens...


  - Parv

-- 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]