Ставлю gentoo по хендбуку, все как обычно, при установке gentoo-sources:
# emerge gentoo-sources
* IMPORTANT: 4 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 2) sys-devel/bc-1.06.95
* bc-1.06.95.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking bc-1.06.95.tar.bz2 to /var/tmp/portage/sys-devel/bc-1.06.95/work
>>> Source unpacked in /var/tmp/portage/sys-devel/bc-1.06.95/work
>>> Compiling source in /var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-readline --without-libedit
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95/config.log
* ERROR: sys-devel/bc-1.06.95 failed (compile phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 2424: Called econf '--with-readline' '--without-libedit'
* phase-helpers.sh, line 521: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of `emerge --info '=sys-devel/bc-1.06.95'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/bc-1.06.95'`.
* The complete build log is located at '/var/tmp/portage/sys-devel/bc-1.06.95/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/bc-1.06.95/temp/environment'.
* Working directory: '/var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'
* S: '/var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'
>>> Failed to emerge sys-devel/bc-1.06.95, Log file:
>>> '/var/tmp/portage/sys-devel/bc-1.06.95/temp/build.log'
* Messages for package sys-devel/bc-1.06.95:
* ERROR: sys-devel/bc-1.06.95 failed (compile phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 2424: Called econf '--with-readline' '--without-libedit'
* phase-helpers.sh, line 521: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of `emerge --info '=sys-devel/bc-1.06.95'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/bc-1.06.95'`.
* The complete build log is located at '/var/tmp/portage/sys-devel/bc-1.06.95/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/bc-1.06.95/temp/environment'.
* Working directory: '/var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'
* S: '/var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'
(chroot) ubuntu / # emerge gentoo-sources
* IMPORTANT: 4 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 2) sys-devel/bc-1.06.95
* bc-1.06.95.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking bc-1.06.95.tar.bz2 to /var/tmp/portage/sys-devel/bc-1.06.95/work
>>> Source unpacked in /var/tmp/portage/sys-devel/bc-1.06.95/work
>>> Compiling source in /var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-readline --without-libedit
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95/config.log
* ERROR: sys-devel/bc-1.06.95 failed (compile phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 2424: Called econf '--with-readline' '--without-libedit'
* phase-helpers.sh, line 521: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of `emerge --info '=sys-devel/bc-1.06.95'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/bc-1.06.95'`.
* The complete build log is located at '/var/tmp/portage/sys-devel/bc-1.06.95/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/bc-1.06.95/temp/environment'.
* Working directory: '/var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'
* S: '/var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'
>>> Failed to emerge sys-devel/bc-1.06.95, Log file:
>>> '/var/tmp/portage/sys-devel/bc-1.06.95/temp/build.log'
* Messages for package sys-devel/bc-1.06.95:
* ERROR: sys-devel/bc-1.06.95 failed (compile phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 2424: Called econf '--with-readline' '--without-libedit'
* phase-helpers.sh, line 521: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of `emerge --info '=sys-devel/bc-1.06.95'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/bc-1.06.95'`.
* The complete build log is located at '/var/tmp/portage/sys-devel/bc-1.06.95/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/bc-1.06.95/temp/environment'.
* Working directory: '/var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'
* S: '/var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'