delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/02/20:39:27

X-Recipient: archive-cygwin AT delorie DOT 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 AT cwilson DOT fastmail DOT 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 AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] [1.7] Updated: {ncurses/libncurses-devel/ncurses-demo}-5.7-11; New: libncurses9-5.7-11
References: <announce DOT 49AB0C19 DOT 7040807 AT cwilson DOT fastmail DOT fm> <2bf229d30903020726q6287c0b9obd6f61d57ba44bac AT mail DOT gmail DOT com>
In-Reply-To: <2bf229d30903020726q6287c0b9obd6f61d57ba44bac@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019