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/