public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* pinfo configure problem
@ 2014-05-13 10:58 Andrew Schulman
  2014-05-13 11:25 ` Corinna Vinschen
  0 siblings, 1 reply; 12+ messages in thread
From: Andrew Schulman @ 2014-05-13 10:58 UTC (permalink / raw)
  To: cygwin

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:

  gcc -o conftest.exe -g -O2 -I/usr/include -L/usr/lib -lncursesw
conftest.c 

and this fails because the order of the arguments is wrong.  The command
should be

  gcc -o conftest.exe -g -O2 -I/usr/include conftest.c -L/usr/lib
-lncursesw 

and that succeeds.  So my question is really an autoconf question:  How
can I tell autoconf to fix the order of the compiler arguments?

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.

Thanks,
Andrew


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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-05-13 21:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-13 10:58 pinfo configure problem Andrew Schulman
2014-05-13 11:25 ` Corinna Vinschen
2014-05-13 11:52   ` Andrew Schulman
2014-05-13 11:57     ` Corinna Vinschen
2014-05-13 15:35       ` pinfo configure problem - configure.ac (1/1) Andrew Schulman
2014-05-13 16:54         ` Corinna Vinschen
2014-05-13 16:16       ` pinfo configure problem - configure.ac (0/1) Andrew Schulman
2014-05-13 17:29         ` Andrew Schulman
2014-05-13 18:54         ` Eric Blake
2014-05-13 19:25           ` Andrew Schulman
2014-05-13 19:54             ` Eric Blake
2014-05-13 21:15               ` Andrew Schulman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).