CC: | Perl Porters <perl5-porters [...] perl.org> |
Subject: | CPANPLUS 'perlwrapper' config entry |
Date: | Mon, 2 Jul 2007 16:18:18 -0400 (EDT) |
To: | bug-cpanplus [...] rt.cpan.org |
From: | Andrew Dougherty <doughera [...] lafayette.edu> |
While testing CPANPLUS on my bleadperl test directory, I ran into the
following problem.
I built and installed bleadperl into a dedicated directory. I then ran
cpanp5.9.5. Upon startup, I got the following message:
[ERROR] Could not find the 'cpanp-run-perl' in your path--this may be a problem.
Please locate this program and set your 'perlwrapper' config entry to its path.
Attempting to provide a reasonable fallback...
This prompt -- the very first I see when I try running cpanp for the first
time ever -- isn't helpful. *HOW* do I set the perlwrapper config entry,
and *WHAT* do I set it to?
Using the 'h' menu, I see
s conf
sets config options, and the prompt told me to set the 'perlwrapper'
config entry. Alas, there is no 'perlwrapper' config entry show by the
's conf' men.
A bit of digging around shows me there is an 's program' option. In
there, I find a 'perlwrapper' entry, but it's set to '-P', so I don't know
what that entry is supposed to actually be. I thought it was supposed to
be a path, but '-P' looks like an option to something. Looking through
all the man pages for CPANPLUS, I don't find a single reference to
'perlwrapper'. I'm sure I can figure it out by digging in the code, but
my point is that this shouldn't be the very first thing I have to do to
get CPANPLUS running.
--
Andy Dougherty doughera@lafayette.edu