In the gentoo forums there is a mention about the error being related to the makefile but i follow that instruccions and still run into an error. here is the forum post: http://forums.gentoo.org/viewtopic-t-467544-highlight-libsigc.html here is the output: mkdir /home/pirata/Data/Temp/portage/libsigc++-1.0.4-r2/image/usr/lib64/sigc++-1.0/include /bin/install -c -m 644 sigc++config.h /home/pirata/Data/Temp/portage/libsigc++-1.0.4-r2/image//usr/lib64/sigc++-1.0/include/sigc++config.h make install-data-hook make[4]: Entering directory `/home/pirata/Data/Temp/portage/libsigc++-1.0.4-r2/work/libsigc++-1.0.4/sigc++/config' #@if test -d "/usr/lib64/sigc++" ; then \ echo ;\ echo "*** WARNING ***:" ;\ echo "You seem to have old libsigc++ config header files installed in:" ;\ echo ;\ echo " \"/usr/lib64/sigc++\"" ;\ echo ;\ echo "The entire directory will be removed now." ;\ echo "To allow parallel installation of sigc++-1.0 and sigc++-1.2," ;\ echo "the header files are now installed in a version specific subdirectory." ;\ echo ; \ rm -rf "/usr/lib64/sigc++" ;\ fi /bin/sh: -c: line 12: syntax error near unexpected token `fi' /bin/sh: -c: line 12: `fi' make[4]: *** [install-data-hook] Error 2 make[4]: Leaving directory `/home/pirata/Data/Temp/portage/libsigc++-1.0.4-r2/work/libsigc++-1.0.4/sigc++/config' make[3]: *** [install-data-am] Error 2 make[3]: Leaving directory `/home/pirata/Data/Temp/portage/libsigc++-1.0.4-r2/work/libsigc++-1.0.4/sigc++/config' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/home/pirata/Data/Temp/portage/libsigc++-1.0.4-r2/work/libsigc++-1.0.4/sigc++/config' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/pirata/Data/Temp/portage/libsigc++-1.0.4-r2/work/libsigc++-1.0.4/sigc++' make: *** [install-recursive] Error 1 !!! ERROR: dev-libs/libsigc++-1.0.4-r2 failed. Call stack: ebuild.sh, line 1546: Called dyn_install ebuild.sh, line 1020: Called src_install libsigc++-1.0.4-r2.ebuild, line 40: Called die emerge info: localhost ~ # emerge --info Portage 2.1.1-r1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 x86_64) ================================================================= System uname: 2.6.17-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.6 Last Sync: Fri, 03 Nov 2006 08:30:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en es" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/home/pirata/Data/Temp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac alsa arts bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr cjk cli cracklib crypt dbus dlloader dri dvd elibc_glibc firefox flac fortran gcc64 gcj gif gpm graphviz gtk2 hal iconv imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jack java jpeg jpeg2k kde kernel_linux libg++ linguas_en linguas_es mad mime mp3 mpeg msn ncurses nls nptl nptlonly nsplugin ocaml offensive ogg opengl pam pcre pdf perl pic png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usbwin32codecs userland_GNU vcd video_cards_nv video_cards_nvidia vorbis xine xinerama xorg xosd xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
*** This bug has been marked as a duplicate of 138112 ***