On 'emerge -u system' step, compilation have failed with folowing reason for nano-2.2.4: ------------------------ make[2]: Entering directory `/x86build/gentoo/var/tmp/portage/app-editors/nano-2.2.4/work/nano-2.2.4/src' i386-pc-solaris2.10-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/opt/gentoo/usr/share/locale\" -DSYSCONFDIR=\"/opt/gentoo/etc\" -MT browser.o -MD -MP -MF .deps/browser.Tpo -c -o browser.o browser.c In file included from /x86build/gentoo/usr/i386-pc-solaris2.10/gcc-bin/4.2.4/../../../lib/gcc/i386-pc-solaris2.10/4.2.4/include/curses.h:893, from nano.h:92, from proto.h:27, from browser.c:24: /opt/gentoo/usr/include/unctrl.h:57: error: expected ')' before 'char' make[2]: *** [browser.o] Error 1 make[2]: Leaving directory `/x86build/gentoo/var/tmp/portage/app-editors/nano-2.2.4/work/nano-2.2.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/x86build/gentoo/var/tmp/portage/app-editors/nano-2.2.4/work/nano-2.2.4' make: *** [all] Error 2 * ERROR: app-editors/nano-2.2.4 failed: * emake failed * * Call stack: * ebuild.sh, line 53: Called call-ebuildshell 'src_compile' * environment, line 271: Called src_compile * environment, line 2340: Called _eapi2_src_compile * ebuild.sh, line 688: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of 'emerge --info =app-editors/nano-2.2.4', * the complete build log and the output of 'emerge -pqv =app-editors/nano-2.2.4'. * The complete build log is located at '/x86build/gentoo/var/tmp/portage/app-editors/nano-2.2.4/temp/build.log'. * The ebuild environment file is located at '/x86build/gentoo/var/tmp/portage/app-editors/nano-2.2.4/temp/environment'. * S: '/x86build/gentoo/var/tmp/portage/app-editors/nano-2.2.4/work/nano-2.2.4' -------------------------- my version of /opt/gentoo/usr/include/unctrl.h looks like following: -------------------------- */ /* $Id: unctrl.h.in,v 1.10 2001/03/24 21:53:25 tom Exp $ */ #ifndef NCURSES_UNCTRL_H_incl #define NCURSES_UNCTRL_H_incl 1 #undef NCURSES_VERSION #define NCURSES_VERSION "5.7" #ifdef __cplusplus extern "C" { #endif #include <curses.h> #undef unctrl NCURSES_EXPORT(NCURSES_CONST char *) unctrl (chtype); #ifdef __cplusplus } #endif #endif /* NCURSES_UNCTRL_H_incl */ ------------------------------------- ================================================================= System Settings ================================================================= System uname: Solaris-2.10-i86pc-i386-32bit-ELF Timestamp of tree: Mon, 05 Jul 2010 09:39:06 +0000 app-shells/bash: 4.0_p38 dev-lang/python: 2.6.5-r2 sys-devel/autoconf: 2.65 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.20.51.0.4 sys-devel/gcc: 4.2.4-r01.2 sys-devel/gcc-config: 1.4.1-r00.2 sys-devel/libtool: 2.2.6b ACCEPT_KEYWORDS="~x86-solaris" ACCEPT_LICENSE="* -@EULA" CBUILD="i386-pc-solaris2.10" CFLAGS="" CHOST="i386-pc-solaris2.10" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="" DISTDIR="/opt/gentoo/usr/portage/distfiles" FEATURES="assume-digests collision-protect distlocks fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="ru_RU.UTF-8" LDFLAGS="" PKGDIR="/opt/gentoo/usr/portage/packages" PORTAGE_CONFIGROOT="/opt/gentoo/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/opt/gentoo/var/tmp" PORTDIR="/opt/gentoo/usr/portage" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="cracklib cxx modules ncurses prefix readline ssl x86-solaris zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="SunOS" INPUT_DEVICES="keyboard mouse" KERNEL="SunOS" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY ---------------------------------------------- $emerge -pqv =app-editors/nano-2.2.4 ------------------------ [ebuild N ] app-editors/nano-2.2.4 USE="ncurses -debug -justify -minimal -nls -slang -spell -unicode" ------------------------
hmmm, weird, I just have it installed on Sol10. Maybe this is due to a broken compiler. what does the following command result in? % echo "" | gcc -v -x c -
No info, nano-2.3.0 is current atm.