From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21297 invoked by alias); 17 Nov 2011 13:00:24 -0000 Received: (qmail 21279 invoked by uid 22791); 17 Nov 2011 13:00:22 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_BP,TW_SV,TW_YG X-Spam-Check-By: sourceware.org Received: from mail-ww0-f41.google.com (HELO mail-ww0-f41.google.com) (74.125.82.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 17 Nov 2011 13:00:07 +0000 Received: by wwf25 with SMTP id 25so9336760wwf.2 for ; Thu, 17 Nov 2011 05:00:06 -0800 (PST) Received: by 10.216.167.198 with SMTP id i48mr1235865wel.72.1321534806127; Thu, 17 Nov 2011 05:00:06 -0800 (PST) Received: from [172.21.193.102] (85-18-126-22.ip.fastwebnet.it. [85.18.126.22]) by mx.google.com with ESMTPS id et20sm36645777wbb.15.2011.11.17.05.00.04 (version=SSLv3 cipher=OTHER); Thu, 17 Nov 2011 05:00:05 -0800 (PST) Message-ID: <4EC50550.7020403@gmail.com> Date: Thu, 17 Nov 2011 13:00:00 -0000 From: marco atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Problems with updating nearly any package meant for Cygwin or using packages such as libtool References: <32849825.post@talk.nabble.com> <4EC2CFA2.40007@cygwin.com> <32857072.post@talk.nabble.com> <4EC41689.8090601@gmail.com> <32861517.post@talk.nabble.com> In-Reply-To: <32861517.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-11/txt/msg00302.txt.bz2 On 11/17/2011 1:15 PM, viper_88 wrote: > > If only compiling and installing Hydra in real life was so easy, I wouldn't > be writing about things that don't work. First things first, though... > Let me tell you, from begining to end, what I have got through first to end > up with having problems using and/or updating libtool as said in the very > title. > When I want to compile Hydra, I get this: > Hubert@Hubert-PC ~ > $ cd Hydra > > Hubert@Hubert-PC ~/Hydra > $ ./configure > > Starting hydra auto configuration ... > > Checking for openssl (libssl, libcrypto, ssl.h, sha.h) ... > ... found > Checking for idn (libidn.so) ... > ... NOT found, unicode logins and passwords > will no > t be supported > Checking for pcre (libpcre.so, pcre.h) ... > ... NOT found, server response checks > wil > l be less reliable > Checking for Postgres (libpq.so, libpq-fe.h) ... > ... NOT found, module postgres > disa > bled > Checking for SVN (libsvn_client-1 libapr-1.so libaprutil-1.so) ... > ... NOT > found, mo > dule svn disabled > Checking for firebird (libfbclient.so) ... > ... NOT found, module firebird > disabled > Checking for MYSQL client (libmysqlclient.so, math.h) ... > ... NOT found, module > Mysq > l will not support version> 4.x > Checking for AFP (libafpclient.so) ... > ... NOT found, module Apple Filing > Protocol d > isabled - Apple sucks anyway > Checking for NCP (libncp.so / nwcalls.h) ... > ... NOT found, module NCP disabled > Checking for SAP/R3 (librfc/saprfc.h) ... > ... NOT found, module sapr3 disabled > Get it from http://www.sap.com/solutions/netweaver/linux/eval/index.asp > Checking for libssh (libssh/libssh.h) ... > ... NOT found, module ssh disabled > Get it from http://www.libssh.org > Checking for Oracle (libocci.so libclntsh.so / oci.h) ... > ... NOT found, module > Orac > le disabled > Checking for GUI req's (pkg-config, gtk+-2.0) ... > ... found > > Hydra will be installed into .../bin of: /usr/local > (change this by running ./configure --prefix=path) > > Writing Makefile.in ... > > Cygwin detected, if compilation fails just update your installation. > > Windres found, will attach icons to hydra cygwin executables > > now type "make" > > Hubert@Hubert-PC ~/Hydra > $ > > As you can easily see, most of the stuff is missing. It's a bit odd, though, > since when I look for, say, pcre (which I definitely had installed), I get > this: > > Hubert@Hubert-PC ~ > $ apt-cyg find pcre > Working directory is /setup > Mirror is ftp://mirror.mcs.anl.gov/pub/cygwin > --2011-11-16 22:31:12-- ftp://mirror.mcs.anl.gov/pub/cygwin/setup.bz2 > => `.listing' > Resolving mirror.mcs.anl.gov (mirror.mcs.anl.gov)... 146.137.96.7, > 146.137.96.15 > , 2620:0:dc0:1800:214:4fff:fe7d:1b9 > Connecting to mirror.mcs.anl.gov (mirror.mcs.anl.gov)|146.137.96.7|:21... > connec > ted. > Logging in as anonymous ... Logged in! > ==> SYST ... done. ==> PWD ... done. > ==> TYPE I ... done. ==> CWD (1) /pub/cygwin ... done. > ==> PASV ... done. ==> LIST ... done. > > [<=> ] 1,043 --.-K/s in 0s > > 2011-11-16 22:31:14 (4.76 MB/s) - `.listing' saved [1043] > > Removed `.listing'. > --2011-11-16 22:31:14-- ftp://mirror.mcs.anl.gov/pub/cygwin/setup.bz2 > => `setup.bz2' > ==> CWD not required. > ==> PASV ... done. ==> RETR setup.bz2 ... done. > Length: 276018 (270K) > > 100%[======================================>] 276,018 169K/s in 1.6s > > 2011-11-16 22:31:16 (169 KB/s) - `setup.bz2' saved [276018] > > Updated setup.ini > > Searching for installed packages matching pcre: > libpcre-devel > libpcre0 > libpcrecpp-devel > libpcrecpp0 > pcre > > Searching for installable packages matching pcre: > libpcre-devel > libpcre0 > libpcrecpp-devel > libpcrecpp0 > pcre > pcre-devel > > Hubert@Hubert-PC ~ > $ > > pcre is installed already, so I have no idea why Cygwin says it is not (I > also thought I had postgres, but instead I found postgresql which seems not > to be what's needed). Generally speaking, most of the packages is missing, > so the compiled Hydra would lack many of its capabilities (and that I don't > want). The reason for which I started looking around was to gather > everything and make everything work. So that is one thing. The other one is > that when I wanted to update libstdc++, in order to later work with GCC, I > got this: Dear Hubert, 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. libstdc++ is also available on cygwin $ cygcheck -c -d |grep c++ libstdc++6 4.5.3-3 libstdc++6-devel 4.5.3-3 please install gcc4-g++ if you want to compile C++ Regards Marco -- 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