X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=3.1 required=5.0	tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD,TW_YG
X-Spam-Check-By: sourceware.org
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; CHARSET=US-ASCII
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855,1.0.431,0.0.0000 definitions=2012-09-03_04:2012-09-03,2012-09-03,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=5 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1203120001 definitions=main-1209030322
From: "Mark O'Keefe" <mark_okeefe@mac.com>
Subject: cygport (0.11.0):  Installing dll's into perl site directories (not /usr/bin)
Date: Tue, 04 Sep 2012 10:21:34 +1000
Message-id: <7D847B86-17E1-430E-8482-9CDB7DE61140@mac.com>
To: cygwin@cygwin.com
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

Hi,

I'm trying to use cygport to package up DLL's that are used as part of a set of perl packages.  The place that these are meant to be installed is under the perl site configuration (/usr/lib/perl5/site_perl/<version>/auto/<package>/<subpackage>/*.dll.

Currently what happens is libtool munges the path to ../bin.  If I don't use cygport to do the installation, this means that the DLL's are installed into:  /usr/lib/perl5/site_perl/<version>/auto/<package>/bin
This doesn't work as this location is not in the search path for perl's DynaLoader.

When you add cygport to the equation the files end up in:  /usr/bin
Again, this doesn't work as this isn't in the load path.

Anyone got any suggestions on how to achieve this?  Or alternatives other than the obvious - add the path to the search path.

When I stopped libtool from munging the path to have the ../bin in it, thinks broke.  I haven't tried to debug this one yet, but started looking for anyone that might have done this before and have suggestions on how to do it.

Hopefully someone out there has some helpful suggestions.

Cheers,
Mark.



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

