The package as not any use flag avaible and when i run "emerge eaccelerator" it give these error: /var/tmp/portage/eaccelerator-0.9.2a/work/eaccelerator/optimize.c -fPIC -DPIC -o optimize.lo /var/tmp/portage/eaccelerator-0.9.2a/work/eaccelerator/eaccelerator.c: In function `fixup_zval': /var/tmp/portage/eaccelerator-0.9.2a/work/eaccelerator/eaccelerator.c:745: error: `empty_string' undeclared (first use in this function) /var/tmp/portage/eaccelerator-0.9.2a/work/eaccelerator/eaccelerator.c:745: error: (Each undeclared identifier is reported only once /var/tmp/portage/eaccelerator-0.9.2a/work/eaccelerator/eaccelerator.c:745: error: for each function it appears in.) /var/tmp/portage/eaccelerator-0.9.2a/work/eaccelerator/eaccelerator.c: In function `calc_zval': /var/tmp/portage/eaccelerator-0.9.2a/work/eaccelerator/eaccelerator.c:1341: error: `empty_string' undeclared (first use in this function) /var/tmp/portage/eaccelerator-0.9.2a/work/eaccelerator/eaccelerator.c: In function `store_zval': /var/tmp/portage/eaccelerator-0.9.2a/work/eaccelerator/eaccelerator.c:1721: error: `empty_string' undeclared (first use in this function) /var/tmp/portage/eaccelerator-0.9.2a/work/eaccelerator/eaccelerator.c: In function `restore_zval': /var/tmp/portage/eaccelerator-0.9.2a/work/eaccelerator/eaccelerator.c:2299: error: `empty_string' undeclared (first use in this function) /var/tmp/portage/eaccelerator-0.9.2a/work/eaccelerator/eaccelerator.c: In function `ps_create_sid_eaccelerator': /var/tmp/portage/eaccelerator-0.9.2a/work/eaccelerator/eaccelerator.c:4483: error: `empty_string' undeclared (first use in this function) make: *** [eaccelerator.lo] Error 1 make: *** Waiting for unfinished jobs.... /var/tmp/portage/eaccelerator-0.9.2a/work/eaccelerator/optimize.c: In function `optimize_bb': /var/tmp/portage/eaccelerator-0.9.2a/work/eaccelerator/optimize.c:1840: error: `empty_string' undeclared (first use in this function) /var/tmp/portage/eaccelerator-0.9.2a/work/eaccelerator/optimize.c:1840: error: (Each undeclared identifier is reported only once /var/tmp/portage/eaccelerator-0.9.2a/work/eaccelerator/optimize.c:1840: error: for each function it appears in.) make: *** [optimize.lo] Error 1 !!! ERROR: dev-php/eaccelerator-0.9.2a failed. !!! Function php-ext-source_src_compile, Line 43, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1.emerge the program Actual Results: i can't compile it Expected Results: ebuild installed my hardware is a dell with a xeon processos
i have tested again: it will make this error with a non portage version of php installed, in my test pc i have installed a dev version of php downloaded from php.net. i have uninstalled it and compiled the latest version of php 5 from portage and now it work the istallation but when i start apache it gives: undefined symbol: output_globals when i start apache. it is acommon problem i think: look at: https://sourceforge.net/forum/forum.php?thread_id=1237161&forum_id=416742
1. dev-php/PECL-* are supposed to be used with portage's PHP packages. We cannot support PHP environments not built by portage. 2. The dev-php/eaccelerator ebuild should eerror out when you try to build eAccelerator for mod_php and you have Apache 2.0 with a threading MPM. I will leave this bug report until I have time to investigate why the ebuild did not eerror when the reporter tried to install eAccelerator for an Apache compiled with USE="threads".
i understand the point one, and i'm sorry about the opening of this bug for this problem. but, i have not threads enabled in my apache(i put emerge output cause i have some problems with "etcat -u" perhaps it can be a problem of this but reemerging gentoolkit does not change anything): urano root # emerge -pv apache These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] net-www/apache-2.0.52-r1 [2.0.51-r1] +berkdb -debug -doc +gdbm + ipv6* -ldap +ssl -static -threads 6,779 kB if i can help, i will do my best.
and i have not a multi processor machine to. it have a single xeon processor
I have: unmerged mod_php, php reemerged: apache, php, mod_php, eaccelerator and now it works fine. really sorry about your wasted time. Luciano