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: <4EC56FB1.4000007@gmail.com> Date: Thu, 17 Nov 2011 20:33:53 +0000 From: Dave Korn 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> In-Reply-To: <4EC50550.7020403@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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. Rather than try searching in arbitrary and unknown places for unknown file names, that just tries running a compile with the relevant -l flag and seeing if it succeeds - which for the purposes of the build is more definitively accurate anyway. 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