delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/06/13:25:04

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
Date: Sun, 6 Nov 2005 10:21:03 -0800
From: Yitzchak Scott-Thoennes <sthoenna AT efn DOT org>
To: cygwin AT cygwin DOT 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 DOT 31F55254-ONC12570AF DOT 0023A18B-C12570AF DOT 0029337C AT arburg DOT com> <436C2A47 DOT 5050909 AT familiehaase DOT de>
Mime-Version: 1.0
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 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.

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/

- Raw text -


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