LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   installing Turck MMCache for PHP error mmcache.c:4004: error: 'empty_string' undeclar (https://www.linuxquestions.org/questions/linux-software-2/installing-turck-mmcache-for-php-error-mmcache-c-4004-error-empty_string-undeclar-837181/)

bharathvn 10-10-2010 03:21 AM

installing Turck MMCache for PHP error mmcache.c:4004: error: 'empty_string' undeclar
 
Hello,

Am trying to install Turck MMCache for PHP 5.1.6 (cli) (built: Mar 31 2010 02:39:17)

OS: Centos 5.5 Final

while running Make command i get this error and comes out of the installation.

Need team assistance.

/opt/turck-mmcache-2.4.6/mmcache.c: In function 'fixup_zval':
/opt/turck-mmcache-2.4.6/mmcache.c:705: error: 'empty_string' undeclared (first use in this function)
/opt/turck-mmcache-2.4.6/mmcache.c:705: error: (Each undeclared identifier is reported only once
/opt/turck-mmcache-2.4.6/mmcache.c:705: error: for each function it appears in.)
/opt/turck-mmcache-2.4.6/mmcache.c: In function 'calc_zval':
/opt/turck-mmcache-2.4.6/mmcache.c:1293: error: 'empty_string' undeclared (first use in this function)
/opt/turck-mmcache-2.4.6/mmcache.c: In function 'store_zval':
/opt/turck-mmcache-2.4.6/mmcache.c:1652: error: 'empty_string' undeclared (first use in this function)
/opt/turck-mmcache-2.4.6/mmcache.c: In function 'restore_zval':
/opt/turck-mmcache-2.4.6/mmcache.c:2159: error: 'empty_string' undeclared (first use in this function)
/opt/turck-mmcache-2.4.6/mmcache.c: In function 'ps_create_sid_mmcache':
/opt/turck-mmcache-2.4.6/mmcache.c:4004: error: 'empty_string' undeclared (first use in this function)

prayag_pjs 10-12-2010 06:33 AM

Make sure you have libtool & libtool-libs installed

Installing gtk+ & gcc-c++ will solve your problems

You could also install

php-eaccelerator

bharathvn 10-12-2010 06:35 AM

Hello Prayag,

Thanks for replying.

I found that's a bug with turck-mmcache compiling on CentOS version 5.3+

Shortly they will be releasing build compatible with CentOS.


All times are GMT -5. The time now is 05:54 AM.