From: H.Merijn Brand Date: Mon, 19 Jan 2004 16:05:50 +0000 (+0000) Subject: Describe how to limit the perl's default @INC during Configure X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3f847123752a7345ec427e2d90c1dc121823a61a;p=p5sagit%2Fp5-mst-13.2.git Describe how to limit the perl's default @INC during Configure to _not_ include older versions p4raw-id: //depot/perl@22175 --- diff --git a/INSTALL b/INSTALL index 69cceb5..2c93839 100644 --- a/INSTALL +++ b/INSTALL @@ -238,6 +238,20 @@ defaults from then on. After it runs, Configure will perform variable substitution on all the *.SH files and offer to run make depend. +=head2 Disabling older versions of Perl + +Configure will search for binary compatible versions of previously +installed perl binaries in the tree that is specified as target tree +and these will be used by the perl being built. + +To disable use of older perl modules, even completely valid pure perl +modules, you can specify to not include the pathes found: + + sh Configure -Dinc_version_list=none ... + +When using the newer perl, you can add these pathes again in the +$PERL5LIB environment variable or with perl's -I runtime option. + =head2 Altering config.sh variables for C compiler switches etc. For most users, all of the Configure defaults are fine. Configure