Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83662 - eaccelerator: failed to compile
Summary: eaccelerator: failed to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-01 03:40 UTC by Luciano Tolomei
Modified: 2005-03-01 07:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luciano Tolomei 2005-03-01 03:40:11 UTC
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
Comment 1 Luciano Tolomei 2005-03-01 04:49:21 UTC
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
Comment 2 Sebastian Bergmann (RETIRED) gentoo-dev 2005-03-01 05:09:52 UTC
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".
Comment 3 Luciano Tolomei 2005-03-01 06:42:42 UTC
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.
Comment 4 Luciano Tolomei 2005-03-01 06:46:39 UTC
and i have not a multi processor machine to.
it have a single xeon processor
Comment 5 Luciano Tolomei 2005-03-01 07:30:10 UTC
I have:
unmerged mod_php, php

reemerged: apache, php, mod_php, eaccelerator

and now it works fine.

really sorry about your wasted time.

Luciano