checking for stdlib.h... (cached) yes
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking for char... yes
checking size of char... configure: error: cannot compute sizeof (char)
See `config.log' for more details.
*
* ERROR: dev-lang/php-5.2.4_p20070914-r2 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* php-5.2.4_p20070914-r2.ebuild, line 188: Called src_compile_normal
* php-5.2.4_p20070914-r2.ebuild, line 330: Called php5_2-sapi_src_compile
* php5_2-sapi.eclass, line 644: Called die
*
* configure 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-lang/php-5.2.4_p20070914-r2/temp/build.log'.