Hi, everybody. I followed the doc<http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml> to install the gentoo-prefix on my ubuntu 12.04 , But when i come to the setp : emerge linker and compiler , and when i run the command : emerge --oneshot --nodeps sys-devel/gcc-config . Then it comes error : $ emerge --oneshot --nodeps sys-devel/gcc-config
>>> Verifying ebuild manifests >>> Emerging (1 of 1) sys-devel/gcc-config-1.5-r2 >>> Unpacking source... * Adjusting to prefix /home/jiahui/Gentoo * wrapper.c ... [ ok ] * gcc-config-1.5 ... [ ok ] >>> Source unpacked in /home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work >>> Compiling source in /home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work ... make CC=gcc wrapper gcc -O2 -march=i686 -pipe -m32 -Wl,-rpath=/home/jiahui/Gentoo/usr/lib -Wl,-rpath=/home/jiahui/Gentoo/lib wrapper.c -o wrapper /home/jiahui/Gentoo/usr/bin/ld: this linker was not configured to use sysroots collect2: ld returned 1 exit status make: *** [wrapper] Error 1 emake failed * ERROR: sys-devel/gcc-config-1.5-r2 failed (compile phase): * compile wrapper * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 2230: Called die * The specific snippet of code: * emake CC="$(tc-getCC)" wrapper || die "compile wrapper" * * If you need support, post the output of 'emerge --info =sys-devel/gcc-config-1.5-r2', * the complete build log and the output of 'emerge -pqv =sys-devel/gcc-config-1.5-r2'. * The complete build log is located at '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/build.log'. * The ebuild environment file is located at '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/environment'. * Working directory: '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work' * S: '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work' >>> Failed to emerge sys-devel/gcc-config-1.5-r2, Log file: >>> '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/build.log' * Messages for package sys-devel/gcc-config-1.5-r2: * ERROR: sys-devel/gcc-config-1.5-r2 failed (compile phase): * compile wrapper * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 2230: Called die * The specific snippet of code: * emake CC="$(tc-getCC)" wrapper || die "compile wrapper" * * If you need support, post the output of 'emerge --info =sys-devel/gcc-config-1.5-r2', * the complete build log and the output of 'emerge -pqv =sys-devel/gcc-config-1.5-r2'. * The complete build log is located at '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/build.log'. * The ebuild environment file is located at '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/environment'. * Working directory: '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work' * S: '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work' After that , i find i can emerge nothing (before emerge gcc-config, everything seems good). Can anyone help me? My $PATH is : export PATH="$EPREFIX/usr/bin:$EPREFIX/bin:$EPREFIX/tmp/usr/bin:$EPREFIX/tmp/bin:$PATH" -- 好好学习,天天向上!!!