Re: CPAN autobundle - a fiction?

From: Jimi-Carlo Bukowski-Wills (jimicarlo_at_ntlworld.com)
Date: 02/25/04


Date: Wed, 25 Feb 2004 20:16:31 +0000

Jean-Louis Leroy wrote:
> I think I'm following the `man CPAN` instructions about using
> autobundles religiously, however, given this Perl:
>
> [root@toots root]# perl -v
>
> This is perl, v5.8.0 built for i386-linux-thread-multi
> (with 1 registered patch, see perl -V for more detail)
> [...]
>
> ...I try to create a bundle:
>
> [root@toots root]# cpan -a
> Creating autobundle in /Bundle
> CPAN: Storable loaded ok
> Going to read /root/.cpan/Metadata
> Database was generated on Wed, 18 Feb 2004 11:54:43 GMT
>
> Package namespace installed latest in CPAN file
> AnyDBM_File 1.00 1.00 N/NW/NWCLARK/...
> [...]
> warnings 1.00 1.03 N/NW/NWCLARK/...
> warnings::register 1.00 1.00 N/NW/NWCLARK/...
>
> Wrote bundle file
> /root/.cpan/Bundle/Snapshot_2004_02_18_01.pm
>
>
> And then I try to install it on another computer and it fails. So I
> try to install it on the very same computer I produced it on and it
> fails in the same fashion:
>
> [root@toots root]# cpan Bundle::Snapshot_2004_02_18_01
> Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
> CPAN: Compress::Zlib loaded ok
> Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
> Database was generated on Wed, 18 Feb 2004 11:54:43 GMT
> CPAN: HTTP::Date loaded ok
>
> There's a new CPAN.pm version (v1.76) available!
> [Current version is v1.61]
> You might want to try
> install Bundle::CPAN
> reload cpan
> without quitting the current session. It should be a seamless upgrade
> while we are running...
>
> Going to read /root/.cpan/sources/modules/03modlist.data.gz
> CPAN: Storable loaded ok
> Going to write /root/.cpan/Metadata
> Warning: Cannot install Bundle::Snapshot_2004_02_18_02, don't know
> what it is. Try the command
>
> i /Bundle::Snapshot_2004_02_18_02/
>
> Jean-Louis Leroy
Because it's not updated in
/root/.cpan/sources/modules/03modlist.data.gz !!!
This comes from CPAN and doesn't yet have your module registered!
Making a bundle with CPAN doesn't automatically get you a CPAN Author ID
or Namespace or actually upload your distro... it only makes the
package! You need to try something else to test your module! Maybe you
need to tell CPAN to search locally for it???



Relevant Pages

  • Re: CPAN autobundle - a fiction?
    ... Jean-Louis Leroy writes: ... > ...I try to create a bundle: ... > CPAN: Storable loaded ok ... > And then I try to install it on another computer and it fails. ...
    (comp.lang.perl.modules)
  • Re: [RFC] Devel::Dependencies
    ... Jean-Louis Leroy wrote: ... some people have expressed the wish to see the Devel::Depencencies module make it to CPAN. ... of how many directory lookup this implies; ... troubleshoot slow program startup times. ...
    (comp.lang.perl.modules)
  • Re: distribute and install problem
    ... >> and target machines use Mandrake, and have a different architecture, ... > admin to install the module. ... and use the CPAN module to install the bundle in one go. ...
    (comp.lang.perl.modules)