PHP bcompiler install

Posted by dobs on Server Fault See other posts from Server Fault or by dobs
Published on 2011-04-01T18:40:20Z Indexed on 2012/06/21 21:18 UTC
Read the original article Hit count: 1591

Filed under:

How to install bcompiler on Fedora, have this error:

[root@server server]# pecl install channel://pecl.php.net/bcompiler-0.9.1
downloading bcompiler-0.9.1.tgz ...
Starting to download bcompiler-0.9.1.tgz (47,335 bytes)
.............done: 47,335 bytes
10 source files, building
running: phpize
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
building in /var/tmp/pear-build-server/bcompiler-0.9.1
running: /var/tmp/bcompiler/configure
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
....
/var/tmp/bcompiler/bcompiler.c:2174: ?????????: expected ‘struct zend_arg_info *’ but argument is of type ‘const struct _zend_arg_info *’
/var/tmp/bcompiler/bcompiler.c: ? ??????? ‘apc_serialize_zend_class_entry’:
/var/tmp/bcompiler/bcompiler.c:3100: ??????????????: ???????????? ???????? ????????????? ?????????? ????
/var/tmp/bcompiler/bcompiler.c:3107: ??????????????: ???????? ????????? 1 ‘apc_serialize_zend_function_entry’ ???????? ????????????? ?????????? ????
/var/tmp/bcompiler/bcompiler.c:2874: ?????????: expected ‘struct zend_function_entry *’ but argument is of type ‘const struct _zend_function_entry *’
/var/tmp/bcompiler/bcompiler.c: ? ??????? ‘apc_deserialize_zend_class_entry’:
/var/tmp/bcompiler/bcompiler.c:3324: ??????????????: ???????? ????????? 1 ‘apc_deserialize_zend_function_entry’ ???????? ????????????? ?????????? ????
/var/tmp/bcompiler/bcompiler.c:2900: ?????????: expected ‘struct zend_function_entry *’ but argument is of type ‘const struct _zend_function_entry *’
make: *** [bcompiler.lo] ?????? 1
ERROR: 'make' failed


yum install bzip2-libs bzip2-devel - Fix it...

© Server Fault or respective owner

Related posts about php