Код:
./bootstrap.sh
Gentoo Linux; http://www.gentoo.org/
Copyright 1999-2007 Gentoo Foundation; Distributed under the GPLv2
Starting Bootstrap of base system ...
-------------------------------------------------------------------------------
[[ (0/3) Locating packages ]]
* Using baselayout : >=sys-apps/baselayout-1.11.12-r4
* Using portage : virtual/portage
* Using os-headers : >=sys-kernel/linux-headers-2.6.23-r3
* Using binutils : sys-devel/binutils
* Using gcc : >=sys-devel/gcc-3.3.4-r1
* Using gettext : gettext
* Using libc : virtual/libc
* Using texinfo : sys-apps/texinfo
* Using zlib : sys-libs/zlib
* Using ncurses : sys-libs/ncurses
-------------------------------------------------------------------------------
[[ (1/3) Configuring environment ]]
* GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distri...ns/gentoo"
* PORTDIR="/usr/portage"
* DISTDIR="/usr/portage/distfiles"
* PKGDIR="/usr/portage/packages"
* PORTAGE_TMPDIR="/var/tmp"
* CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -mtune=native"
* CHOST="i686-pc-linux-gnu"
* CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -mtune=native"
* MAKEOPTS="-j2"
* ACCEPT_KEYWORDS="x86"
* FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
* STAGE1_USE="nptl nptlonly unicode"
-------------------------------------------------------------------------------
[[ (2/3) Updating portage ]]
Calculating dependencies... done!
>>> starting parallel fetching
>>> Emerging (1 of 2) sys-apps/sandbox-1.2.18.1-r2 to /
* sandbox-1.2.18.1.tar.bz2 RMD160 ;-) ... [ ok ]
* sandbox-1.2.18.1.tar.bz2 SHA1 ;-) ... [ ok ]
* sandbox-1.2.18.1.tar.bz2 SHA256 ;-) ... [ ok ]
* sandbox-1.2.18.1.tar.bz2 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking sandbox-1.2.18.1.tar.bz2 ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking sandbox-1.2.18.1.tar.bz2 to /var/tmp/portage/sys-apps/sandbox-1.2.18.1-r2/work
* Applying sandbox-1.2.18.1-open-normal-fail.patch ... [ ok ]
* Applying sandbox-1.2.18.1-open-cloexec.patch ... [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-apps/sandbox-1.2.18.1-r2/work/sandbox-1.2.18.1 ...
* If configure fails with a 'cannot run C compiled programs' error, try this:
* FEATURES=-sandbox emerge sandbox
* Configuring sandbox for ABI=default...
* econf: updating sandbox-1.2.18.1/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating sandbox-1.2.18.1/config.sub with /usr/share/gnuconfig/config.sub
../sandbox-1.2.18.1//configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... 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 filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/sys-apps/sandbox-1.2.18.1-r2/work/build-default-i686-pc-linux-gnu/config.log
!!! ERROR: sys-apps/sandbox-1.2.18.1-r2 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3364: Called src_compile
sandbox-1.2.18.1-r2.ebuild, line 87: Called econf '--libdir=/usr/lib'
ebuild.sh, line 577: Called die
!!! econf failed
!!! 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/sys-apps/sandbox-1.2.18.1-r2/temp/build.log'.
make.conf
Код:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -mtune=native"
CXXFLAGS="${CFLAGS}"
# This should not be changed unless you know exactly what you are doing. You
# should probably be using a different stage, instead.
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j2"
USE="unicode nls -ipv6 qt3 X kde alsa"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="nvidia"
LINGUAS="ru"
CC=gcc
CXX=g++
# gcc-config -l
[1] i686-pc-linux-gnu-4.1.1 *
Использовал stage3-i686-2007.0.tar.bz2. Ставлю с liveCD бубунты.