nano 2.2.2 having issues with UTF-8

Thoughts

Icon from the Tango Desktop Project

Running the ./configure script from the latest nano tarball on a virgin Snow Leopard machine (my dad's) I keep running into a problem with UTF-8 support.

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.

I've built the latest ncurses and slang libraries from MacPorts and have confirmed they were built with UTF-8 support. Only thing I can think of is it's using the outdated ncurses from the system instead of MacPorts, but other ports such as Midnight Commander are using it. Will keep digging.

For what it's worth, it builds just fine without UTF-8, but it's a feature I'd rather have.

Author bio and support

Me!

Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.