[Mediawiki-l] Error on compiling eaccelerator on ubuntu

Samuel Lampa samuel.lampa at rilnet.com
Fri May 18 14:24:02 UTC 2007


Hi,

I'm trying to install EAccelerator on our Ubuntu server (6.06 lts) in 
order to speed up our MediaWiki sites, but compiling the source using 
"make" fails and generates an error.

I'm following the instructions on 
http://advosys.ca/viewpoints/2006/10/installing-eaccelerator-in-ubuntu-server/, 
(I Installed the recommended packages et.c.).

Does anybody have any hints about what might be the problem, given the 
log below?

Thanks in advance,
Samuel Lampa

-------------------------------------------------------------------------------
The log:

 ># make
/bin/sh /usr/local/src/eaccelerator/eaccelerator-094/libtool 
--mode=compile gcc  -I. -I/usr/local/src/eaccelerator/eaccelerator-094 
-DPHP_ATOM_INC -I/usr/local/src/eaccelerator/eaccelerator-094/include 
-I/usr/local/src/eaccelerator/eaccelerator-094/main 
-I/usr/local/src/eaccelerator/eaccelerator-094 -I/usr/include/php5 
-I/usr/include/php5/main -I/usr/include/php5/TSRM 
-I/usr/include/php5/Zend -I/usr/include/php5/ext  -DHAVE_CONFIG_H  -g 
-O2   -c /usr/local/src/eaccelerator/eaccelerator-094/optimize.c -o 
optimize.lo
 gcc -I. -I/usr/local/src/eaccelerator/eaccelerator-094 -DPHP_ATOM_INC 
-I/usr/local/src/eaccelerator/eaccelerator-094/include 
-I/usr/local/src/eaccelerator/eaccelerator-094/main 
-I/usr/local/src/eaccelerator/eaccelerator-094 -I/usr/include/php5 
-I/usr/include/php5/main -I/usr/include/php5/TSRM 
-I/usr/include/php5/Zend -I/usr/include/php5/ext -DHAVE_CONFIG_H -g -O2 
-c /usr/local/src/eaccelerator/eaccelerator-094/optimize.c  -fPIC -DPIC 
-o .libs/optimize.o
/usr/local/src/eaccelerator/eaccelerator-094/optimize.c: In function 
'compute_live_var':
/usr/local/src/eaccelerator/eaccelerator-094/optimize.c:253: error: 
'ZEND_UNSET_DIM_OBJ' undeclared (first use in this function)
/usr/local/src/eaccelerator/eaccelerator-094/optimize.c:253: error: 
(Each undeclared identifier is reported only once
/usr/local/src/eaccelerator/eaccelerator-094/optimize.c:253: error: for 
each function it appears in.)
/usr/local/src/eaccelerator/eaccelerator-094/optimize.c:260: error: 
'ZEND_JMP_NO_CTOR' undeclared (first use in this function)
/usr/local/src/eaccelerator/eaccelerator-094/optimize.c: In function 
'optimize_jmp':
/usr/local/src/eaccelerator/eaccelerator-094/optimize.c:1282: error: 
'ZEND_JMP_NO_CTOR' undeclared (first use in this function)
/usr/local/src/eaccelerator/eaccelerator-094/optimize.c: In function 
'optimize_bb':
/usr/local/src/eaccelerator/eaccelerator-094/optimize.c:2446: error: 
'ZEND_UNSET_DIM_OBJ' undeclared (first use in this function)
/usr/local/src/eaccelerator/eaccelerator-094/optimize.c: In function 
'build_cfg':
/usr/local/src/eaccelerator/eaccelerator-094/optimize.c:2724: error: 
'ZEND_JMP_NO_CTOR' undeclared (first use in this function)
/usr/local/src/eaccelerator/eaccelerator-094/optimize.c:2843: error: 
'ZEND_UNSET_DIM_OBJ' undeclared (first use in this function)
make: *** [optimize.lo] Error 1


A few more details:
Ubuntu server 6.06 lts
Linux 2.6.15-28-386 #1 PREEMPT Tue Mar 13 20:49:31 UTC 2007
Apache 2.0.55 with PHP 5.1.2







More information about the MediaWiki-l mailing list