... ... i686-pc-linux-gnu-gcc -O3 -march=pentium4 -mtune=pentium4 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -mfpmath=sse -pthread -DWITH_LDAP_PUBKEY -Wall -Wpointer-arith -Wno-uninitialized -I. -I. -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c scp.c i686-pc-linux-gnu-gcc -O3 -march=pentium4 -mtune=pentium4 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -mfpmath=sse -pthread -DWITH_LDAP_PUBKEY -Wall -Wpointer-arith -Wno-uninitialized -I. -I. -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c ssh-rand-helper.c i686-pc-linux-gnu-gcc -O3 -march=pentium4 -mtune=pentium4 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -mfpmath=sse -pthread -DWITH_LDAP_PUBKEY -Wall -Wpointer-arith -Wno-uninitialized -I. -I. -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c sftp.c i686-pc-linux-gnu-gcc -O3 -march=pentium4 -mtune=pentium4 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -mfpmath=sse -pthread -DWITH_LDAP_PUBKEY -Wall -Wpointer-arith -Wno-uninitialized -I. -I. -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c sftp-common.c sftp.c:22:22: histedit.h: No such file or directory sftp.c:1226: error: parse error before '*' token sftp.c: In function `interactive_loop': sftp.c:1240: error: `EditLine' undeclared (first use in this function) sftp.c:1240: error: (Each undeclared identifier is reported only once sftp.c:1240: error: for each function it appears in.) sftp.c:1240: error: `el' undeclared (first use in this function) sftp.c:1242: error: `History' undeclared (first use in this function) sftp.c:1242: error: `hl' undeclared (first use in this function) sftp.c:1243: error: `HistEvent' undeclared (first use in this function) sftp.c:1243: error: parse error before "hev" sftp.c:1247: warning: implicit declaration of function `el_init' sftp.c:1249: warning: implicit declaration of function `history_init' sftp.c:1251: warning: implicit declaration of function `history' sftp.c:1251: error: `hev' undeclared (first use in this function) sftp.c:1251: error: `H_SETSIZE' undeclared (first use in this function) sftp.c:1252: warning: implicit declaration of function `el_set' sftp.c:1252: error: `EL_HIST' undeclared (first use in this function) sftp.c:1254: error: `EL_PROMPT' undeclared (first use in this function) sftp.c:1255: error: `EL_EDITOR' undeclared (first use in this function) sftp.c:1256: error: `EL_TERMINAL' undeclared (first use in this function) sftp.c:1257: error: `EL_SIGNAL' undeclared (first use in this function) sftp.c:1258: warning: implicit declaration of function `el_source' sftp.c:1324: warning: implicit declaration of function `el_gets' sftp.c:1324: warning: assignment makes pointer from integer without a cast sftp.c:1326: error: `H_ENTER' undeclared (first use in this function) i686-pc-linux-gnu-gcc -O3 -march=pentium4 -mtune=pentium4 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -mfpmath=sse -pthread -DWITH_LDAP_PUBKEY -Wall -Wpointer-arith -Wno-uninitialized -I. -I. -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c sftp-server.c make: *** [sftp.o] Error 1 make: *** Waiting for unfinished jobs.... Reproducible: Always Steps to Reproduce: 1. shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r7 i686) ================================================================= System uname: 2.6.11-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.1-r2 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16-r1 sys-devel/libtool: 1.4.3-r4, 1.5.18 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium4 -mtune=pentium4 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -mfpmath=sse -pthread" 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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -mtune=pentium4 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -mfpmath=sse -pthread" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.linux.kiev.ua/pub/Linux/Gentoo/ ftp://ftp.linux.org.ua/pub/Linux/Gentoo/ " LANG="ru_RU.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.linux.kiev.ua/gentoo-portage" USE="X aalib acl acpi alsa apm audiofile avi berkdb bidi bitmap-fonts bzip2 bzlib cdb cdparanoia cdr crypt cscope cups curl curlwrappers dbm dbus dio directfb divx4linux dvd dvdread eds emboss encode evolution examples extensions fam fastcgi fbcon ffmpeg fftw flac foomaticdb fortran ftp gd gdbm ggi gif gimpprint gnome gnutls gpm gstreamer gtk gtk2 gtkhtml guile hardenedphp hsql hsqldb i8x0 icc icc-pgo iconv icq imagemagick imap imlib iodbc jabber jack java javamail jce jdbc jikes jpeg jpeg2k junit koi8-r ldap libcaca libedit libg++ libwww live mad maildir mbox memlimit mikmod mime ming mmx mmx2 mono mozdevelop mozilla mozsvg mp3 mpeg msession msql mysql mysqli nas ncurses network nls nntp nptl nptlonly ntp nvidia odbc ogg oggvorbis openal opengl openldap oss pam pdflib perl pgo php png portaudio postgres ppds python quicktime readline real recode samba sasl sdl session shared sharedmem slang slp sndfile snmp sockets socks5 soundtouch spell spl sqlite sse sse2 ssl svg svga tcltk tcpd theora threads tidy tiff timidity tokenizer truetype truetype-fonts type1-fonts unicode usb userlocales utf utf8 vanilla vhosts vorbis win32codecs wxwindows x86 xine xml xml2 xmlrpc xmms xpm xsl xv xvid zlib video_cards_nvidia userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
do you have libedit emerged ?
well get back to us