This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Missing directories in @INC with perl 5.8.7 and cygwin 1.5.18-1


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]