X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-5.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_YG X-Spam-Check-By: sourceware.org Message-ID: <1346722038.6024.28.camel@YAAKOV04> Subject: Re: cygport (0.11.0): Installing dll's into perl site directories (not /usr/bin) From: "Yaakov (Cygwin/X)" To: cygwin Date: Mon, 03 Sep 2012 20:27:18 -0500 In-Reply-To: <7D847B86-17E1-430E-8482-9CDB7DE61140@mac.com> References: <7D847B86-17E1-430E-8482-9CDB7DE61140 AT mac DOT com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 http://cygwin.com/acronyms/#PCYMTWLL ! On Tue, 2012-09-04 at 10:21 +1000, Mark O'Keefe wrote: > I'm trying to use cygport to package up DLL's that are used as part > of a set of perl packages. Being vague doesn't help us help you. Telling us what package you're trying to build, and attaching your (draft) .cygport files, does. > The place that these are meant to be installed is under the perl site > configuration (/usr/lib/perl5/site_perl//auto///*.dll. Cygwin packages should install Perl modules into vendor_perl (PERL_VENDORLIB and PERL_VENDORARCH in cygport terms). > 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//auto//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. This means "-module" is missing from the *_la_LDFLAGS for these module(s). You'll need to patch the affected Makefile.am file(s) and restart the build to fix this. Yaakov -- 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