Nano 1.3.7 ( now in x86) has this code in it's configure scripts: #include <slcurses.h> int main(void) { SLutf8_enable(TRUE); return 0; } To test for UTF-8 support in slang. This code seems to be only present in slang 2.0 and up. http://www.s-lang.org/doc/html/cslang-4.html and not in the 1.4.9-r1 ( now in x86). Disabling unicode for nano solved the problem. Reproducible: Always Steps to Reproduce: 1.USE="unicode slang" emerge =app-editors/nano-1.3.7 2. 3. Actual Results: configure:6368: checking for SLutf8_enable in -lslang configure:6391: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c -lslang >&5 /var/tmp/portage/nano-1.3.7/temp/ccFydIvk.o(.text+0x11): In function `main': : undefined reference to `SLutf8_enable' collect2: ld returned 1 exit status distcc[10350] ERROR: compile conftest.c on localhost failed configure:6394: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GNU nano" | #define PACKAGE_TARNAME "nano" | #define PACKAGE_VERSION "1.3.7" | #define PACKAGE_STRING "GNU nano 1.3.7" | #define PACKAGE_BUGREPORT "nano-devel@gnu.org" | #define PACKAGE "nano" | #define VERSION "1.3.7" | #define _GNU_SOURCE 1 | #define _FILE_OFFSET_BITS 64 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_LIBINTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_WCTYPE_H 1 | #define NDEBUG 1 | #define DISABLE_JUSTIFY 1 | #define ENABLE_NANORC 1 | #define ENABLE_COLOR 1 | #define ENABLE_MULTIBUFFER 1 | #define ENABLE_NANORC 1 | /* end confdefs.h. */ | | #include <slcurses.h> | int main(void) | { | SLutf8_enable(TRUE); | return 0; | } configure:6422: result: no configure:6428: checking for tputs in -lncurses configure:6458: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c -lncurses -lslang >&5 configure:6464: $? = 0 configure:6468: test -z || test ! -s conftest.err configure:6471: $? = 0 configure:6474: test -s conftest configure:6477: $? = 0 configure:6490: result: yes configure:6499: checking for SLutf8_enable in -lslang -lncurses configure:6521: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c -lslang -lncurses >&5 /var/tmp/portage/nano-1.3.7/temp/ccB5CiJQ.o(.text+0x11): In function `main': : undefined reference to `SLutf8_enable' collect2: ld returned 1 exit status distcc[10395] ERROR: compile conftest.c on localhost failed configure:6524: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GNU nano" | #define PACKAGE_TARNAME "nano" | #define PACKAGE_VERSION "1.3.7" | #define PACKAGE_STRING "GNU nano 1.3.7" | #define PACKAGE_BUGREPORT "nano-devel@gnu.org" | #define PACKAGE "nano" | #define VERSION "1.3.7" | #define _GNU_SOURCE 1 | #define _FILE_OFFSET_BITS 64 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_LIBINTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_WCTYPE_H 1 | #define NDEBUG 1 | #define DISABLE_JUSTIFY 1 | #define ENABLE_NANORC 1 | #define ENABLE_COLOR 1 | #define ENABLE_MULTIBUFFER 1 | #define ENABLE_NANORC 1 | /* end confdefs.h. */ | | #include <slcurses.h> | int main(void) | { | SLutf8_enable(TRUE); | return 0; | } configure:6552: result: no configure:6556: checking for SLutf8_enable in -lslang -lncurses -lm configure:6578: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c -lslang -lncurses -lm >&5 /var/tmp/portage/nano-1.3.7/temp/ccl170tz.o(.text+0x11): In function `main': : undefined reference to `SLutf8_enable' collect2: ld returned 1 exit status distcc[10410] ERROR: compile conftest.c on localhost failed configure:6581: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GNU nano" | #define PACKAGE_TARNAME "nano" | #define PACKAGE_VERSION "1.3.7" | #define PACKAGE_STRING "GNU nano 1.3.7" | #define PACKAGE_BUGREPORT "nano-devel@gnu.org" | #define PACKAGE "nano" | #define VERSION "1.3.7" | #define _GNU_SOURCE 1 | #define _FILE_OFFSET_BITS 64 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_LIBINTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_WCTYPE_H 1 | #define NDEBUG 1 | #define DISABLE_JUSTIFY 1 | #define ENABLE_NANORC 1 | #define ENABLE_COLOR 1 | #define ENABLE_MULTIBUFFER 1 | #define ENABLE_NANORC 1 | /* end confdefs.h. */ | | #include <slcurses.h> | int main(void) | { | SLutf8_enable(TRUE); | return 0; | } configure:6609: result: no configure:6646: checking for slcurses.h configure:6651: result: yes configure:6783: checking for SLtt_initialize in -lslang configure:6806: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c -lslang >&5 configure:6809: $? = 0 configure:6811: ./conftest configure:6814: $? = 0 configure:6816: result: yes configure:7078: checking for snprintf configure:7135: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c >&5 conftest.c:65: warning: conflicting types for built-in function `snprintf' configure:7141: $? = 0 configure:7145: test -z || test ! -s conftest.err configure:7148: $? = 0 configure:7151: test -s conftest configure:7154: $? = 0 configure:7166: result: yes configure:7078: checking for vsnprintf configure:7135: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c >&5 conftest.c:66: warning: conflicting types for built-in function `vsnprintf' configure:7141: $? = 0 configure:7145: test -z || test ! -s conftest.err configure:7148: $? = 0 configure:7151: test -s conftest configure:7154: $? = 0 configure:7166: result: yes configure:7078: checking for isblank configure:7135: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c >&5 configure:7141: $? = 0 configure:7145: test -z || test ! -s conftest.err configure:7148: $? = 0 configure:7151: test -s conftest configure:7154: $? = 0 configure:7166: result: yes configure:7078: checking for strcasecmp configure:7135: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c >&5 configure:7141: $? = 0 configure:7145: test -z || test ! -s conftest.err configure:7148: $? = 0 configure:7151: test -s conftest configure:7154: $? = 0 configure:7166: result: yes configure:7078: checking for strncasecmp configure:7135: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c >&5 configure:7141: $? = 0 configure:7145: test -z || test ! -s conftest.err configure:7148: $? = 0 configure:7151: test -s conftest configure:7154: $? = 0 configure:7166: result: yes configure:7078: checking for strcasestr configure:7135: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c >&5 configure:7141: $? = 0 configure:7145: test -z || test ! -s conftest.err configure:7148: $? = 0 configure:7151: test -s conftest configure:7154: $? = 0 configure:7166: result: yes configure:7078: checking for strnlen configure:7135: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c >&5 configure:7141: $? = 0 configure:7145: test -z || test ! -s conftest.err configure:7148: $? = 0 configure:7151: test -s conftest configure:7154: $? = 0 configure:7166: result: yes configure:7078: checking for getline configure:7135: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c >&5 configure:7141: $? = 0 configure:7145: test -z || test ! -s conftest.err configure:7148: $? = 0 configure:7151: test -s conftest configure:7154: $? = 0 configure:7166: result: yes configure:7078: checking for getdelim configure:7135: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c >&5 configure:7141: $? = 0 configure:7145: test -z || test ! -s conftest.err configure:7148: $? = 0 configure:7151: test -s conftest configure:7154: $? = 0 configure:7166: result: yes configure:7188: checking for iswalnum configure:7245: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c >&5 configure:7251: $? = 0 configure:7255: test -z || test ! -s conftest.err configure:7258: $? = 0 configure:7261: test -s conftest configure:7264: $? = 0 configure:7276: result: yes configure:7188: checking for mblen configure:7245: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c >&5 configure:7251: $? = 0 configure:7255: test -z || test ! -s conftest.err configure:7258: $? = 0 configure:7261: test -s conftest configure:7264: $? = 0 configure:7276: result: yes configure:7188: checking for mbtowc configure:7245: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c >&5 configure:7251: $? = 0 configure:7255: test -z || test ! -s conftest.err configure:7258: $? = 0 configure:7261: test -s conftest configure:7264: $? = 0 configure:7276: result: yes configure:7188: checking for wctomb configure:7245: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c >&5 configure:7251: $? = 0 configure:7255: test -z || test ! -s conftest.err configure:7258: $? = 0 configure:7261: test -s conftest configure:7264: $? = 0 configure:7276: result: yes configure:7188: checking for wcwidth configure:7245: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c >&5 configure:7251: $? = 0 configure:7255: test -z || test ! -s conftest.err configure:7258: $? = 0 configure:7261: test -s conftest configure:7264: $? = 0 configure:7276: result: yes configure:7188: checking for iswspace configure:7245: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c >&5 configure:7251: $? = 0 configure:7255: test -z || test ! -s conftest.err configure:7258: $? = 0 configure:7261: test -s conftest configure:7264: $? = 0 configure:7276: result: yes configure:7188: checking for iswblank configure:7245: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c >&5 configure:7251: $? = 0 configure:7255: test -z || test ! -s conftest.err configure:7258: $? = 0 configure:7261: test -s conftest configure:7264: $? = 0 configure:7276: result: yes configure:7620: checking return type of signal handlers configure:7651: i686-pc-linux-gnu-gcc -c -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c >&5 configure:7657: $? = 0 configure:7661: test -z || test ! -s conftest.err configure:7664: $? = 0 configure:7667: test -s conftest.o configure:7670: $? = 0 configure:7681: result: void configure:7693: checking for vprintf configure:7750: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c >&5 conftest.c:82: warning: conflicting types for built-in function `vprintf' configure:7756: $? = 0 configure:7760: test -z || test ! -s conftest.err configure:7763: $? = 0 configure:7766: test -s conftest configure:7769: $? = 0 configure:7781: result: yes configure:7788: checking for _doprnt configure:7845: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c >&5 /var/tmp/portage/nano-1.3.7/temp/ccXoLkIZ.o(.text+0x11): In function `main': : undefined reference to `_doprnt' /var/tmp/portage/nano-1.3.7/temp/ccXoLkIZ.o(.data+0x0): undefined reference to `_doprnt' collect2: ld returned 1 exit status distcc[11065] ERROR: compile conftest.c on localhost failed configure:7851: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GNU nano" | #define PACKAGE_TARNAME "nano" | #define PACKAGE_VERSION "1.3.7" | #define PACKAGE_STRING "GNU nano 1.3.7" | #define PACKAGE_BUGREPORT "nano-devel@gnu.org" | #define PACKAGE "nano" | #define VERSION "1.3.7" | #define _GNU_SOURCE 1 | #define _FILE_OFFSET_BITS 64 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_LIBINTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_WCTYPE_H 1 | #define NDEBUG 1 | #define DISABLE_JUSTIFY 1 | #define ENABLE_NANORC 1 | #define ENABLE_COLOR 1 | #define ENABLE_MULTIBUFFER 1 | #define ENABLE_NANORC 1 | #define USE_SLANG 1 | #define HAVE_SNPRINTF 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_ISBLANK 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRNLEN 1 | #define HAVE_GETLINE 1 | #define HAVE_GETDELIM 1 | #define HAVE_ISWALNUM 1 | #define HAVE_MBLEN 1 | #define HAVE_MBTOWC 1 | #define HAVE_WCTOMB 1 | #define HAVE_WCWIDTH 1 | #define HAVE_ISWSPACE 1 | #define HAVE_ISWBLANK 1 | #define RETSIGTYPE void | #define HAVE_VPRINTF 1 | /* end confdefs.h. */ | /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt. | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | #define _doprnt innocuous__doprnt | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _doprnt (); below. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | <limits.h> exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | | #undef _doprnt | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | { | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char _doprnt (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined (__stub__doprnt) || defined (__stub____doprnt) | choke me | #else | char (*f) () = _doprnt; | #endif | #ifdef __cplusplus | } | #endif | | int | main () | { | return f != _doprnt; | ; | return 0; | } configure:7876: result: no configure:7894: checking for getopt_long configure:7951: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c >&5 configure:7957: $? = 0 configure:7961: test -z || test ! -s conftest.err configure:7964: $? = 0 configure:7967: test -s conftest configure:7970: $? = 0 configure:7982: result: yes configure:8594: result: Using slang as the curses library configure:8599: checking for use_default_colors in -lslang configure:8629: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium2 -pipe -fomit-frame-pointer conftest.c -lslang >&5 /var/tmp/portage/nano-1.3.7/temp/ccrdT5ck.o(.text+0xa): In function `main': : undefined reference to `use_default_colors' collect2: ld returned 1 exit status distcc[11122] ERROR: compile conftest.c on localhost failed configure:8635: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GNU nano" | #define PACKAGE_TARNAME "nano" | #define PACKAGE_VERSION "1.3.7" | #define PACKAGE_STRING "GNU nano 1.3.7" | #define PACKAGE_BUGREPORT "nano-devel@gnu.org" | #define PACKAGE "nano" | #define VERSION "1.3.7" | #define _GNU_SOURCE 1 | #define _FILE_OFFSET_BITS 64 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_LIBINTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_WCTYPE_H 1 | #define NDEBUG 1 | #define DISABLE_JUSTIFY 1 | #define ENABLE_NANORC 1 | #define ENABLE_COLOR 1 | #define ENABLE_MULTIBUFFER 1 | #define ENABLE_NANORC 1 | #define USE_SLANG 1 | #define HAVE_SNPRINTF 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_ISBLANK 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRNLEN 1 | #define HAVE_GETLINE 1 | #define HAVE_GETDELIM 1 | #define HAVE_ISWALNUM 1 | #define HAVE_MBLEN 1 | #define HAVE_MBTOWC 1 | #define HAVE_WCTOMB 1 | #define HAVE_WCWIDTH 1 | #define HAVE_ISWSPACE 1 | #define HAVE_ISWBLANK 1 | #define RETSIGTYPE void | #define HAVE_VPRINTF 1 | #define HAVE_GETOPT_LONG 1 | /* end confdefs.h. */ | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char use_default_colors (); | int | main () | { | use_default_colors (); | ; | return 0; | } configure:8661: result: no configure:8704: 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. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnu ac_cv_build_alias=i686-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -march=pentium2 -pipe -fomit-frame-pointer' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=i686-pc-linux-gnu ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_exeext= ac_cv_func__doprnt=no ac_cv_func_getdelim=yes ac_cv_func_getline=yes ac_cv_func_getopt_long=yes ac_cv_func_isblank=yes ac_cv_func_iswalnum=yes ac_cv_func_iswblank=yes ac_cv_func_iswspace=yes ac_cv_func_mblen=yes ac_cv_func_mbtowc=yes ac_cv_func_snprintf=yes ac_cv_func_strcasecmp=yes ac_cv_func_strcasestr=yes ac_cv_func_strncasecmp=yes ac_cv_func_strnlen=yes ac_cv_func_vprintf=yes ac_cv_func_vsnprintf=yes ac_cv_func_wctomb=yes ac_cv_func_wcwidth=yes ac_cv_header_fcntl_h=yes ac_cv_header_getopt_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_libintl_h=yes ac_cv_header_limits_h=yes ac_cv_header_memory_h=yes ac_cv_header_regex_h=yes ac_cv_header_slcurses_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_termios_h=yes ac_cv_header_unistd_h=yes ac_cv_header_wchar_h=yes ac_cv_header_wctype_h=yes ac_cv_host=i686-pc-linux-gnu ac_cv_host_alias=i686-pc-linux-gnu ac_cv_lib_ncurses___tputs=yes ac_cv_lib_slang___use_default_colors=no ac_cv_objext=o ac_cv_path_GMSGFMT=/usr/bin/gmsgfmt ac_cv_path_MSGFMT=/usr/bin/msgfmt ac_cv_path_MSGMERGE=/usr/bin/msgmerge ac_cv_path_XGETTEXT=/usr/bin/xgettext ac_cv_path_install='/bin/install -c' ac_cv_prog_AWK=gawk ac_cv_prog_CC=i686-pc-linux-gnu-gcc ac_cv_prog_CPP='i686-pc-linux-gnu-gcc -E' ac_cv_prog_STRIP=i686-pc-linux-gnu-strip ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_prog_egrep='grep -E' ac_cv_prog_make_make_set=yes ac_cv_search_strerror='none required' ac_cv_sys_file_offset_bits=64 ac_cv_sys_large_files=no ac_cv_sys_largefile_CC=no ac_cv_target=i686-pc-linux-gnu ac_cv_target_alias=i686-pc-linux-gnu ac_cv_type_signal=void acl_cv_hardcode_direct=no acl_cv_hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' acl_cv_hardcode_libdir_separator= acl_cv_hardcode_minus_L=no acl_cv_libext=a acl_cv_path_LD=/usr/i686-pc-linux-gnu/bin/ld acl_cv_prog_gnu_ld=yes acl_cv_rpath=done acl_cv_shlibext=so acl_cv_sys_lib_dlsearch_path_spec='/lib /usr/lib' acl_cv_sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' acl_cv_wl=-Wl, am_cv_CC_dependencies_compiler_type=gcc3 gt_cv_func_gnugettext2_libc=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /var/tmp/portage/nano-1.3.7/work/nano-1.3.7/missing --run aclocal-1.9' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /var/tmp/portage/nano-1.3.7/work/nano-1.3.7/missing --run tar' AUTOCONF='${SHELL} /var/tmp/portage/nano-1.3.7/work/nano-1.3.7/missing --run autoconf' AUTOHEADER='${SHELL} /var/tmp/portage/nano-1.3.7/work/nano-1.3.7/missing --run autoheader' AUTOMAKE='${SHELL} /var/tmp/portage/nano-1.3.7/work/nano-1.3.7/missing --run automake-1.9' AWK='gawk' CC='i686-pc-linux-gnu-gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-O2 -march=pentium2 -pipe -fomit-frame-pointer' CPP='i686-pc-linux-gnu-gcc -E' CPPFLAGS='' CURSES_LIB='-lslang' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='grep -E' EXEEXT='' GLIB_CFLAGS='' GLIB_GENMARSHAL='' GLIB_LIBS='' GLIB_MKENUMS='' GMSGFMT='/usr/bin/gmsgfmt' GOBJECT_QUERY='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' INTLLIBS='' LDFLAGS='' LIBICONV='-liconv' LIBINTL='' LIBOBJS='' LIBS=' -lslang' LN_S='ln -s' LTLIBICONV='-liconv' LTLIBINTL='' LTLIBOBJS='' MAKEINFO='${SHELL} /var/tmp/portage/nano-1.3.7/work/nano-1.3.7/missing --run makeinfo' MKINSTALLDIRS='./mkinstalldirs' MSGFMT='/usr/bin/msgfmt' MSGMERGE='/usr/bin/msgmerge' OBJEXT='o' PACKAGE='nano' PACKAGE_BUGREPORT='nano-devel@gnu.org' PACKAGE_NAME='GNU nano' PACKAGE_STRING='GNU nano 1.3.7' PACKAGE_TARNAME='nano' PACKAGE_VERSION='1.3.7' PATH_SEPARATOR=':' PKG_CONFIG='' POSUB='po' SET_MAKE='' SHELL='/bin/sh' STRIP='i686-pc-linux-gnu-strip' USE_NLS='yes' VERSION='1.3.7' XGETTEXT='/usr/bin/xgettext' ac_ct_CC='' ac_ct_STRIP='' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__include='include' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='/bin' build='i686-pc-linux-gnu' build_alias='' build_cpu='i686' build_os='linux-gnu' build_vendor='pc' datadir='/usr/share' exec_prefix='NONE' host='i686-pc-linux-gnu' host_alias='i686-pc-linux-gnu' host_cpu='i686' host_os='linux-gnu' host_vendor='pc' includedir='${prefix}/include' infodir='/usr/share/info' install_sh='/var/tmp/portage/nano-1.3.7/work/nano-1.3.7/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='/var/lib' mandir='/usr/share/man' mkdir_p='mkdir -p --' oldincludedir='/usr/include' prefix='/usr' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target='i686-pc-linux-gnu' target_alias='' target_cpu='i686' target_os='linux-gnu' target_vendor='pc' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define DISABLE_JUSTIFY 1 #define ENABLE_COLOR 1 #define ENABLE_MULTIBUFFER 1 #define ENABLE_NANORC 1 #define ENABLE_NANORC 1 #define ENABLE_NLS 1 #define HAVE_DCGETTEXT 1 #define HAVE_FCNTL_H 1 #define HAVE_GETDELIM 1 #define HAVE_GETLINE 1 #define HAVE_GETOPT_H 1 #define HAVE_GETOPT_LONG 1 #define HAVE_GETTEXT 1 #define HAVE_INTTYPES_H 1 #define HAVE_ISBLANK 1 #define HAVE_ISWALNUM 1 #define HAVE_ISWBLANK 1 #define HAVE_ISWSPACE 1 #define HAVE_LIBINTL_H 1 #define HAVE_LIMITS_H 1 #define HAVE_MBLEN 1 #define HAVE_MBTOWC 1 #define HAVE_MEMORY_H 1 #define HAVE_REGEX_H 1 #define HAVE_SNPRINTF 1 #define HAVE_STDINT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRCASECMP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRINGS_H 1 #define HAVE_STRING_H 1 #define HAVE_STRNCASECMP 1 #define HAVE_STRNLEN 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_UNISTD_H 1 #define HAVE_VPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_WCHAR_H 1 #define HAVE_WCTOMB 1 #define HAVE_WCTYPE_H 1 #define HAVE_WCWIDTH 1 #define NDEBUG 1 #define PACKAGE "nano" #define PACKAGE_BUGREPORT "nano-devel@gnu.org" #define PACKAGE_NAME "GNU nano" #define PACKAGE_STRING "GNU nano 1.3.7" #define PACKAGE_TARNAME "nano" #define PACKAGE_VERSION "1.3.7" #define RETSIGTYPE void #define STDC_HEADERS 1 #define USE_SLANG 1 #define VERSION "1.3.7" #define _FILE_OFFSET_BITS 64 #define _GNU_SOURCE 1 configure: exit 1 Expected Results: Clean install Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 AMD Duron(tm) processor Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 03:41:58)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache distcc distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.cs.haifa.ac.il/local-tarballs/ ftp://cl.haifa.ac.il/pub/gentoo http://ftp.easynet.nl/mirror/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://trumpetti.atm.tut.fi/gentoo/ http://ftp.caliu.info/pub/gentoo/" LANG="en_US.UTF-8" LINGUAS="en he ru" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://cl.haifa.ac.il/gentoo-portage" USE="x86 X acpi alsa apache2 arts artswrappersuid avi bidi bitmap-fonts cdb cdparanoia cups curl distcc divx4linux doc dvd dvdr edl emacs emacs-w3 encode erandomesd ffmpeg flash fortran gif gimpprint glut gnome gstreamer gtk gtk2 i18n icq ieee1394 imap imlib imlib2 irda irmc jabber java javascript jbig jboss jce jdepend jikes jp2 jpeg jpeg2k kde kerberos koffice-plugin largeterminal lcms ldap lesstiflive lm_sensors lzo mad matroska matrox mbox memlimit mime ming mixer mjpeg mmx mng monkey mozcalendar mozdevelop mozilla mozp3p mozsvg mozxmlterm mp3 mpeg mplayer msdav msn mule mysql nas network nls nptl nvidia oggvorbis opengl oscar pam pcmcia pcre pdf pdfkit pdflib png pnp qt quicktime real rtc samba scanner sdl servlet-2.4 slang slp smime snmp softmmu sox spell sqlite sse ssl subversion svg tcltktcpd theora tiff transcode truetype truetype-fonts trusted type1 type1-fonts uimunicode usb v4l v4l2 vcd vcdimager videos vidix wifi wmf xine xinerama xml2 xmmsxprint xrandr xscreensaver xv xvid xvmc yahoo zlib linguas_en linguas_he linguas_ru userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
It works here. Looking at your USE flags: uimunicode Hmmm?
if you have ncurses in your USE flags then slang support is disabled we need slang-2.x in the tree first ... care to file another bug to have slang-2.0 added ?
(In reply to comment #2) > we need slang-2.x in the tree first ... care to file another bug to have > slang-2.0 added ? Done.
SpanKY, it seems slang is enabled even ncurses is set in /etc/make.conf in USE flags. I have to set -sland manually to override probably one of these coming up in my ~x86 setup: # find /usr/portage/profiles/ -type f | xargs grep slang /usr/portage/profiles/base/use.defaults:slang sys-libs/slang /usr/portage/profiles/default-linux/ppc/1.0/make.defaults:USE="alsa berkdb bitmap-fonts crypt cups emboss fortran gif gnome gpm gtk gtk2 ipv6 jpeg kde libwww mp3 motif mpeg ncurses nls oggvorbis opengl pam pdflib perl png python qt readline spell ssl tcpd truetype truetype-fonts type1-fonts X xml2 xv unicode zlib oss dvd slang gdbm mitshm esd imlib sdl mozilla" /usr/portage/profiles/default-linux/ppc/1.2/make.defaults:USE="alsa berkdb bitmap-fonts crypt cups emboss fortran gif gnome gpm gtk gtk2 ipv6 jpeg kde libwww mp3 motif mpeg ncurses nls oggvorbis opengl pam pdflib perl png python qt readline spell ssl tcpd truetype truetype-fonts type1-fonts X xml2 xv unicode zlib oss dvd slang gdbm mitshm esd imlib sdl mozilla" /usr/portage/profiles/default-linux/ppc/1.4/make.defaults:USE="alsa berkdb bitmap-fonts crypt cups emboss fortran gif gnome gpm gtk gtk2 ipv6 jpeg kde libwww mp3 motif mpeg ncurses nls oggvorbis opengl pam pdflib perl png python qt readline spell ssl tcpd truetype truetype-fonts type1-fonts X xml2 xv unicode zlib oss dvd slang gdbm mitshm esd imlib sdl mozilla foomaticdb" /usr/portage/profiles/default-linux/ppc/1.0_rc/make.defaults:USE="alsa berkdb bitmap-fonts crypt cups emboss fortran gif gnome gpm gtk gtk2 ipv6 jpeg kde libwww mp3 motif mpeg ncurses nls oggvorbis opengl pam pdflib perl png python qt readline spell ssl tcpd truetype truetype-fonts type1-fonts X xml2 xv unicode zlib oss slang gdbm mitshm esd sdl mozilla" /usr/portage/profiles/default-linux/x86/gcc2/make.defaults:USE="oss apm arts avi berkdb bitmap-fonts crypt cups emboss encode fortran font-server gdbm gif gpm gtk imlib java jpeg kde libg++ libwww mikmod mmx motif mpeg ncurses nls oggvorbis opengl pam pdflib png python qt quicktime readline sdl slang spell ssl svga tcpd truetype truetype-fonts type1-fonts X xml2 xmms xv" /usr/portage/profiles/default-linux/x86/gcc31/make.defaults:USE="oss apm arts avi berkdb bitmap=fonts crypt cups emboss encode fortran gdbm gif gpm gtk imlib java jpeg kde gnome libg++ libwww mikmod mmx motif mpeg ncurses nls oggvorbis opengl pam pdflib png python qt quicktime readline sdl slang spell ssl svga tcpd truetype X xml2 xmms xv zlib" /usr/portage/profiles/default-linux/x86/2004.0/make.defaults:USE="oss apm arts avi berkdb bitmap-fonts crypt cups emboss encode font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype truetype-fonts type1-fonts X xml2 xmms xv zlib" /usr/portage/profiles/default-linux/x86/2004.2/gcc34/2.6/make.defaults:USE="oss apm arts avi berkdb crypt cups emboss encode foomaticdb gdbm gif gpm imlib jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl pam pdflib png python quicktime readline sdl slang spell ssl svga tcpd truetype X xml2 xmms xv zlib" /usr/portage/profiles/default-linux/x86/2004.2/gcc34/make.defaults:USE="oss apm arts avi berkdb crypt cups emboss encode foomaticdb gdbm gif gpm imlib jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl pam pdflib png python quicktime readline sdl slang spell ssl svga tcpd truetype X xml2 xmms xv zlib" /usr/portage/profiles/default-linux/x86/2004.2/make.defaults:USE="oss apm arts avi berkdb bitmap-fonts crypt cups emboss encode fortran font-server foomaticdb gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype truetype-fonts type1-fonts X xml2 xmms xv zlib" /usr/portage/profiles/default-linux/x86/xbox/make.defaults:USE="oss apm arts avi berkdb bitmap-fonts crypt cups emboss encode fortran font-server foomaticdb gdbm gif gpm gtk gtk2 imlib jpeg kde gnome libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl pam pdflib png python qt quicktime readline sdl slang spell ssl svga tcpd truetype truetype-fonts type1-fonts X xml2 xmms xv zlib" /usr/portage/profiles/default-linux/sparc/sparc32/2004.3/make.defaults:USE="arts berkdb bitmap-fonts crypt cups dlloader fortran fbcon font-server foomaticdb gdbm gtk gtk2 imlib jpeg kde gnome libwww mikmod motif mad mpeg ncurses nls opengl pam perl png python qt readline slang spell ssl tcpd truetype truetype-fonts type1-fonts X xv zlib" /usr/portage/profiles/default-linux/sparc/sparc32/2005.0/make.defaults:USE="arts berkdb bitmap-fonts crypt cups dlloader fortran fbcon foomaticdb gdbm gif gtk gtk2 imlib jpeg kde gnome libwww mikmod motif mad mpeg ncurses nls opengl pam perl png python qt readline slang spell ssl tcpd truetype truetype-fonts type1-fonts X xv zlib" /usr/portage/profiles/default-linux/sparc/sparc32/2005.1/make.defaults:USE="arts berkdb bitmap-fonts crypt cups dlloader eds fortran fbcon foomaticdb gdbm gif gstreamer gtk gtk2 imlib jpeg kde gnome libwww mikmod motif mad mpeg ncurses nls opengl pam perl png python qt readline slang spell ssl tcpd truetype truetype-fonts type1-fonts X xv zlib" /usr/portage/profiles/default-linux/m68k/use.mask:slang /usr/portage/profiles/use.local.desc:app-mobilephone/yaps:slang - Enable SLang scripting support /usr/portage/profiles/hardened/amd64/use.defaults:slang sys-libs/slang /usr/portage/profiles/use.desc:slang - Adds support for the slang text display library (it's like ncurses, but different) # Tell me how to get rid of it? ;) vrapenec ~ # emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13 i686) ================================================================= System uname: 2.6.13 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz Gentoo Base System version 1.12.0_pre6 ccache version 2.4 [disabled] dev-lang/python: 2.3.4-r1, 2.4.1-r1 gsys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.muni.cz/pub/linux/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 FFmpeg X Xaw3d aalib acpi alsa apache2 apm arts ati avi bidi bitmap-fonts bonobo caca cdparanoia cdr crypt cscope cups curl dba dga directfb divx divx4 divx4linux divx5 divx5linux doc dvb dvd dvdr dvdread eds emacs emacs-w3 emboss encode esd ethereal evo f77 faad faad2 fam fame fbcon ffmpeg flac flash foomaticdb fortran fvwm fvwm2 gb gd gdbm ggi gif gphoto2 gpm gstreamer gtk gtk2 gtkhtml i8x0 icc imagemagick imlib imlib2 innodb ipv6 java jpeg junit lcms leim libg++ libwww live lzo mad mcal mesa mikmod mmx mmx2 motif mozilla mp3 mpeg mule mysql ncurses network nls nptl ogg oggvorbis opengl oss pam pda pdflib perl plotutils plugins png ppds python qt qtx quicktime readline rtc samba scanner sdl slang slp spell sse sse2 ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis win32 winvidix wmf xml xml2 xmms xosd xv xvid xvmc zeo zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS vrapenec ~ # vrapenec ~ # grep USE /etc/make.conf # The USE variable is used to enable optional build-time functionality. For # very extensive set of USE variables described in our USE variable HOWTO at USE="aalib acpi -afs alsa apache2 arts ati avi -berkdb bidi bonobo caca cdparanoia cdr crypt cscope cups curl dga directfb divx divx4 divx5 divx4linux divx5linux dba doc dvb dvd dvdr dvdread emacs emacs-w3 encode esd ethereal evo f77 faad faad2 fam fame fbcon ffmpeg FFmpeg flash fortran gb gd gdbm ggi gif -gnome -gnome2 gphoto2 gpm gtk gtk2 gtkhtml icc imagemagick imlib imlib2 innodb i8x0 java jpeg -kde -kde3 lcms -ldap leim libwww live lzo mad mesa mcal mikmod mmx mmx2 motif mozilla mpeg mule mysql ncurses network nls nptl oggvorbis opengl pam pda ppds pdflib perl plugins plotutils png python qt qtx quicktime readline rtc samba -sasl scanner sdl slp spell sse sse2 ssl tcltk tcpd tetex -ithreads -thread -threads -pthreads -pthread theora tiff truetype unicode usb v4l v4l2 win32 winvidix Xaw3d wmf X xosd xml xml2 xmms xv xvid xvmc zeo zlib alsa fvwm2 fvwm" # cvs features (commits, adds) and all USE flags in SRC_URI vrapenec ~ #
updated the ebuild to pass --without-slang if USE=ncurses
Same error here when trying to upgrade to nano-1.3.9. I have a perfectly working UTF-8 environment, and I have "ncurses" and "unicode" in my USE flags (but not "slang").
Despite having originally compiled my entire system with "unicode" (when I first installed), I ended up having to recompile ncurses with emerge -aN ncurses. For whatever reason, that re-emerge seems to make the nano compile accept that there is valid unicode support on my system. So, it's proceeding now, but pretty darned strange that it didn't the first time.
FYI Doing a clean stage 1 install using 2006.0 here without utf8 or unicode specified in USE flags and got this utf8 compile error with nano-1.3.10-r1. (Of course, adding modular xorg-7 into /etc/portage/package.keywords) To resolve, I used: USE="-utf8 -unicode" emerge nano
fixed in cvs now since slang-2 is in