On Wed, 18 Jul 2001, Ken Williams wrote:
> [EMAIL PROTECTED] (Ken Williams) wrote:
> >One problem - I just upgraded my 5.6.0 to 5.6.1, and unfortunately it
> >changed all the /Library/Perl/... paths in @INC to
> >/Local/Library/Perl/... .
> >
> >For an immediate fix I just did
> > sudo ln -s /Library/Perl /Local/Library/Perl
> >
> >I'll probably end up setting 'sitelib' correctly and reinstalling perl
> >to fix @INC for real, though.
>
> Okay, grrr. The hints/darwin.sh file doesn't seem to allow the user to
> override its settings, so I have to edit it. I'm changing
> sitelib='/Local/Library/Perl';
> to
> sitelib='/Library/Perl';
Perhaps the hints/darwin.sh ought to adopt the "allow user overrides"
philosophy that most of Configure and many other hints files emply.
Try something along the lines of:
case "$sitelib" in
'') sitelib='/Library/Perl' ;;
esac
thereby allowing:
sh Configure -Dsitelib=/my/other/path
Configure-ations. Note that not all hints files have used this strategy
until quite recently.
Peter Prymmer