delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/04/22:43:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <436C2A47.5050909@familiehaase.de>
Date: Sat, 05 Nov 2005 04:43:03 +0100
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915
MIME-Version: 1.0
To: Frank_Ehlert AT arburg DOT com
CC: cygwin AT cygwin DOT com
Subject: Re: Missing directories in @INC with perl 5.8.7 and cygwin 1.5.18-1
References: <OFFF9A9C01 DOT 31F55254-ONC12570AF DOT 0023A18B-C12570AF DOT 0029337C AT arburg DOT com>
In-Reply-To: <OFFF9A9C01.31F55254-ONC12570AF.0023A18B-C12570AF.0029337C@arburg.com>
X-IsSubscribed: yes

Frank_Ehlert AT arburg DOT com wrote:
> 
> 
> 
> Hi,
> 
> If PERL5LIB is set, perl searches for according version directories and
> architecture specific directories.
> If they are present they will be included in the @INC array.
> 
> 
> Now I am faced with the problem that with perl 5.8.7 this does not work anymore!

There is a new feature in perl, if there is a the script
$Config{siteperl}/sitecustomize.pl present it will be executed.  See
http://search.cpan.org/~nwclark/perl-5.8.7/pod/perlrun.pod#%2Df how to 
disable it or how it may help you until an update of perl with a
workaround is released, from perlrun.pod:

-f

     Disable executing $Config{siteperl}/sitecustomize.pl at startup.

     Perl can be built so that it by default will try to execute 
$Config{siteperl}/sitecustomize.pl at startup. This is a hook that 
allows the sysadmin to customize how perl behaves. It can for instance 
be used to add entries to the @INC array to make perl find modules in 
non-standard locations.


Maybe this feature is also the reason that it behaves different from 
previous releases.

Gerrit
-- 
=^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019