I am building a new Gentoo box, and have hit a snag after getting through the inital install process. I was able to get some applications built, like mysql etc. but when I try to build Apache it calls for APR to be installed, which fails with the error listed below. I can't seem to find anything closely related to this on the forums.
i686-pc-linux-gnu-gcc -E -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOU
RCE -I./include -I/var/tmp/portage/dev-libs/apr-1.2.11/work/apr-1.2.11/include/arch/unix -I./i
nclude/arch/unix -I/var/tmp/portage/dev-libs/apr-1.2.11/work/apr-1.2.11/include export_vars.c |
sed -e 's/^\#[^!]*//' | sed -e '/^$/d' >> apr.exp
g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/../../../crti.o: No such file or directory
g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtbeginS.o: No such file or directory
g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtendS.o: No such file or directory
g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/../../../crtn.o: No such file or directory
make[1]: *** [libapr-1.la] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/apr-1.2.11/work/apr-1.2.11'
make: *** [all-recursive] Error 1
*
* ERROR: dev-libs/apr-1.2.11 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2507: Called die
* The specific snippet of code:
* emake || die "Make failed";
* The die message:
* Make 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/dev-libs/apr-1.2.11/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/apr-1.2.11/temp/environm
ent'.
*
* Messages for package dev-libs/apr-1.2.11:
*
* ERROR: dev-libs/apr-1.2.11 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2507: Called die
* The specific snippet of code:
* emake || die "Make failed";
* The die message:
* Make 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/dev-libs/apr-1.2.11/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/apr-1.2.11/temp/environm
ent'.
Any help would be appreciated.
Thank you,
--Paul


