Andrew Gaffney wrote:
I was trying to bootstrap YAGS (Yet Another Gentoo System) this morning and I ran across something odd:
Calculating dependencies ...done!
>>> emerge (1 of 9) sys-devel/gettext-0.12.1 to /
>>> md5 src_uri ;-) gettext-0.12.1.tar.gz
>>> Unpacking source...
>>> Unpacking gettext-0.12.1.tar.gz to /var/tmp/portage/gettext-0.12.1/work
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
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-strip... no
checking for strip... strip
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in autoconf-lib-link
configure: running /bin/sh './configure' --prefix=/usr '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--disable-shared' '--with-included-gettext' 'CC=gcc' 'CFLAGS=-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow' 'CXXFLAGS=-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow' 'CXX=g++' 'host_alias=i686-pc-linux-gnu' --cache-file=/dev/null --srcdir=.
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
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-strip... no
checking for strip... strip
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for a BSD-compatible install... /bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/i586-pc-linux-gnu/bin/ld
checking if the linker (/usr/i586-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i586-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-g++... g++
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
configure: error: /bin/sh './configure' failed for autoconf-lib-link
!!! ERROR: sys-devel/gettext-0.12.1 failed. !!! Function econf, Line 324, Exitcode 1 !!! econf failed
I used a known good (worked before) stage1-x86-1.4_rc4.tar.bz2 on a system that I already have Gentoo installed on, just on a separate partition. I took a look at the config.log but it gives me no more information than the above. I've tried it twice with the same results. I had set ACCEPT_KEYWORDS="~x86" in /etc/make.conf when I tried to bootstrap, but I'm currently running that way on my current system with no issues. If I have to, I'll download another Stage 1 tarball, but I'm on a 33.6 dial-up, so I'd prefer not to have to do that. Any suggestions?
-- Andrew Gaffney
-- [EMAIL PROTECTED] mailing list
