help-nano
[Top][All Lists]
Advanced

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

Re: [Help-nano] Configure Issues on a Mac


From: Chris Allegretta
Subject: Re: [Help-nano] Configure Issues on a Mac
Date: Tue, 11 Aug 2009 06:20:36 -0400

Well, is OSX ncurses really doesn't have wide character support (I
think that's non-default compilation option still), you have two
options:

1) download ncurses from
ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.7.tar.gz and configure it
with -enable-widec, install it, then point nano at that installation
via environment variables:
export CFLAGS="-O2 -Wall -I<directory including your new ncurses.h>"
export LDFLAGS="-L<directory including your new libncurses.so>"

2) Don't use --enable-utf8

On Mon, Aug 10, 2009 at 11:17 AM, MURL DONLEY<address@hidden> wrote:
> I am running Mac OSX 10.5.8 (Darwin 9.8.0) on a MacBook with an Intel Core 2
> Duo 7400 running at 2.16 GHz.
> Prior to download nano 2.0.9    In the Terminal:
> $ nano --version
> GNU nano version 2.0.1 (compiled 19:12:11, Sep 23 2007)
> Email: address@hidden Web: http://www.nano-editor.org/
> Compiled options: --disable-nls --enable-color --enable-extra
> --enable-multibuffer --enable-nanorc --enable-utf8
>
> Therefore, after downloading and decompressing the archive, I selected the
> same compile, i.e., "configure"
> options as listed above. That is, after cd to nano-2.0.9 folder:
> $ ./configure --disable-nls --enable-color --enable-extra
> --enable-multibuffer --enable-nanorc --enable-utf8
> This command seems to be working fine, but finishes with:
> checking ncurses.h usability... yes
> checking ncurses.h presence... yes
> checking for ncurses.h... yes
> checking for get_wch in -lncursesw... no
> checking for initscr in -lncurses... yes
> Using ncurses as the curses library
> checking for use_default_colors in -lncurses... yes
> configure: error:
> *** UTF-8 support was requested, but insufficient UTF-8 support was
> *** detected in your curses and/or C libraries.  Please verify that your
> *** slang was built with UTF-8 support or your curses was built with
> *** wide character support, and that your C library was built with wide
> *** character support.
> So, I cannot continue with "make" or "make install" and I am not competent
> to perform any of the indicated
> verifications.
> Any help would be appreciated.
> Thanks
> mmd
> =
> _______________________________________________
> Help-nano mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-nano
>
>




reply via email to

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