make[1]: Leaving directory `/var/tmp/portage/nmap-3.95/work/nmap-3.95/nsock/src' ./shtool mkdir -f -p -m 755 /var/tmp/portage/nmap-3.95/image//usr/bin /var/tmp/portage/nmap-3.95/image//usr/share/man/man1 /var/tmp/portage/nmap-3.95/image//usr/share/nmap ./shtool: line 456: t.opt_MODE_f=.: command not found ./shtool: line 460: t:trace,opt_ALIAS_force=f: command not found shtool:mkdir:Error: unknown option: `f' shtool:mkdir:Hint: run `shtool mkdir -h' or `man shtool' for details make: *** [install-nmap] Error 1 USE="-gtk +ssl"
your emerge info?
And there might also be a typo in a line following the ASCII art after ./configure: "NMAP IS A POWERFUL TOOL -- USE CAREFULLY AND REPONSIBLY"
Portage 2.1_pre1 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-gentoo-r5 x86_64) ================================================================= System uname: 2.6.14-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.0_pre11 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.17 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-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=athlon64" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -march=athlon64" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" LANG="en_US" LC_ALL="et_EE" LINGUAS="en_GB et" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aalib acl alsa audiofile avi bitmap-fonts bzip2 cdr crypt cups curl directfb divx4linux dri eds emboss encode exif expat fam fbcon ffmpeg flac foomaticdb fortran gif glut gmp gpm gstreamer gtk gtk2 hal idn ieee1394 imagemagick imlib ithreads jpeg kde lcms libcaca lzw lzw-tiff mad mng mp3 mpeg ncurses nptl ogg oggvorbis opengl pam pcre pdflib perl pic png python qt quicktime readline sdl spell ssl svg sysfs tcltk tcpd theora truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis wmf xinerama xml2 xmms xpm xprint xv xvid zlib elibc_glibc kernel_linux linguas_en_GB linguas_et userland_GNU" Unset: ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Today, i managed to compile it without any trouble. Maybe something i updated fixed this.
Well, the shtool file looks sane to me -- maybe something was temporarily broken on your system. Please reopen if necessary.
Yes, this was probably random. Versions prior to 4 no longer in portage anyway, RIP. Closing.