Look this http://forums.gentoo.org/viewtopic-t-544647.html Do you need to do 'export SED=sed'. Regards, Thraloc && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status config.status: creating Makefile config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting config.status: executing default-1 commands config.status: executing default-2 commands config.status: executing chmod-scripts commands make all-recursive make[1]: Entering directory `/var/tmp/portage/dev-libs/glib-1.2.10-r5/work/glib-1.2.10' Making all in . make[2]: Entering directory `/var/tmp/portage/dev-libs/glib-1.2.10-r5/work/glib-1.2.10' /bin/sh ./libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -DG_ENABLE_DEBUG -O2 -march=pentium4 -fomit-frame-pointer -funroll-loops -pipe -fPIC -Wall -D_REENTRANT -c garray.c /bin/sh ./libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -DG_ENABLE_DEBUG -O2 -march=pentium4 -fomit-frame-pointer -funroll-loops -pipe -fPIC -Wall -D_REENTRANT -c gcache.c ./libtool: line 297: s,^.*/,,g: No such file or directory ./libtool: line 297: s,^.*/,,g: No such file or directory ./libtool: line 711: -e: command not found *** Warning: inferring the mode of operation is deprecated. *** Future versions of Libtool will require --mode=MODE be specified. ./libtool: line 1022: -e: command not found ./libtool: line 711: -e: command not found *** Warning: inferring the mode of operation is deprecated. *** Future versions of Libtool will require --mode=MODE be specified. ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1050: -e: command not found ./libtool: line 1074: -e: command not found : compile: cannot determine name of library object from `' make[2]: *** [gcache.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1022: -e: command not found ./libtool: line 1050: -e: command not found ./libtool: line 1074: -e: command not found : compile: cannot determine name of library object from `' make[2]: *** [garray.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-libs/glib-1.2.10-r5/work/glib-1.2.10' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/glib-1.2.10-r5/work/glib-1.2.10' make: *** [all-recursive-am] Error 2 !!! ERROR: dev-libs/glib-1.2.10-r5 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3699: Called src_compile glib-1.2.10-r5.ebuild, line 54: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/dev-libs/glib-1.2.10-r5/temp/build.log'.