From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15107 invoked by alias); 13 May 2014 11:05:22 -0000 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 Received: (qmail 15096 invoked by uid 89); 13 May 2014 11:05:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 13 May 2014 11:05:21 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 435828E0773; Tue, 13 May 2014 13:05:18 +0200 (CEST) Date: Tue, 13 May 2014 11:25:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: pinfo configure problem Message-ID: <20140513110518.GN2436@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <05u3n9l6l8pgdeuidskcplb1930mmjtu05@4ax.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sMZCuqyhuhd4ycTi" Content-Disposition: inline In-Reply-To: <05u3n9l6l8pgdeuidskcplb1930mmjtu05@4ax.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2014-05/txt/msg00248.txt.bz2 --sMZCuqyhuhd4ycTi Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1197 On May 13 06:55, Andrew Schulman wrote: > I'm trying to build pinfo 0.6.10 in 64-bit. The configure script halts, > claiming "curses is not usable". The command that fails is: >=20 > gcc -o conftest.exe -g -O2 -I/usr/include -L/usr/lib -lncursesw > conftest.c=20 >=20 > and this fails because the order of the arguments is wrong. The command > should be >=20 > gcc -o conftest.exe -g -O2 -I/usr/include conftest.c -L/usr/lib > -lncursesw=20 >=20 > and that succeeds. So my question is really an autoconf question: How > can I tell autoconf to fix the order of the compiler arguments? >=20 > My autoconf knowledge is pretty thin I'm afraid. I can provide the > configure.ac script if that would be helpful. The source is old - I > think the last real update was in 2007, with a small update posted in > 2010. Doesn't calling `autoreconf' fix this problem? If so, if you use cygport, the default build strategy contains the autoreconf step. If you defin your own build function, call cygautoreconf as first step after `cd ${B}'. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --sMZCuqyhuhd4ycTi Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTcfxuAAoJEPU2Bp2uRE+gVF8P/2Jktx0rtazbKF6lQZq2tKb+ mcLTNccP7nqHTUe78vSYDqExN21/TJgBCgNri/qfHwt0tKTNmCS0p/d2POnlEwPp rFW0rvivnRGOWjM/WuhTiar4BxswpnLmgBBP94wjxmzY/mpZmEr40Pitj2MPUvCj zfSLEGTCJ/lMD6Ut4DBGffT/346Cvmih6HZ5PkcZy/VDTVkXgGWohBCaRq5xPC5O oCQOnB99J5J5Mo+sCnWw069eDkImwZfXbwadvLwymfNd/LFKV66O4zOKP5dvUDff CyxGWyCzGbfwt6Ut25Z1hBg9DsVmqxId9Pjg5p09m+kClaNLHX8XHxDRVpsfGU/E SsWdyEwY/gpHx2xnzUV/FcpfkB1vKls/IDEbeZT0Q7n1aRZZ13w7bsRdd4jtj0fH mVyH4WTmZkRsZZ0851BXB99LcrzMx58Yap3EQp5sNSG/1u9b85s8GYlGn7nlk2pZ oHdJ1uXF+pkhz6gWOe87xxxdmoyxL83+WKPnmkYC6yL47zfwCKoGW/ppwxJooEsN GdIx7i7+R677H1gzfWLsFgyx7sRGRsUIPM8s35JCIPNgcq7vc5x8GlL3hSgbJezk s43Irg+rOkjS5l5b2sEP39+L8a9anZZ+D8Qcnhb162NT5TEPAcEVxNTMPKvBVLxV KBGqy6dTiY90QJbIzJeA =Bc9b -----END PGP SIGNATURE----- --sMZCuqyhuhd4ycTi--