document how to set APPLLIB_EXP
authorAndy Dougherty <doughera@lafayette.edu>
Fri, 27 Sep 2002 09:13:29 +0000 (05:13 -0400)
committerhv <hv@crypt.org>
Wed, 2 Oct 2002 13:55:56 +0000 (13:55 +0000)
Subject: Re: [perl #15957] error installing perl 5.8.0
Message-ID: <Pine.SOL.4.10.10209270902210.6800-100000@maxwell.phys.lafayette.edu>

p4raw-id: //depot/perl@17957

Porting/pumpkin.pod

index a000108..efb9d26 100644 (file)
@@ -1258,12 +1258,18 @@ a mail message from Larry:
     probably have been named something to do with overriding though.  Since
     it's undocumented we could still change it...  :-)
 
-Given that it's already there, you can use it to override
-distribution modules.  If you do
-
-       sh Configure -Dccflags='-DAPPLLIB_EXP=/my/override'
-
-then perl.c will put /my/override ahead of ARCHLIB and PRIVLIB.
+Given that it's already there, you can use it to override distribution modules.
+One way to do that is to add
+
+       ccflags="$ccflags -DAPPLLIB_EXP='"/my/override"'
+       
+to your config.over file.  (You have to be particularly careful to get the
+double quotes in.  It might actually be easier to just #define it
+yourself in perl.c.)
+
+Then perl.c will put /my/override ahead of ARCHLIB and PRIVLIB.  Perl will
+also search architecture-specific and version-specific subdirectories of
+APPLLIB_EXP.
 
 =head2 Shared libperl.so location