X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <48CA6099.8080907@x-ray.at>
Date: Fri, 12 Sep 2008 14:29:13 +0200
From: Reini Urban <rurban@x-ray.at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1.16) Gecko/20080702 SeaMonkey/1.1.11
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: upgrading to perl-5.8.8-4
References: <loom.20080909T010351-528@post.gmane.org> <48C768CE.3185DE79@dessent.net> <loom.20080910T172538-475@post.gmane.org>
In-Reply-To: <loom.20080910T172538-475@post.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Rob schrieb:
> Yes, as I mentioned we use an internal packaging tool to install stuff and not 
> CPAN, so I will just need to create this dir manually and add it to @INC.
> 
> On a related note, while searching for (an easy) way to do this, I found an 
> awesome but ill-documented feature to do so: Luckily, perl was compiled with 
> the USE_SITECUSTOMIZE option, so all I have to do is create a file called 
> sitecustomize.pl and stick it in one of the existing @INC dirs. The file is a 
> perl script that will push a dir to the @INC array as follows:
> #!/usr/bin/perl
> BEGIN { 
> push @INC, "/usr/lib/perl5/site_perl";
> }

This will not work with the current perl-5.10 anymore, because I removed 
USE_SITECUSTOMIZE.

You'll have to use env PERL5LIB=/usr/lib/perl5/site_perl
or better fix your tools which install into this wrong dir.
-- 
Reini Urban
http://phpwiki.org/  http://murbreak.at/

--
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/

