bug-gtypist
[Top][All Lists]
Advanced

[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: Felix Natter
Subject: Re: [bug-gtypist] gtypist-2.9.5 issues compiling on OSX - ./configure fails when checking for ncursesw/ncurses.h
Date: Tue, 02 May 2017 19:41:32 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.4 (gnu/linux)

Javier Jarava <address@hidden> writes:

> Hi!

hello Javier!

> 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.

Is there a reason why you're not using macports (is that the same as
'homebrew'?)?

> ./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?

To my knowledge, OSX uses ncursesw, but with curses.h header.

Unfortunately, building gtypist 2.9 with curses.h requires patching
configure.ac, but this should be fixed in 2.10.

Do you want to test building (not using ;-)) gtypist 2.10, which should
build out of the box on OSX?
(that would be very welcome!)

You need git for this:
$ cd /tmp
$ git clone git://git.savannah.gnu.org/gtypist.git
$ cd gtypist
$ ./autogen.sh

Many Thanks and Best Regards,
-- 
Felix Natter



reply via email to

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