Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Fri, 4 Nov 2005 14:15:43 -0800 From: Yitzchak Scott-Thoennes To: cygwin AT cygwin DOT com Cc: gerrit AT familiehaase DOT de Subject: Re: Missing directories in @INC with perl 5.8.7 and cygwin 1.5.18-1 Message-ID: <20051104221543.GA4488@efn.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-IsSubscribed: yes On Fri, Nov 04, 2005 at 08:30:01AM +0100, Frank_Ehlert wrote: > 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! > > export PERL5LIB=//swece/sweperl/module/CPAN/lib/perl5/site_perl As a workaround, do (untested): export PERL5LIB=//swece/sweperl/module/CPAN/lib/perl5/site_perl PERL5LIB="$PERL5LIB:$PERL5LIB/5.8/cygwin:$PERL5LIB/5.8:$PERL5LIB/cygwin" > perl -V > ... > @INC: > //swece/sweperl/module/CPAN/lib/perl5/site_perl > /usr/lib/perl5/5.8/cygwin > /usr/lib/perl5/5.8 > ... > > With perl 5.8.2 the output looks like > perl -V > ... > @INC: > //swece/sweperl/module/CPAN/lib/perl5/site_perl/5.8.2 > /cygwin-thread-multi-64int > //swece/sweperl/module/CPAN/lib/perl5/site_perl/5.8.2 > //swece/sweperl/module/CPAN/lib/perl5/site_perl > /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int > /usr/lib/perl5/5.8.2 > ... The perl code to add directories from Easiest workaround to make this work in general would be to build perl with inc_version_list="5.8/cygwin 5.8 cygwin" in Policy.sh. Gerrit, do you want to release a new perl package with this set? -- 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/