help-nano
[Top][All Lists]
Advanced

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

[Help-nano] Installing/upgrading nano on OS X


From: Richard White
Subject: [Help-nano] Installing/upgrading nano on OS X
Date: Fri, 3 Jul 2009 12:22:21 -0700

Hello, and apologies in advance for what I'm sure will be an easy to fix problem. I'm attempting to install a newer version of nano on my Mac running OS 10.5.7. I wanted to upgrade the system nano on there, so ran ./configure, make, and make install as shown:

sudo ./configure --prefix=/usr --disable-nls --enable-color --enable- extra --enable-multibuffer --enable-nanorc --enable-utf8

        [results shown below]

make

        [results shown below]

sudo make install

        [results shown below]

While nano seems to work more or less as it should, in attempting to configure ~/.nanorc , I've determined that uncommenting any "include" line results in an error message when nano is started:

JulesVerne:~/nano-2.1.0 11:55 $ nano ~/notes.txt

Error in /Users/rwhite/.nanorc on line 254: Command "include" not understood

Press Enter to continue starting nano.

Also, running nano -V doesn't indicate all the options specified during configuration:

JulesVerne:~/nano-2.1.0 11:43 $ nano -V
 GNU nano version 2.1.0 (compiled 10:34:52, Jul  3 2009)
 (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
 Free Software Foundation, Inc.
 Email: address@hidden  Web: http://www.nano-editor.org/
 Compiled options: --disable-nls --enable-nanorc

It would appear, too, that the nano/nanorc files have been installed in /usr/local/share rather than /usr/share, which is part of the problem, of course.

I was able to install nano on my Ubuntu box in 3 minutes. After a few hours of Googling error messages, I'm a little fed up with my "user- friendly" Mac! Any advice would be *much* appreciated.

Thanks in advance...

The full listing of the installation process is included here:

JulesVerne:~/nano-2.1.0 11:35 $ sudo ./configure --prefix=/usr -- disable-nls --enable-color --enable-extra --enable-multibuffer -- enable-nanorc --enable-utf8
Password:
checking build system type... i686-apple-darwin9.7.0
checking host system type... i686-apple-darwin9.7.0
checking target system type... i686-apple-darwin9.7.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether ln -s works... yes
checking for library containing strerror... none required
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
rm: conftest.dSYM: is a directory
checking for _LARGE_FILES value needed for large files... no
rm: conftest.dSYM: is a directory
checking for msgfmt... /sw/bin/msgfmt
checking for gmsgfmt... /sw/bin/msgfmt
checking for xgettext... /sw/bin/xgettext
checking for msgmerge... /sw/bin/msgmerge
checking for ld used by GCC... /usr/libexec/gcc/i686-apple- darwin9/4.0.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no
checking for shared library run path origin... done
checking whether NLS is requested... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking whether to enable UTF-8 support... yes
checking whether to use slang... no
checking for getdelim... no
checking for getline... no
checking for isblank... yes
checking for strcasecmp... yes
checking for strcasestr... yes
checking for strncasecmp... yes
checking for strnlen... no
checking for vsnprintf... yes
checking for iswalnum... yes
checking for iswblank... yes
checking for iswpunct... yes
checking for iswspace... yes
checking for nl_langinfo... yes
checking for mblen... yes
checking for mbstowcs... yes
checking for mbtowc... yes
checking for wctomb... yes
checking for wcwidth... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for getopt_long... yes
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.
JulesVerne:~/nano-2.1.0 11:42 $ make
make  all-recursive
Making all in doc
Making all in man
make  all-recursive
make[5]: Nothing to be done for `all-am'.
Making all in texinfo
make  all-am
make[4]: Nothing to be done for `all-am'.
make[3]: Nothing to be done for `all-am'.
Making all in m4
make[2]: Nothing to be done for `all'.
Making all in po
make[2]: Nothing to be done for `all'.
Making all in src
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all-am'.
JulesVerne:~/nano-2.1.0 11:42 $ sudo make install
Making install in doc
Making install in man
make  install-recursive
make[5]: Nothing to be done for `install-exec-am'.
test -z "/usr/man/man1" || /bin/sh ../../mkinstalldirs "/usr/man/man1"
 /usr/bin/install -c -m 644 './nano.1' '/usr/man/man1/nano.1'
 /usr/bin/install -c -m 644 './rnano.1' '/usr/man/man1/rnano.1'
test -z "/usr/man/man5" || /bin/sh ../../mkinstalldirs "/usr/man/man5"
 /usr/bin/install -c -m 644 './nanorc.5' '/usr/man/man5/nanorc.5'
Making install in texinfo
make  install-am
make[4]: Nothing to be done for `install-exec-am'.
test -z "/usr/info" || /bin/sh ../../mkinstalldirs "/usr/info"
 /usr/bin/install -c -m 644 './nano.info' '/usr/info/nano.info'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in m4
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
Making install in po
if test "nano" = "gettext"; then \
/bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /usr/share/gettext/po; \ for file in Makefile.in.in Makevars remove-potcdate.sin quot.sed boldquot.sed address@hidden address@hidden insert-header.sin Rules- quot ; do \
            /usr/bin/install -c -m 644 ./$file \
                            /usr/share/gettext/po/$file; \
          done; \
        else \
          : ; \
        fi
Making install in src
test -z "/usr/bin" || /bin/sh ../mkinstalldirs "/usr/bin"
  /usr/bin/install -c 'nano' '/usr/bin/nano'
make  install-exec-hook
cd /usr/bin && rm -f rnano && ln -s nano rnano
make[2]: Nothing to be done for `install-data-am'.
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
JulesVerne:~/nano-2.1.0 11:42 $










reply via email to

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