Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
install mmcache for php
#11

After switching to fc5 with php5 I tried to recompile and am getting the following:



Code:
<root@uin turck-mmcache-2.4.6> make
/bin/sh /build/turck-mmcache-2.4.6/libtool --mode=compile gcc  -I. -I/build/turck-mmcache-2.4.6 -DPHP_ATOM_INC -I/build/turck-mmcache-2.4.6/include -I/build/turck-mmcache-2.4.6/main -I/build/turck-mmcache-2.4.6 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext  -DHAVE_CONFIG_H  -g -O2   -c /build/turck-mmcache-2.4.6/mmcache.c -o mmcache.lo
mkdir .libs
gcc -I. -I/build/turck-mmcache-2.4.6 -DPHP_ATOM_INC -I/build/turck-mmcache-2.4.6/include -I/build/turck-mmcache-2.4.6/main -I/build/turck-mmcache-2.4.6 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -DHAVE_CONFIG_H -g -O2 -c /build/turck-mmcache-2.4.6/mmcache.c  -fPIC -DPIC -o .libs/mmcache.o
/build/turck-mmcache-2.4.6/mmcache.c: In function 'fixup_zval':
/build/turck-mmcache-2.4.6/mmcache.c:705: error: 'empty_string' undeclared (first use in this function)
/build/turck-mmcache-2.4.6/mmcache.c:705: error: (Each undeclared identifier is reported only once
/build/turck-mmcache-2.4.6/mmcache.c:705: error: for each function it appears in.)
/build/turck-mmcache-2.4.6/mmcache.c: In function 'calc_zval':
/build/turck-mmcache-2.4.6/mmcache.c:1293: error: 'empty_string' undeclared (first use in this function)
/build/turck-mmcache-2.4.6/mmcache.c: In function 'store_zval':
/build/turck-mmcache-2.4.6/mmcache.c:1652: error: 'empty_string' undeclared (first use in this function)
/build/turck-mmcache-2.4.6/mmcache.c: In function 'restore_zval':
/build/turck-mmcache-2.4.6/mmcache.c:2159: error: 'empty_string' undeclared (first use in this function)
/build/turck-mmcache-2.4.6/mmcache.c: In function 'ps_create_sid_mmcache':
/build/turck-mmcache-2.4.6/mmcache.c:4004: error: 'empty_string' undeclared (first use in this function)
make: *** [mmcache.lo] Error 1




 

Any suggestion?

Reply
#12

Hi,

 

In Fedora Core 5 you could installe:

 

php-eaccelerator.i386 5.1.2_0.9.3-0.3.fc5 extras

Matched from:

eAccelerator is a further development of the MMCache PHP Accelerator & Encoder.

It increases performance of PHP scripts by caching them in compiled state, so

that the overhead of compiling is almost completely eliminated.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)