When i try to emerge dev-php5/xdebug-2.0.0_rc2 i constantly get an error: checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. !!! ERROR: dev-php5/xdebug-2.0.0_rc2 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile ebuild.sh, line 1255: Called php-ext-source-r1_src_compile php-ext-source-r1.eclass, line 68: Called die --- config.log says following: configure:2527: checking for C compiler default output file name configure:2554: gcc -O3 -pipe -mtune=i686 -march=pentium4 -fomit-frame-pointer -Wl,--version-script=//var/lib/php-pkg/dev-lang/php-5.1.6- r6/php5-ldvs -Wl,--allow-shlib-undefined -L/usr/lib/apache2/modules/ -lphp5 conftest.c >&5 configure:2557: $? = 0 configure:2595: result: a.out configure:2612: checking whether the C compiler works configure:2622: ./a.out ./a.out: error while loading shared libraries: libphp5.so: cannot open shared object file: No such file or directory configure:2625: $? = 127 configure:2634: error: cannot run C compiled programs. --- Reproducible: Always Steps to Reproduce: 1. emerge dev-lang/php-5.1.6-r6 with apache2 use flag 2. try to emerge dev-php5/xdebug-2.0.0_rc2 Actual Results: !!! ERROR: dev-php5/xdebug-2.0.0_rc2 failed. Expected Results: >>> dev-php5/xdebug-2.0.0_rc2 merged. my system configuration contains experimental use flags for php: concurrentmodphp fastbuild. Could it cause problems? --- for now i've found a workaround: reemerge php without "apache2" use flag (possible "apache" use flag shouldn't be enabled too). emerge xdebug, reemerge php with "apache2" use flag.
Created attachment 106692 [details] My desktop configuration.
Reopen if you can reproduce without concurrentmodphp; not supported.
*** Bug 161791 has been marked as a duplicate of this bug. ***