1 |
I'm getting pretty much the same error (C compiler cannot create executables). I'm pretty sure it's because gcc-3.3.4 is installed. I've tried upgrading gcc by emerging but get the same error (catch-22 situation). |
2 |
Here's the last part of the error log which is the same with anything I try to emerge. |
3 |
|
4 |
checking host system type... i686-pc-linux-gnu |
5 |
checking target system type... i686-pc-linux-gnu |
6 |
Updated main/php_version.h |
7 |
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc |
8 |
checking for C compiler default output file name... |
9 |
configure: error: C compiler cannot create executables |
10 |
See `config.log' for more details. |
11 |
* |
12 |
* ERROR: dev-lang/php-5.2.5-r1 failed. |
13 |
* Call stack: |
14 |
* ebuild.sh, line 1654: Called dyn_compile |
15 |
* ebuild.sh, line 990: Called qa_call 'src_compile' |
16 |
* ebuild.sh, line 44: Called src_compile |
17 |
* php-5.2.5-r1.ebuild, line 185: Called src_compile_normal |
18 |
* php-5.2.5-r1.ebuild, line 327: Called php5_2-sapi_src_compile |
19 |
* php5_2-sapi.eclass, line 640: Called die |
20 |
* |
21 |
* configure failed |
22 |
* If you need support, post the topmost build error, and the call stack if rele |
23 |
vant. |
24 |
* A complete build log is located at '/var/tmp/portage/dev-lang/php-5.2.5-r1/te |
25 |
mp/build.log'. |
26 |
* |
27 |
|
28 |
##gcc version## |
29 |
|
30 |
glacier log # gcc-config -l |
31 |
[1] i686-pc-linux-gnu-3.3.4 * |
32 |
|
33 |
##make.conf## |
34 |
|
35 |
glacier log # cat /etc/make.conf |
36 |
# These settings were set by the catalyst build script that automatically built this stage |
37 |
# Please consult /etc/make.conf.example for a more detailed example |
38 |
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" |
39 |
CHOST="i686-pc-linux-gnu" |
40 |
CXXFLAGS="${CFLAGS}" |
41 |
MAKEOPTS="-j2" |
42 |
ALSA_CARDS="ens1371" |
43 |
USE="apache2" |
44 |
USE="-qt -kde gtk gnome hal howl" |
45 |
USE="net" |
46 |
USE="oscar" |
47 |
USE="tk" |
48 |
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ " |
49 |
|
50 |
|
51 |
Any help would be greatly appreciated. |