When I open gnome-terminal 2.8.2 en change to root en emerge -u nano, I receive an error (see below) root@gentoo teun # emerge -u nano Calculating dependencies ...done! >>> emerge (1 of 1) app-editors/nano-1.3.7 to / >>> md5 files ;-) ChangeLog >>> md5 files ;-) metadata.xml >>> md5 files ;-) nano-1.3.4.ebuild >>> md5 files ;-) nano-1.3.6.ebuild >>> md5 files ;-) nano-1.3.7.ebuild >>> md5 files ;-) nano-1.2.5.ebuild >>> md5 files ;-) files/1.3.4-nanobrack.patch >>> md5 files ;-) files/1.3.4-nomac.patch >>> md5 files ;-) files/digest-nano-1.3.4 >>> md5 files ;-) files/nanorc-gentoo >>> md5 files ;-) files/nanorc-man >>> md5 files ;-) files/nanorc-patch >>> md5 files ;-) files/nanorc-sh >>> md5 files ;-) files/nano-1.3.6-debug-typo.patch >>> md5 files ;-) files/digest-nano-1.3.6 >>> md5 files ;-) files/nano-1.3.6-nomac.patch >>> md5 files ;-) files/digest-nano-1.3.7 >>> md5 files ;-) files/digest-nano-1.2.5 >>> md5 src_uri ;-) nano-1.3.7.tar.gz >>> Unpacking source... >>> Unpacking nano-1.3.7.tar.gz to /var/tmp/portage/nano-1.3.7/work >>> Source unpacked. * econf: updating nano-1.3.7/config.guess with /usr/share/gnuconfig/config.guess * econf: updating nano-1.3.7/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --bindir=/bin --enable-color --enable-multibuffer --enable-nanorc --enable-spell --disable-justify --disable-debug --enable-nls --enable-utf8 configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-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 i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-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... 64 checking for _LARGE_FILES value needed for large files... no checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking whether NLS is requested... yes checking for GNU gettext in libc... yes checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes 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 termios.h usability... yes checking termios.h presence... yes checking for termios.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 for regex.h... (cached) yes checking for broken regexec from glibc 2.2.3... no configure: WARNING: *********************************************************************** *** WARNING: Color support is far from perfect, but functional. *** *** Be careful with syntax in your .nanorc or nano may malfunction. *** *********************************************************************** checking whether to enable UTF-8 support... yes checking whether to use slang... no checking for snprintf... yes checking for vsnprintf... yes checking for isblank... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for strcasestr... yes checking for strnlen... yes checking for getline... yes checking for getdelim... yes checking for iswalnum... yes checking for mblen... yes checking for mbtowc... yes checking for wctomb... yes checking for wcwidth... yes checking for iswspace... yes checking for iswblank... 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 wget_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. !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/nano-1.3.7/work/nano-1.3.7/config.log !!! ERROR: app-editors/nano-1.3.7 failed. !!! Function econf, Line 485, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. root@gentoo teun # MY EMERGE INFO IS: root@gentoo teun # emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r9 i686) ================================================================= System uname: 2.6.11-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Apr 27 2005, 18:28:59)] 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.9.5, 1.6.3 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=pentium4 -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/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl eds emboss encode esd fam foomaticdb fortran gcc gdbm gif gimp gimpprint gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg kde ldap libg++ libwww mad mikmod motif mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss other_var1 other_var2 pam parport0 pdflib perl png ppds python qt quicktime readline scanner sdl spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY root@gentoo teun #
Created attachment 60573 [details] Config log of failure compile of nano-1.3.7
Can you: # emerge -av1 ncurses Try again and post the results.
root@gentoo teun # emerge -avl ncursus These are the packages that I would merge, in order: Calculating dependencies emerge: there are no ebuilds to satisfy "ncursus". root@gentoo teun # Doesn't work! Teun aka gomezloper@msn.com
(In reply to comment #3) > > root@gentoo teun # emerge -avl ncursus Watch the typo, duh!
I did ' #emerge -avl ncurses' and it worked. After that I '#emerge -u nano' and also that worked. No problems with compiling nano-1.3.7 this time. It is solved. Thanks for the help!