[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Debian and perl module locations



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.

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, But perl on Debian appears
to have the following search path for modules:

Can't locate Proc/ProcessTable.pm in @INC (@INC contains:
/usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1
/usr/local/lib/site_perl .) at ./routedwatcher.pl line 25.

How can I fix this? Is thee some flag I need to pass to modules from CPAN
to get them to install in Debian specific locations? 

Can I modify the @INC search path? If so, how?



-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
						-- Benjamin Franklin



Reply to: