delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/11/17/15:39:08

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_BP
X-Spam-Check-By: sourceware.org
Message-ID: <4EC570BC.2010202@gmail.com>
Date: Thu, 17 Nov 2011 20:38:20 +0000
From: Dave Korn <dave DOT korn DOT cygwin AT gmail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Problems with updating nearly any package meant for Cygwin or using packages such as libtool
References: <32849825 DOT post AT talk DOT nabble DOT com> <4EC2CFA2 DOT 40007 AT cygwin DOT com> <32857072 DOT post AT talk DOT nabble DOT com> <4EC41689 DOT 8090601 AT gmail DOT com> <32861517 DOT post AT talk DOT nabble DOT com> <4EC50550 DOT 7020403 AT gmail DOT com> <4EC56FB1 DOT 4000007 AT gmail DOT com>
In-Reply-To: <4EC56FB1.4000007@gmail.com>
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

On 17/11/2011 20:33, Dave Korn wrote:
> On 17/11/2011 13:00, marco atzeri wrote:
> 
>> the problem is that the configure scripts incorrectly looks for
>> libpcre.so that on cygwin is called differently:
>>
>> /usr/bin/cygpcre-0.dll
>>
>> so you need to modify the configure accordingly or
>> remove the test and leave only the check for "pcre.h"
>>
>> same for libidn     /usr/bin/cygidn-11.dll
>>
>> libpq     /usr/bin/cygpq.dll
>>
>> and so on.
>> These are upstream bugs in configure, looking for the lib
>> is wrong as different platforms have different conventions.
>> They should only look for the header.
> 
>   Well, they could look for the lib too, as long as they used the correct
> autoconf macro (AC_CHECK_LIB or AC_SEARCH_LIB) to do so.  


  Whoops, no they can't.  The hydra configure script isn't from autconf at
all; it's just hand-written.

  Well, at least it serves as an object lesson in why you shouldn't do that
(see also: reinventing the wheel, NIH syndrome).

    cheers,
      DaveK

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

- Raw text -


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