bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trying to get ncurses to work with util-linux


From: Thomas Dickey
Subject: Re: Trying to get ncurses to work with util-linux
Date: Fri, 23 Jan 2015 04:25:43 -0500
User-agent: Mutt/1.5.20 (2009-06-14)

On Fri, Jan 23, 2015 at 12:35:41AM +0100, fgndevelop wrote:
> 
> Hey folks,
> 
> when compiling util-linux-2.25.2 I kept running into an error due to my 
> ncurses-5.9 configuration.
> 
> util-linux tries to locate ncurses using pkg-config. Even though I had used 
> the --enable-pc-files
> switch when configuring ncurses, my util-linux build failed, stating a 
> missing symbol
> (from libtinfo).
> 
> I am building with gcc-4.9.2 and binutils-2.24.90.
> It turned out that util-linux does not include libtinfo, because it is no 
> longer included by the
> linker automatically when linking against libncurses, so my build would break 
> as soon as cfdisk
> was asking for a symbol from libtino.
> 
> Unfortunately util-linux during configuration disregards the ncurses .pc - 
> files since pkg-config
> reports an error - there is no pc-file for tinfo, which is required by 
> ncurses.

actually this was addressed a while ago, in the development version: in
my test-builds, I am producing both tinfo (tinfow, etc.), and tic pc-files.

Development snapshots are in the ftp-area; a link to the most recent is
on my ncurses page:
        http://invisible-island.net/datafiles/current/ncurses.tar.gz

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]