On Wednesday, April 18, 2001, at 08:08 AM, Ken Williams wrote:
> Yeah - but I think it must be the fault of CPAN.pm, or of the
> /System/Library/Perl/darwin/Config.pm that Apple provided. It contains
> lines like
>
> bin='/usr/bin'
> binexp='/usr/bin'
> installbin='/usr/bin'
> installscript='/usr/bin'
> scriptdir='/usr/bin'
> scriptdirexp='/usr/bin'
These are variables which specify where *perl* was installed. There
are also variables which specify where site-specific software should go:
installsitearch='/Library/Perl/darwin'
installsitebin='/usr/local/bin'
installsitelib='/Library/Perl'
and where vendor software goes:
installvendorarch='/Network/Library/Perl/darwin'
installvendorbin='/usr/local/bin'
installvendorlib='/Network/Library/Perl'
/usr and /System/Library are where system software goes. In Mac OS X,
perl is system software.
/usr/local and /Library are where local additions go, and
/Network/Library is where shared site-wide additions go. (There is no
/usr equivalent at present because BSD has no such distinction.)
CPAN modules and whatnot should install themselves in $installsiteblah
by default, not $installblah.
-Fred