[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sheflug] Automagic Perl installs and $PATH




Hi everyone.

I've just run

perl -MCPAN -e 'install Bundle::CPAN'

on my Debian laptop, and it's gone and updated Perl to 5.6.1 as well
as just the CPAN modules, which isn't too bad, I guess.

What is rather annoying is have to hold the systems hand through the
whole configure procedure.

I've got no idea how to answer most of the questions (i.e. how gcc
handles a_random_function() or how shared libraries are accessed) - so
I roll with the defaults/guesses.
These work just fine - I've done this already on another machine.

So, finally to the questions:

How do I get Perl to install using defaults, instead of prompting?
I've tried answering no to the 'manual config?' questions, but it
still wants info.

Also, (more Linux-y question), is there a way of specifying which perl
to use (besides #! /usr/local/bin/perl over /usr/bin/perl in scripts).

If I run perl -v on a Debian box with 5.005 (debian package - part of
base, can't uninstall (?)) and 5.6.1 (from CPAN, built from source
) installed, it's 5.005 that shows it's head.

Does the order of $PATH make a difference?
Is this fool proof?

Cheers.

Baz. 

-- 
Barrie J. Bremner		OpenPGP public key ID: F78CEE08
baz [at] barriebremner.com	http://barriebremner.com/


___________________________________________________________________

Sheffield Linux User's Group - http://www.sheflug.co.uk . 
To unsubscribe from this list send mail to 
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.