in reply to Issues installing CPAN modules on Debian (OT)
I get
dh-make-perl --build --cpan ... expects a package name ie dh-make-perl --build --cpan String::Random$ dh-make-perl --build --cpan String-Random-0.22 Dispatching deprecated method 'CPAN::Config::load' to CPAN::HandleConf +ig CPAN: File::HomeDir loaded ok (v0.69) CPAN: Storable loaded ok (v2.18) Going to read /home/bri/.cpan/Metadata Database was generated on Sun, 03 Aug 2008 02:03:08 GMT Can't find 'String::Random::0.22' module on CPAN
I've built hundreds of packages using dh-make perl. Here's how I do it...
There's probably an option to dh-make-perl to set the debian version number that would make steps 5-9 unnecessary, but it's so little effort I haven't looked.
I actually followed these steps as I've typed them up, so why not follow along and report back which bit doesn't work for you?
Update:
There is indeed an option to set the package's version number, but you have to include the upstream version number too: dh-make-perl --version 0.15-0.0 --build MooseX-Getopt-0.15
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Issues installing CPAN modules on Debian (OT)
by bradcathey (Prior) on Aug 03, 2008 at 22:10 UTC | |
by FunkyMonk (Bishop) on Aug 03, 2008 at 22:28 UTC |