[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gtypist] gtypist-2.9.5 issues compiling on OSX - ./configure fa
From: |
clutton |
Subject: |
Re: [bug-gtypist] gtypist-2.9.5 issues compiling on OSX - ./configure fails when checking for ncursesw/ncurses.h |
Date: |
Sat, 13 May 2017 22:14:34 +0300 |
On Sun, 2017-04-30 at 20:40 +0200, Javier Jarava wrote:
> Hi!
>
> I'm trying to get gtypist to compile on OSX (without using the
> Homebrew package), and I'm getting an error when trying to do so.
>
> ./configure fails with an error:
>
> checking ncursesw/ncurses.h usability... no
> checking ncursesw/ncurses.h presence... no
> checking for ncursesw/ncurses.h... no
> checking for add_wch in -lncursesw... no
> -e Error: both library and header files for the ncursesw library
> are required to build this package. See INSTALL file for further
> information. On Debian/Ubuntu you need to install libncursesw5-dev.
>
> But checking around on internet, I see that OSX's native curses
> library has wide char support, etc - so I'm wondering why the
> dependency on ncurses
> (see https://github.com/hishamhm/htop/issues/301)
>
> Is there any workaround other than getting ncurses running?
>
> Thanks!
>
> Regards,
>
> -- Javier
Hi Javier, I've done some patching and it should work on mac by
default, it seems you are the first who tried. :)
There's a definition in configure.ac:
# check for libncursesw
case $host_os in
*bsd* | darwin*)
AC_DEFINE([OS_BSD], [1], [OS BSD's curses includes ncursesw])
it seems that your mac doesn't trigger this... Could you help to figure
out what is wrong? May be by echoing $host_os and etc.
signature.asc
Description: This is a digitally signed message part