LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-10-2010, 03:21 AM   #1
bharathvn
Member
 
Registered: Mar 2005
Distribution: Redhat , Debian
Posts: 43

Rep: Reputation: 15
Thumbs up 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)

Last edited by bharathvn; 10-10-2010 at 03:24 AM.
 
Old 10-12-2010, 06:33 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
Make sure you have libtool & libtool-libs installed

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

You could also install

php-eaccelerator

Last edited by prayag_pjs; 10-12-2010 at 06:34 AM.
 
Old 10-12-2010, 06:35 AM   #3
bharathvn
Member
 
Registered: Mar 2005
Distribution: Redhat , Debian
Posts: 43

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mmcache error nasria Linux - Software 1 12-18-2007 06:09 PM
error installing php on debian with apache parf Debian 3 11-08-2007 09:36 PM
turck mmcache sladinki007 Fedora 0 01-02-2005 09:16 AM
Error Installing/Configuring PHP squirellplaying Linux - Newbie 20 06-10-2004 11:13 PM
Problems installing mmcache alrock Linux - Software 0 09-05-2003 03:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration