delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/03/11:56:22

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <486CF7D8.6030609@x-ray.at>
Date: Thu, 03 Jul 2008 18:01:28 +0200
From: Reini Urban <rurban AT x-ray DOT at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: perl: ExtUtils-Liblist-Kid rejects $thislib.$so
References: <486CE724 DOT 8060601 AT users DOT sourceforge DOT net>
In-Reply-To: <486CE724.8060601@users.sourceforge.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

--------------050500060703080503000200
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Yaakov (Cygwin Ports) schrieb:
> EU::Liblist::Kid refuses any linker flags which resemble $thislib.$so.
> This is required by the Gtk2-Perl modules to link one against another OOTB.
> 
> I discussed this recently on gtk-perl-list.  The relevant thread:
> 
> http://mail.gnome.org/archives/gtk-perl-list/2008-March/msg00097.html
> http://mail.gnome.org/archives/gtk-perl-list/2008-April/msg00000.html

Ok, can you test this patch?

I just uploaded release -5 to my temp sourceware.org location,
but it was not a good sign obviously. I'll repackage.

The linker can swallow the link to the dll directly
(if EU::Liblist::Kid would behave correctly),
or we can generate convenience importlibs when used with 
EU::Liblist::Kid. I believe linking directly to the dll is easier.

But another core failure without testcase.
We have to get rid of all the wrong platform quirks for cygwin finally.
-- 
Reini Urban
http://phpwiki.org/  http://murbreak.at/

--------------050500060703080503000200
Content-Type: text/x-patch;
 name="pl-CYG21-LibList-Kid.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="pl-CYG21-LibList-Kid.patch"

Yaakov Selkowitz:
EU::Liblist::Kid refuses any linker flags which resemble $thislib.$so.
This is required by the Gtk2-Perl modules to link one against another OOTB.

I discussed this recently on gtk-perl-list.  The relevant thread:

http://mail.gnome.org/archives/gtk-perl-list/2008-March/msg00097.html
http://mail.gnome.org/archives/gtk-perl-list/2008-April/msg00000.html 

diff -u  perl-current/lib/ExtUtils/Liblist/Kid.pm.orig
--- perl-current/lib/ExtUtils/Liblist/Kid.pm.orig	2008-03-26 16:42:09.000000000 +0000
+++ perl-current/lib/ExtUtils/Liblist/Kid.pm	2008-07-03 15:57:38.265625000 +0000
@@ -132,6 +132,7 @@
 	    } elsif (-f ($fullname="$thispth/lib$thislib$Config_libext")){
 	    } elsif (-f ($fullname="$thispth/$thislib$Config_libext")){
             } elsif (-f ($fullname="$thispth/lib$thislib.dll$Config_libext")){
+            } elsif (-f ($fullname="$thispth/$thislib.dll")){
 	    } elsif (-f ($fullname="$thispth/Slib$thislib$Config_libext")){
 	    } elsif ($^O eq 'dgux'
 		 && -l ($fullname="$thispth/lib$thislib$Config_libext")


--------------050500060703080503000200
Content-Type: text/plain; charset=us-ascii

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

- Raw text -


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