Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Sun, 6 Nov 2005 10:21:03 -0800
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
To: cygwin@cygwin.com
Subject: Re: Missing directories in @INC with  perl 5.8.7 and cygwin 1.5.18-1
Message-ID: <20051106182103.GA3804@efn.org>
References: <OFFF9A9C01.31F55254-ONC12570AF.0023A18B-C12570AF.0029337C@arburg.com> <436C2A47.5050909@familiehaase.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <436C2A47.5050909@familiehaase.de>
User-Agent: Mutt/1.4.2.1i
X-IsSubscribed: yes

On Sat, Nov 05, 2005 at 04:43:03AM +0100, Gerrit P. Haase wrote:
> Frank_Ehlert@arburg.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.

No, it's just a problem with the cygwin release.  S_incpush in perl.c
only looks for the full archname ("cygwin-thread-multi-64int") and
revision.patchlevel.subversion ("5.8.7") as subdirectories, but we are
setting things to make makemaker install modules using just 5.8 and
cygwin, even when a PREFIX is specified (not sure if this applies to
INSTALL_BASE as well).

Some changes to Configure are needed to make this cleaner.

--
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/

