From: Joop S. <pg...@xs...> - 2004-04-13 17:04:51
|
Wilbert Knol wrote: > Thanks, Joop, for the info. > > The @INC path for my interpreter is as follows: > > wk@asus:~> perl -e 'foreach $i (@INC) { print "$i\n"; }' > /usr/lib/perl5/5.8.1/i586-linux-thread-multi > /usr/lib/perl5/5.8.1 > /usr/lib/perl5/site_perl/5.8.1/i586-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.1 > /usr/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.1 > /usr/lib/perl5/vendor_perl > . > wk@asus:~> > > ...so anything under /usr/local won't be found. > > The Perl cookbook says: > > "Standard modules are installed in a directory like /usr/lib/perl5, whereas > third-party modules are installed in /usr/lib/perl5/site-perl" > > This disagrees with your Debian paths, incidentally. In any case: /usr/local > doesn't seem to be a good choice. Hence my suggesion for a --perl-prefix > option in Hamlib. Which defaults to /usr, irrespective of the --prefix value. > Sounds like a good idea, the INC path for perl on debian is even weirder: /etc/perl /usr/local/lib/perl/5.8.3 /usr/local/share/perl/5.8.3 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl > > Wilbert, ZL2BSJ > > > Joop, PG4I |