X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,TW_YG X-Spam-Check-By: sourceware.org Message-ID: <4CA5C05D.5030006@towo.net> Date: Fri, 01 Oct 2010 13:05:01 +0200 From: Thomas Wolff User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: R: libtermcap.a in cygwin 1.7.7.1 References: <82867 DOT 65036 DOT qm AT web25502 DOT mail DOT ukl DOT yahoo DOT com> In-Reply-To: <82867.65036.qm@web25502.mail.ukl.yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed 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 Am 01.10.2010 11:56, schrieb Marco Atzeri: > --- Ven 1/10/10, Dipak Gaigole ha scritto: >> Hello, >> >> Recently I had uninstalled my previous version of cygwin >> (1.5.24) and >> did a fresh install of latest cygwin (1.7.7.1) >> >> When I tried to recompile my code it failed because of >> libtermcap.a >> not found. This termcap library is needed by my code. > newly compiled applications should use terminfo > (that is, libncurses) and not libtermcap, see > http://www.cygwin.com/ml/cygwin-announce/2009-12/msg00000.html Actually, this is a linking issue. The old termcap API is emulated as part of the ncurses package, so instead of -ltermcap just link with -lncurses. Source code can remain unchanged, also you can even continue to #include ; -I/usr/include/ncurses may have to be added to your compiler invocation. Just in case you're running old programs, the old termcap database is also still available in package category "Utils". ------ Thomas >> Further investigation shows that this library is missing >> from this >> latest cygwin installer package. >> >> As far as I know, the termcap library is provided under >> "terminfo" or >> the older "termcap" cygwin package. >> >> During my installation, I had included all the "devel" >> packages. >> >> ######################################### >> Administrator AT engwin03-64dev1 ~ >> $ cygcheck -c "cygwin" >> Cygwin Package Information >> Package Version Status >> cygwin 1.7.7-1 OK >> >> Administrator AT engwin03-64dev1 ~ >> $ cygcheck -c | egrep "ncurses|terminfo|termcap" >> libncurses-devel 5.7-18 OK >> libncurses10 5.7-18 OK >> libncurses8 5.5-10 OK >> libncurses9 5.7-16 OK >> libncursesw-devel 5.7-18 OK >> libncursesw10 5.7-18 OK >> ncurses 5.7-18 OK >> ncurses-demo 5.7-18 OK >> ncursesw 5.7-18 OK >> ncursesw-demo 5.7-18 OK >> termcap 5.7_20091114-14 OK >> terminfo 5.7_20091114-14 OK >> terminfo0 5.5_20061104-12 OK >> >> Administrator AT engwin03-64dev1 ~ >> $ >> ######################################### >> >> Does anyone has faced similar issue? >> >> Meanwhile I am downloading the latest cygwin 1.7.7.1 source >> code and >> planning to recompile it. >> >> Thanks, >> Dipak >> > 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 > -- 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