Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 27914
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 bootstrapping fails with [ERROR] No such plugin command
Date: Mon, 2 Jul 2007 15:53:04 -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 and told it to t CPANPLUS It warned me: Since CPANPLUS 0.050 has a few prerequisites that are not core perl (yet), they are bundled with the distribution for boot- strapping purposes. You should install these prerequisites before continueing to install CPANPLUS. You can use the bootstrapped CPANPLUS to do this for you with the following commands: /home/doughera/my/perl/bin/perl5.9.5 bin/cpanp-boxed -s selfupdate dependencies /home/doughera/my/perl/bin/perl5.9.5 bin/cpanp-boxed -s selfupdate enabled_features Running either of those commands produces the unhelpful message: [ERROR] No such plugin command Since I don't know what is missing, I'm stuck on what to do next. -- Andy Dougherty doughera@lafayette.edu
Subject: Re: [rt.cpan.org #27914] AutoReply: CPANPLUS bootstrapping fails with [ERROR] No such plugin command
Date: Tue, 3 Jul 2007 09:59:42 -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
> 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 and told it to > t CPANPLUS > > It warned me: > > Since CPANPLUS 0.050 has a few prerequisites that are not core > perl (yet), they are bundled with the distribution for boot- > strapping purposes. > > You should install these prerequisites before continueing to > install CPANPLUS. You can use the bootstrapped CPANPLUS to do > this for you with the following commands: > > /home/doughera/my/perl/bin/perl5.9.5 bin/cpanp-boxed -s selfupdate dependencies > /home/doughera/my/perl/bin/perl5.9.5 bin/cpanp-boxed -s selfupdate enabled_features > > Running either of those commands produces the unhelpful message: > > [ERROR] No such plugin command > > Since I don't know what is missing, I'm stuck on what to do next.
This problem persists with a fresh install of bleadperl with CPANPLUS 0.80. The perl -V information for this version is below: Summary of my perl5 (revision 5 version 9 subversion 5 patch 31521) configuration: Platform: osname=linux, osvers=2.6.21.1, archname=i686-linux uname='linux fractal 2.6.21.1 #1 mon may 21 16:24:10 edt 2007 i686 gnulinux ' config_args='-Dmksymlinks -Dusedevel -Dprefix=/home/doughera/my/perl -Dcc=cc -Doptimize=-O2 -de' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='4.1.2 20061115 (prerelease) (Debian 4.1.1-21)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 libs=-lnsl -lgdbm -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.3.6.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.3.6' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO Locally applied patches: DEVEL Built under linux Compiled at Jul 3 2007 09:12:22 @INC: /home/doughera/my/perl/lib/5.9.5/i686-linux /home/doughera/my/perl/lib/5.9.5 /home/doughera/my/perl/lib/site_perl/5.9.5/i686-linux /home/doughera/my/perl/lib/site_perl/5.9.5 . -- Andy Dougherty doughera@lafayette.edu
On Mon Jul 02 18:27:07 2007, doughera@lafayette.edu wrote: Show quoted text
> /home/doughera/my/perl/bin/perl5.9.5 bin/cpanp-boxed -s selfupdate > dependencies > /home/doughera/my/perl/bin/perl5.9.5 bin/cpanp-boxed -s selfupdate > enabled_features > > Running either of those commands produces the unhelpful message: > > [ERROR] No such plugin command
This is *very* odd and according to the code path, shouldn't happen. Plugin commands are triggered by using /foo commands, rather than -foo commands, so i can recreate this diagnostic by doing: /usr/local/bin/perl bin/cpanp-boxed /s selfupdate dependencies --dryrun Note the /s Are you sure you're using -s, and not /s? If so, you've run into the weirdest bug i've ever seen.
Subject: Re: [rt.cpan.org #27914] CPANPLUS bootstrapping fails with [ERROR] No such plugin command
Date: Tue, 3 Jul 2007 12:01:11 -0400 (EDT)
To: via RT <bug-CPANPLUS [...] rt.cpan.org>
From: Andy Dougherty <doughera [...] lafayette.edu>
On Tue, 3 Jul 2007, via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=27914 > > > On Mon Jul 02 18:27:07 2007, doughera@lafayette.edu wrote:
> > /home/doughera/my/perl/bin/perl5.9.5 bin/cpanp-boxed -s selfupdate > > dependencies > > /home/doughera/my/perl/bin/perl5.9.5 bin/cpanp-boxed -s selfupdate > > enabled_features > > > > Running either of those commands produces the unhelpful message: > > > > [ERROR] No such plugin command
> > This is *very* odd and according to the code path, shouldn't happen. > > Plugin commands are triggered by using /foo commands, rather than -foo > commands, so i can recreate this diagnostic by doing: > > /usr/local/bin/perl bin/cpanp-boxed /s selfupdate dependencies --dryrun > > Note the /s > > Are you sure you're using -s, and not /s? If so, you've run into the weirdest > bug i've ever seen.
Yes. I cut-and-pasted it and also tried typing it manually just to be sure. Oh, wait a minute. I was typing this at the CPANPLUS shell. I have to quit CPANPLUS, change to the build directory hidden under ~/.cpanplus, and then run the command from my command-line shell there. Oh. I see. That wasn't obvious to me. Sorry about that. It wasn't clear to me that I had do that. Anyway, perhaps the whole message can be skipped if the prerequisites are already there? -- Andy Dougherty doughera@lafayette.edu
Subject: Re: [rt.cpan.org #27914] CPANPLUS bootstrapping fails with [ERROR] No such plugin command
Date: Tue, 3 Jul 2007 18:35:55 +0200
To: bug-CPANPLUS [...] rt.cpan.org
From: "Jos I. Boumans" <kane [...] xs4all.nl>
On Jul 3, 2007, at 6:01 PM, Andy Dougherty via RT wrote: Show quoted text
> > Queue: CPANPLUS > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=27914 > > > On Tue, 3 Jul 2007, via RT wrote: >
>> >> <URL: http://rt.cpan.org/Ticket/Display.html?id=27914 > >> >> On Mon Jul 02 18:27:07 2007, doughera@lafayette.edu wrote:
>>> /home/doughera/my/perl/bin/perl5.9.5 bin/cpanp-boxed -s >>> selfupdate >>> dependencies >>> /home/doughera/my/perl/bin/perl5.9.5 bin/cpanp-boxed -s >>> selfupdate >>> enabled_features >>> >>> Running either of those commands produces the unhelpful message: >>> >>> [ERROR] No such plugin command
>> >> This is *very* odd and according to the code path, shouldn't happen. >> >> Plugin commands are triggered by using /foo commands, rather than - >> foo >> commands, so i can recreate this diagnostic by doing: >> >> /usr/local/bin/perl bin/cpanp-boxed /s selfupdate dependencies >> --dryrun >> >> Note the /s >> >> Are you sure you're using -s, and not /s? If so, you've run into >> the weirdest >> bug i've ever seen.
> > Yes. I cut-and-pasted it and also tried typing it manually just to > be sure. > > Oh, wait a minute. I was typing this at the CPANPLUS shell. I > have to > quit CPANPLUS, change to the build directory hidden under > ~/.cpanplus, and > then run the command from my command-line shell there. Oh. I > see. That > wasn't obvious to me.
No you don't. Not at all. The message you pasted comes from the ***Makefile.PL***. You aren't in the CPANPLUS shell at this time. You dont have to chdir to any hidden directory anywhere. It's all from your *current directory*. No magic involved. When you *run* 'perl Makefile.PL' it sells you the following: ### PLEASE NOTE ################################################### Since CPANPLUS 0.050 has a few prerequisites that are not core perl (yet), they are bundled with the distribution for boot- strapping purposes. You should install these prerequisites before continueing to install CPANPLUS. You can use the bootstrapped CPANPLUS to do this for you with the following commands: /opt/bin/perl bin/cpanp-boxed -s selfupdate dependencies /opt/bin/perl bin/cpanp-boxed -s selfupdate enabled_features Or let your package manager take care of it. ################################################################### I'm not sure how this could be any clearer. If you have any suggestions, I'm open for a doc change. -- Jos Boumans "You know you are never more indignant in life than when you're shopping at a store you feel is beneath you and one of the other customers mistakes you for one of the employees of that store." - Dennis Miller CPANPLUS http://cpanplus.sf.net
Subject: Re: [rt.cpan.org #27914] CPANPLUS bootstrapping fails with [ERROR] No such plugin command
Date: Tue, 3 Jul 2007 12:42:21 -0400 (EDT)
To: "kane [...] xs4all.nl via RT" <bug-CPANPLUS [...] rt.cpan.org>
From: Andy Dougherty <doughera [...] lafayette.edu>
On Tue, 3 Jul 2007, kane@xs4all.nl via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=27914 > > > > On Jul 3, 2007, at 6:01 PM, Andy Dougherty via RT wrote: >
Show quoted text
> > Oh, wait a minute. I was typing this at the CPANPLUS shell. I > > have to > > quit CPANPLUS, change to the build directory hidden under > > ~/.cpanplus, and > > then run the command from my command-line shell there. Oh. I > > see. That > > wasn't obvious to me.
> > No you don't. Not at all. > > The message you pasted comes from the ***Makefile.PL***. You aren't > in the CPANPLUS shell at this time. You dont have to chdir to any > hidden directory anywhere. It's all from your *current directory*.
Sorry, my original statement is correct. I was in the CPANPLUS shell. I got this message by running t CPANPLUS while in the CPANPLUS shell. I saw the exact message you quote below, but I was in the CPANPLUS shell. (Presumably, CPANPLUS runs 'perl Makefile.PL' to build the distribution.) Show quoted text
> No magic involved. > > When you *run* 'perl Makefile.PL' it sells you the following: > > ### PLEASE NOTE ################################################### > > Since CPANPLUS 0.050 has a few prerequisites that are not core > perl (yet), they are bundled with the distribution for boot- > strapping purposes. > > You should install these prerequisites before continueing to > install CPANPLUS. You can use the bootstrapped CPANPLUS to do > this for you with the following commands: > > /opt/bin/perl bin/cpanp-boxed -s selfupdate dependencies > /opt/bin/perl bin/cpanp-boxed -s selfupdate enabled_features > > Or let your package manager take care of it. > > ################################################################### > > I'm not sure how this could be any clearer. If you have any suggestions, > I'm open for a doc change. > > > -- > > Jos Boumans > > "You know you are never more indignant in life than when you're > shopping at a store you feel is beneath you and one of the other > customers mistakes you for one of the employees of that store." > - Dennis Miller > > CPANPLUS http://cpanplus.sf.net > > >
-- Andy Dougherty doughera@lafayette.edu Dept. of Physics Lafayette College, Easton PA 18042
Subject: Re: [rt.cpan.org #27914] CPANPLUS bootstrapping fails with [ERROR] No such plugin command
Date: Tue, 3 Jul 2007 18:46:18 +0200
To: bug-CPANPLUS [...] rt.cpan.org
From: "Jos I. Boumans" <kane [...] dwim.org>
On Jul 3, 2007, at 6:42 PM, Andy Dougherty via RT wrote: Show quoted text
>> No you don't. Not at all. >> >> The message you pasted comes from the ***Makefile.PL***. You aren't >> in the CPANPLUS shell at this time. You dont have to chdir to any >> hidden directory anywhere. It's all from your *current directory*.
> > Sorry, my original statement is correct. I was in the CPANPLUS > shell. I > got this message by running > > t CPANPLUS > > while in the CPANPLUS shell. I saw the exact message you quote > below, but > I was in the CPANPLUS shell. (Presumably, CPANPLUS runs 'perl > Makefile.PL' to build the distribution.)
right... so it recursed... i'm not sure how to clarify that output seen when running a distributions 'perl Makefile.PL' isn't input you can give to a CPAN client like CPAN.pm or CPANPLUS. Again, suggestions welcome. Also note that when you run 't CPANPLUS', dependencies are written out in the generated Makefile, and CPANPLUS (the parent process) will just take care of them, as it states in the 'Makefile.PL' output. So no action is needed on your part. -- Jos Boumans 'Real programmers use "cat > a.out"'
Subject: Re: [rt.cpan.org #27914] CPANPLUS bootstrapping fails with [ERROR] No such plugin command
Date: Tue, 3 Jul 2007 13:27:43 -0400 (EDT)
To: "kane [...] dwim.org via RT" <bug-CPANPLUS [...] rt.cpan.org>
From: Andy Dougherty <doughera [...] lafayette.edu>
On Tue, 3 Jul 2007, kane@dwim.org via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=27914 > > > > On Jul 3, 2007, at 6:42 PM, Andy Dougherty via RT wrote:
> >> No you don't. Not at all. > >> > >> The message you pasted comes from the ***Makefile.PL***. You aren't > >> in the CPANPLUS shell at this time. You dont have to chdir to any > >> hidden directory anywhere. It's all from your *current directory*.
> > > > Sorry, my original statement is correct. I was in the CPANPLUS > > shell. I > > got this message by running > > > > t CPANPLUS > > > > while in the CPANPLUS shell. I saw the exact message you quote > > below, but > > I was in the CPANPLUS shell. (Presumably, CPANPLUS runs 'perl > > Makefile.PL' to build the distribution.)
> > right... so it recursed... i'm not sure how to clarify that output seen > when running a distributions 'perl Makefile.PL' isn't input you can give > to a CPAN client like CPAN.pm or CPANPLUS.
When you're in the CPANPLUS shell, it's not necessarily obvious what is generating the output. It is to you, since you wrote it, but it's not obvious to the end user. I'd suggest the following. It removes the reference to the bootstrapped CPANPLUS (which is probably what suggested to me that I could do this within the CPANPLUS shell), mentions the build directory explicitly, and puts the conventional '$' in front of the command to emphasize that it's a shell command. (This matches the style in the preceeding note about configuration.) I think these cues would have been sufficient for me. While I was at it, I took out the obsolete 0.50 version reference, rephrased the 'package manager' comment, and skipped printing out the message for versions of perl new enough that it would be irrelevant anyway. I think this should cover it. diff -r -u CPANPLUS-0.80/Makefile.PL CPANPLUS-0.80-patched/Makefile.PL --- CPANPLUS-0.80/Makefile.PL 2007-05-16 18:43:15.000000000 -0400 +++ CPANPLUS-0.80-patched/Makefile.PL 2007-07-03 13:16:11.000000000 -0400 @@ -119,21 +119,22 @@ } ### mention our prereqs +if ($] < 5.009005) { print loc(" ### PLEASE NOTE ################################################### -Since CPANPLUS 0.050 has a few prerequisites that are not core -perl (yet), they are bundled with the distribution for boot- -strapping purposes. - -You should install these prerequisites before continueing to -install CPANPLUS. You can use the bootstrapped CPANPLUS to do -this for you with the following commands: +Since CPANPLUS has a few prerequisites that are not included +in versions of perl prior to 5.9.5, they are bundled with the +distribution for boot-strapping purposes. + +You should install these prerequisites before continuing to +install CPANPLUS. You can do this from the build directory +with the following commands: - %1 - %2 + \$ %1 + \$ %2 -Or let your package manager take care of it. +Or you may install them using your system's package manager. ################################################################### -- Andy Dougherty doughera@lafayette.edu
Show quoted text
> I think this should cover it. > > diff -r -u CPANPLUS-0.80/Makefile.PL CPANPLUS-0.80-patched/Makefile.PL > --- CPANPLUS-0.80/Makefile.PL 2007-05-16 18:43:15.000000000 -0400 > +++ CPANPLUS-0.80-patched/Makefile.PL 2007-07-03 13:16:11.000000000 -0400
Thanks, applied.