You are here: Can't compile APC with PHP 4.4.4 (too many arguments to function `zend_do_inheritance') « PHP Programming Language « IT news, forums, messages
Can't compile APC with PHP 4.4.4 (too many arguments to function `zend_do_inheritance')

Posted by Kil on 11/29/06 14:57

Hello everyone,

I would like to use the Alternative PHP Cache (APC,
http://pecl.php.net/package/APC). I am using Apache 2.2.3 (with worker
MPM), PHP 4.4.4 - all self-builds under Debian GNU/Linux 3.1, Kernel
2.4.

I use the following configure command to build APC:

../configure \
--enable-apc \
--enable-apc-mmap \
--with-apxs=/usr/local/apache-2.2.3/bin/apxs \
--with-php-config=/usr/local/php-4.4.4/bin/php-config

But afterwards, make fails with the following error:

[...]
/bin/sh /usr/local/src/new_inst2/APC-3.0.12p2/libtool --mode=compile
gcc -I. -I/usr/local/src/new_inst2/APC-3.0.12p2 -DPHP_ATOM_INC
-I/usr/local/src/new_inst2/APC-3.0.12p2/include
-I/usr/local/src/new_inst2/APC-3.0.12p2/main
-I/usr/local/src/new_inst2/APC-3.0.12p2
-I/usr/local/php-4.4.4/include/php
-I/usr/local/php-4.4.4/include/php/main
-I/usr/local/php-4.4.4/include/php/TSRM
-I/usr/local/php-4.4.4/include/php/Zend
-I/usr/local/apache-2.2.3/include -DAPC_PHP4_STAT -DHAVE_CONFIG_H -g
-O2 -c /usr/local/src/new_inst2/APC-3.0.12p2/apc_main.c -o
apc_main.lo
gcc -I. -I/usr/local/src/new_inst2/APC-3.0.12p2 -DPHP_ATOM_INC
-I/usr/local/src/new_inst2/APC-3.0.12p2/include
-I/usr/local/src/new_inst2/APC-3.0.12p2/main
-I/usr/local/src/new_inst2/APC-3.0.12p2
-I/usr/local/php-4.4.4/include/php
-I/usr/local/php-4.4.4/include/php/main
-I/usr/local/php-4.4.4/include/php/TSRM
-I/usr/local/php-4.4.4/include/php/Zend
-I/usr/local/apache-2.2.3/include -DAPC_PHP4_STAT -DHAVE_CONFIG_H -g
-O2 -c /usr/local/src/new_inst2/APC-3.0.12p2/apc_main.c -fPIC -DPIC -o
apc_main.lo
/usr/local/src/new_inst2/APC-3.0.12p2/apc_main.c: In function
`install_class':
/usr/local/src/new_inst2/APC-3.0.12p2/apc_main.c:167: error: too many
arguments to function `zend_do_inheritance'
make: *** [apc_main.lo] Fehler 1

I googled for this exact error and found one reference, from someone
trying to build eAccelerator under AIX. The solution is to upgrade to
the final version of eAccelerator where this problem is solved.
Unfortunately, that does not help me here...

Has anyone experienced this or a similar problem before? I really don't
have a clue about where the problem could be (I'm not very familiar
with ZEND et al) and every hint is greatly appreciated!

Many thanks,
Kilian

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация