Re: Debian and perl module locations
On Fri, Sep 06, 2002 at 02:26:41PM +0100, Colin Watson wrote:
> On Fri, Sep 06, 2002 at 09:12:01AM -0400, stan wrote:
> > I'm trying to port a perl script to a Debian unstable machine. It uses a
> > module called Proc-ProcessTable. I looked in dselect to see if there was a
> > .deb for this, but did not find one.
>
> That's libproc-process-perl. It's arguably misnamed.
>
> > No problem, I just got the module from CPAM di perl Makefile.PL ; make ;
> > make install. This installed the module in
> > /usr/local/lib/perl5/site_perl/5.6.1/i686-linux,
>
> That should really be /usr/local/lib/site_perl/5.6.1/i686-linux. I'm not
> quite sure why ExtUtils::MakeMaker went for the one you quote.
>
> > Can I modify the @INC search path? If so, how?
>
> You can always 'use lib', but it's probably not what you want here.
Whenever I have needed a CPAN module that is not already packaged
(rarely!), I have found that debianizing with dh-make-perl makes the
process absolutely painless.
Reply to: