On Mon, 14 Feb 2005 03:39:21 -0500, Uri Guttman <[EMAIL PROTECTED]> wrote:
> >>>>> "BT" == Ben Tilly <[EMAIL PROTECTED]> writes:
> 
>   BT> My recollection says that Debian likes to place the
>   BT> modules that it installs in /usr/lib while the ones
>   BT> that you install go into /usr/local/lib.  Guess which
>   BT> one is first on Perl's library path?
> 
>   BT> This can cause problems when you've installed the
>   BT> needed version of a module but Debian has placed
>   BT> an older version somewhere earlier in your path.
> 
>   BT> My solution is to configure CPAN to pass the
>   BT> install-time argument UNINST=1, which causes CPAN
>   BT> to delete the conflicting Debian version of a module
>   BT> on install.  (If I'm going to CPAN, I know what I want to
>   BT> do and Debian doesn't know enough to manage the
>   BT> packages for me.)
> 
> i think another solution would be to just rip out debian's
> /usr/lib/perl5 and /usr/bin/perl and install perl from source using
> /usr/local/lib. then all cpan modules will be properly installed there
> and perl will be in /usr/local/bin. also then you get to build perl the
> way you want. my suse 9 has perl built with threads which slows all
> programs down.

I think that Perl is part of the Debian core system - they
have a lot of system utilities that use Perl, and have been
known to trip interesting bugs when they switch versions.
Plus were I to take your suggestion then I'd have to do a
bunch of research to find out what custom modules they
expect to have installed, and install them myself.

Furthermore I could get into interesting fun if in a system
upgrade Debian decided to reinstall its own version of
Perl after all.  And I'm suddenly back into the original
problem with no idea what broke, and what all I need to
fix to get back.

If you want to use a /usr/local/bin/perl on Debian, go
ahead.  But replacing theirs with yours (either in local or
not) seems to me to be bad sysadmining.

Cheers,
Ben
 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to