Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 27909
Status: resolved
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: doughera [...] lafayette.edu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
On Jul 2, 2007, at 10:18 PM, Andrew Dougherty wrote: Show quoted text
> 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?
Useful feedback -- I have updated the diagnsotic message to the following: [ERROR] Could not find the 'cpanp-run-perl' binary in your path--this may be a problem. Please locate this program and set your 'perlwrapper' config entry to its path. From the default shell, you can do this by typing: s program perlwrapper FULL_PATH_TO_CPANP_RUN_PERL s save Show quoted text
> 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.
The version in current bleadperl doesn't actually set '-P' anymore (it was the perl -P option, but turned out to be a Bad Idea), since 0.79_02 which was released (and integrated into core) Tue May 8 13:14:12 2007: http://search.cpan.org/src/KANE/CPANPLUS-0.80/ChangeLog What version were you using? or what patch level on bleadperl? Show quoted text
> 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.
It's meant to be the path to 'cpanp-run-perl', as it says in the original diagnostic. I'm afraid your original message doesn't hold enough information to help me diagnose this problem. Does it go away when you use the latest bleadperl? Or failing that, the latest (stable) release of CPANPLUS? If not, could you tell me a bit about your setup? What OS for example? Looking at your perl install, is there any program installed that matches /cpanp-run- perl/? If so, where is it relative to your cpanp binary? If your OS is Win32, SteveH just reported a bug a few days ago that we should look for cpanp-run-perl.bat, as that's the extension added by that OS to all script files, so perhaps a simple rsync of the sources could fix this problem for you. Thanks, -- Jos Boumans
Subject: Re: [rt.cpan.org #27909] AutoReply: CPANPLUS 'perlwrapper' config entry
Date: Tue, 3 Jul 2007 09:35:19 -0400 (EDT)
To: Bugs in CPANPLUS via RT <bug-CPANPLUS [...] rt.cpan.org>
From: Andy Dougherty <doughera [...] lafayette.edu>
On Mon, 2 Jul 2007, Bugs in CPANPLUS via RT wrote: Show quoted text
> 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 appears to be fixed in version 0.80. I no longer see this start-up message. Sorry for the false alarm. -- Andy Dougherty doughera@lafayette.edu