On January 29th Tyler MacDonald wrote: > Sébastien Aperghis-Tramoni <[EMAIL PROTECTED]> wrote: > > > Did anybody here have played with CPANPLUS::Dist::Deb? > > http://search.cpan.org/dist/CPANPLUS-Dist-Deb/ > > > > Believing its documentation, it should build a valid Debian package > > and take care of its dependencies (dunno if that means just listing > > or actually adding them in the package). > > This excited me, but even with all the debian helper utils installed > and CPANPLUS on default settings running as root, it crashes not being > able to find the right dist_cpan object out of CPANPLUS. :-(
For what it's worth, this now works for me, on Ubuntu 5.10. I had to install the March release of CPANPLUS (so it isn't surprising that it didn't work in January!). Note the version of CPANPLUS on debian.pkgs.cpan.org isn't recent enough -- so you have to go outside of Apt and install CPANPLUS manually. So if anybody is wanting .deb packages of Cpan distributions, this does seem to be a reasonable way of doing it, and without having to know anything about the internals or format of either sort of packages. Basically you just need to do: $ cpan2dist --format CPANPLUS::Dist::Deb Crypt::GeneratePassword then wait for cpan-libcrypt-generatepassword-perl_0.03-1_all.deb to spring into existence. Smylers