public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Build script using gcc fails - missing ncurses?
@ 2015-03-17 13:02 Fergus Daly
  2015-03-17 13:12 ` Fergus Daly
  0 siblings, 1 reply; 3+ messages in thread
From: Fergus Daly @ 2015-03-17 13:02 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'; +Cc: Fergus Daly

A build script I have used forever containing the line
	gcc -o execname ./{various.a} -lncurses
has failed in a new installation today of Cygwin, with the error message 
	ld: cannot find -lncurses
	collect2: error: ld returned 1 exit status

The installation script to build Cygwin has not altered, taking the form
	setup-x86 -P (list of packages}
unchanged between <old installation, not more than 3 months old> and <new installation, today>

But a comparison of new installed.db with old installed.db shows that the new installation lacks various library components that the old installation possesses, including all of
	libncurses10 libncurses10-5.9-20150307-1.tar.bz2 0
	libncurses8 libncurses8-5.5-10.tar.bz2 0
	libncurses-devel libncurses-devel-5.9-20150307-1.tar.bz2 0
	libncursesw-devel libncursesw-devel-5.9-20150307-1.tar.bz2 0
(and a few others besides).

Although the {list of packages} called for the installation 3 months ago and the installation today is unchanged, something has led to the reduced provision. Can anybody help me recover whatever is necessary to make the line
	gcc ... -lncurses
work as it used to?

Thank you.

Fergus
    

--
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] 3+ messages in thread

* RE: Build script using gcc fails - missing ncurses?
  2015-03-17 13:02 Build script using gcc fails - missing ncurses? Fergus Daly
@ 2015-03-17 13:12 ` Fergus Daly
  2015-03-17 20:46   ` Achim Gratz
  0 siblings, 1 reply; 3+ messages in thread
From: Fergus Daly @ 2015-03-17 13:12 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'; +Cc: Fergus Daly

> A build script I have used forever containing the line
> 	gcc -o execname ./{various.a} -lncurses
> has failed in a new installation today of Cygwin, with the error message 
> 	ld: cannot find -lncurses
> 	collect2: error: ld returned 1 exit status

> The installation script to build Cygwin has not altered, taking the form
> 	setup-x86 -P (list of packages}
> unchanged between <old installation, not more than 3 months old> and <new installation, today>

PS Adding ',ncurses' to {list of packages} has made no difference: still getting error message ".. cannot find -lncurses".
Fergus


--
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] 3+ messages in thread

* Re: Build script using gcc fails - missing ncurses?
  2015-03-17 13:12 ` Fergus Daly
@ 2015-03-17 20:46   ` Achim Gratz
  0 siblings, 0 replies; 3+ messages in thread
From: Achim Gratz @ 2015-03-17 20:46 UTC (permalink / raw)
  To: cygwin

Fergus Daly writes:
> PS Adding ',ncurses' to {list of packages} has made no difference:
> still getting error message ".. cannot find -lncurses".

Yes, as you already wrote yourself when asking your question, you are
missing the package "libcurses-devel".


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs

--
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] 3+ messages in thread

end of thread, other threads:[~2015-03-17 18:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-17 13:02 Build script using gcc fails - missing ncurses? Fergus Daly
2015-03-17 13:12 ` Fergus Daly
2015-03-17 20:46   ` Achim Gratz

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