[Edinburgh-pm] making .debs with dh-make-perl

Nick Woolley nickwoolley at yahoo.co.uk
Tue Jul 14 04:59:28 PDT 2009


Nick Woolley wrote:
> It looks like the dh-make-perl default is trying to install its own
> perllocal.pod instead of modifying to it using a post-install script as is
> probably should.  (This point also noted by someone else in a comment in [2]).

I should mention, I found a solution to this, based on a clue from [1]:

Essentially, use the system ExtUtils::MakeMaker by setting the include path with
PERL5LIB to check the system folder first, when runing dh-make-perl:

 PERL5LIB=<path to system libs>:$PERL5LIB dh-make-perl <options> <dir>

This creates a .deb without the perllocal.pod file that then installs without
conflicting with other packages.  I have no idea how that works, just that it does.

Cheers,

N

1. http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg31458.html


More information about the Edinburgh-pm mailing list