|
|
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring Apache Portable Runtime library ...
checking for APR... yes
setting CC to "i486-pc-linux-gnu-gcc"
setting CPP to "i486-pc-linux-gnu-gcc -E"
adding "-pthread" to CFLAGS
setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE"
Configuring Apache Portable Runtime Utility library...
checking for APR-util... yes
adding "-L/usr/lib" to LDFLAGS
checking for i686-pc-linux-gnu-gcc... i486-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/app-admin/apache-tools-2.2.8/work/httpd-2.2.8/config.log
*
* ERROR: app-admin/apache-tools-2.2.8 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2331: Called econf 'src_compile' 'src_compile' '--sbindir=/usr/sbin' '--with-perl=/usr/bin/perl' '--with-expat=/usr' '--with-z=/usr' '--with-apr=/usr' '--with-apr-util=/usr' '--with-pcre=/usr'
* ebuild.sh, line 513: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf failed
我自己的gcc配置如下:
senwei@localhost ~ $ gcc-config -L
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1
senwei@localhost ~ $ gcc-config -l
[1] i686-pc-linux-gnu-4.1.1 *
[2] i686-pc-linux-gnu-4.1.2
在/etc/make.conf下的配置:
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
其他的软件emerge都没问题,唯独apache的问题搞不定,大家帮忙下 谢谢了 |
|