On Sat Sep 06 10:57:46 2008, KANE wrote:
Show quoted text> Hi Jeremiah,
Hello!
Show quoted text> On Sun Aug 03 09:45:47 2008, jeremiah wrote:
> > The example in the documentation fails on my debian machine:
> >
> > cpan2dist --format CPANPLUS::Dist::Deb --buildprereq --skiptest DBI
> > Invalid format: CPANPLUS::Dist::Deb
> >
> > What are the valid formats?
>
> They should be listed in the usage message you get afterwards. If
> that's not the
> case, please reopen the ticket:
The valid formats are listed. But then the above example, which I took
from the cpan2dist documentation, should be amended since I am running
it verbatim and it produces the "Invalid format" message.
From the cpan2dist documentation;
### build a debian package of DBI and it's prerequisites,
### don't bother running tests
cpan2dist --format CPANPLUS::Dist::Deb --buildprereq --skiptest DBI
### build a debian package of DBI and it's prerequisites and install
them
cpan2dist --format CPANPLUS::Dist::Deb --buildprereq --install DBI
I am confused as to why there is an example to build a format that is
invalid.
Jeremiah
Show quoted text>
> $ perl bin/cpan2dist --format foo
> Invalid format: foo
> Usage: cpan2dist [--format FMT] [OPTS] Mod::Name [Mod::Name, ...]
> cpan2dist [--format FMT] [OPTS] --modulelist /tmp/mods.list
> cpan2dist [--format FMT] [OPTS] --archive /tmp/dist
> [/tmp/dist2]
>
> Will create a distribution of type FMT of the modules
> specified on the command line, and all their prerequisites.
>
> Can also create a distribution of type FMT from a local
> archive and all it's prerequisites
>
>
> Possible formats are:
> CPANPLUS::Dist::Autobundle
> CPANPLUS::Dist::Build
> CPANPLUS::Dist::MM
> CPANPLUS::Dist::PAR
>
> You can install more formats from CPAN!