X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 	tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49AC8A37.1010904@cwilson.fastmail.fm>
Date: Mon, 02 Mar 2009 20:39:03 -0500
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] [1.7] Updated: {ncurses/libncurses-devel/ncurses-demo}-5.7-11;    New: libncurses9-5.7-11
References: <announce.49AB0C19.7040807@cwilson.fastmail.fm> <2bf229d30903020726q6287c0b9obd6f61d57ba44bac@mail.gmail.com>
In-Reply-To: <2bf229d30903020726q6287c0b9obd6f61d57ba44bac@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Chris Sutcliffe wrote:
>> NOTE TO MAINTAINERS: You may need to add -ltinfo to LIBS when linking
>> against ncurses.
> 
> Given that tgetent has moved to libtinfo, I've configured vim using:
> 
> LIBS="-Wl,--enable-auto-import" ./configure
>       --prefix=/usr \
>       --sysconfdir=/etc \
>       --libexecdir='$(sbindir)' \
>       --localstatedir=/var \
>       --datadir='$(prefix)/share' \
>       --mandir='$(prefix)/share/man' \
>       --enable-multibyte \
>       --without-x \
>       --enable-gui=no \
>       --with-features=huge \
>       --with-tlib=tinfo
> 
> Building vim completes without error.  However, when I try and execute
> the new vim.exe, I get:
> 
> Vim: Caught deadly signal SEGV
> Vim: Finished.
> Segmentation fault
> 
> Checking vim.exe:
> 
> $ cygcheck src/vim.exe
> C:\cygwin-1.7\usr\src\vim\vim7\src\vim.exe
>   C:\cygwin-1.7\bin\cygwin1.dll
>     C:\WINDOWS\system32\ADVAPI32.DLL
>       C:\WINDOWS\system32\ntdll.dll
>       C:\WINDOWS\system32\KERNEL32.dll
>       C:\WINDOWS\system32\RPCRT4.dll
>         C:\WINDOWS\system32\Secur32.dll
>   C:\cygwin-1.7\bin\cygtinfo-9.dll
> 
> Is there something I'm missing?

I think you need to do this:

--with-tlib="ncurses -ltinfo"

but hold off for now. I may respin ncurses without tinfo.

--
Chuck


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

