Here's what I get trying to compile nano: Calculating dependencies... done! [ebuild N ] app-editors/nano-2.0.4 USE="slang unicode -debug -justify -minimal -ncurses -nls -spell" 0 kB <....> Using slang as the curses library checking for use_default_colors in -lslang... no 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. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /usr/tmp/portage/app-editors/nano-2.0.4/work/nano-2.0.4/config.log !!! ERROR: app-editors/nano-2.0.4 failed. Apparently nano needs slang-2 which is masked due to bug #141947. kir@mmx ~ $ emerge --info Portage 2.1.2.7 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 Pentium II (Klamath) Gentoo Base System release 1.12.9 Timestamp of tree: Sat, 16 Jun 2007 21:50:01 +0000 ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://dgap-gw.mipt.ru/Gentoo/ ftp://172.16.3.79/Linux/gentoo/ http://distfiles.gentoo.org/" LINGUAS="en" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://dgap-gw.mipt.ru/gentoo-portage" USE="7zip berkdb bzip2 crypt cscope curl gd hardened innodb logrotate mailwrapper md5sum midi mysql nptl pam pcre pic pie png readline rrdtool slang ssl tcpd unicode urandom x86 xml2 zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS I will attach config.log
Created attachment 122308 [details] config.log
Besides, the error diagnostics printed by configure looks wrong to me -- this has nothing to do with unicode support, since both ncurses and slang are compiled with unicode. Mainstream issue?
Run emerge -NuD world or re-emerge slang w/ USE=unicode at least. *** This bug has been marked as a duplicate of bug 159621 *** *** This bug has been marked as a duplicate of bug 159621 ***
Jacub, My slang is already compiled with unicode, and I have unicode in global USE flags as you can see. kir@mmx ~ $ sudo emerge -pv slang ncurses These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-libs/slang-1.4.9-r2 USE="unicode -cjk" 629 kB [ebuild R ] sys-libs/ncurses-5.6 USE="unicode -bootstrap -build -debug -doc -gpm -minimal -nocxx -trace" 0 kB Total: 2 packages (2 reinstalls), Size of downloads: 629 kB
Well, re-emerge slang and try again.
Did that, it's all exactly the same
USE=unicode wont work with slang-1.x, you need slang-2.x slang sucks anyways, dont USE=-ncurses *** This bug has been marked as a duplicate of bug 141947 ***