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-serve..., (I Installed the recommended packages et.c.).
Does anybody have any hints about how to solve 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
Samuel Lampa wrote:
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-serve..., (I Installed the recommended packages et.c.).
Does anybody have any hints about how to solve the problem, given the log below?
Thanks in advance, Samuel Lampa
# make
/bin/sh /usr/local/src/eaccelerator/eaccelerator-094/libtool
<snip>
Apache 2.0.55 with PHP 5.1.2
Hello,
This mailing list is about the MediaWiki wiki engine, not about eaccellerator. There is a great site on the internet that let you find some useful stuff: www.google.com .
Your first error is:
/usr/local/src/eaccelerator/eaccelerator-094/optimize.c:253: error: 'ZEND_UNSET_DIM_OBJ' undeclared (first use in this function)
Using the above site, you get some hits for this keyword: http://www.google.com/search?q=zend_unset_dim_obj The first link I had point to a post on the mailing list you should have posted your question too:
http://osdir.com/ml/php.eaccelerator.devel/2006-01/msg00000.html
Basicly: eAccelearator 0.9.4 does not support php 5.1. For follow up, subscribe to their list :)
cheers,
Ashar Voultoiz skrev:
http://www.google.com/search?q=zend_unset_dim_obj The first link I had point to a post on the mailing list you should have posted your question too:
http://osdir.com/ml/php.eaccelerator.devel/2006-01/msg00000.html
Basicly: eAccelearator 0.9.4 does not support php 5.1. For follow up, subscribe to their list :)
Ok, thanks for your help!
Regards, Samuel
I had similar problems when I set up eAccelerator: A patch ( http://www.eaccelerator.net/changeset/284) fixed it for me, though perhaps this is a separate problem and I'm just confusing the two.
On 5/18/07, Samuel Lampa samuel.lampa@rilnet.com wrote:
Ashar Voultoiz skrev:
http://www.google.com/search?q=zend_unset_dim_obj The first link I had point to a post on the mailing list you should have posted your question too:
http://osdir.com/ml/php.eaccelerator.devel/2006-01/msg00000.html
Basicly: eAccelearator 0.9.4 does not support php 5.1. For follow up, subscribe to their list :)
Ok, thanks for your help!
Regards, Samuel
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On 18/05/07, Ashar Voultoiz hashar@altern.org wrote:
Basicly: eAccelearator 0.9.4 does not support php 5.1. For follow up, subscribe to their list :)
However, APC (alternative PHP cache) works fine with PHP 5.1.x, and provides bytecode and user object caching, the same as eAccelerator.
Rob Church
Samuel Lampa skrev:
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 finally found that, for some reason, the version I was trying to install wasn't the latest stable release, as I thought! *slapping my forehead* Release 0.9.5.1 at http://eaccelerator.net/wiki/Release-0.9.5.1 worked fine, even with PHP 5.1.2. Thank you all for your help, and sorry for bothering you through my mistake.
Regards, Samuel
mediawiki-l@lists.wikimedia.org