delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/04/17:15:49

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: Fri, 4 Nov 2005 14:15:43 -0800
From: Yitzchak Scott-Thoennes <sthoenna AT efn DOT org>
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: <OFFF9A9C01 DOT 31F55254-ONC12570AF DOT 0023A18B-C12570AF DOT 0029337C AT arburg DOT com>
Mime-Version: 1.0
In-Reply-To: <OFFF9A9C01.31F55254-ONC12570AF.0023A18B-C12570AF.0029337C@arburg.com>
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/

- Raw text -


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