Closed ghost closed 10 years ago
What OS (and version) are you using?
centos 6.4 64 bit
Do you have the php-devel package installed? What version of PHP?
I didn't installed php-devel package, but built from its source. And I installed some extensions as this way.
php --version PHP 5.5.5 (cli) (built: Oct 30 2013 17:42:34) (DEBUG) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
I'll guess you're missing some build dependencies (or they're not set up in a way that configure can find them). Specifically, it's not finding g++ and isn't recognizing flags from that. I'm not an expert at autotools or compiling things for PHP, so I might not be able to help you debug this.
ok, thanks for your effort, I'll be trying to fix it. thanks.
I've fixed the issue with a very interesting trick. Since I'm working and building some stuffs on my VPS, I was thinking that I've broke something somewhere in the packages. So, after I decide to create another work area (which is/was a small VPS) to confirm the issue, finally I've detected that it is the same issue as well as on another box too. And after a few minutes research I've found this; http://www.wreckedgames.com/forum/index.php/topic,1135.msg7265.html#msg7265 And It has just solved the issue on the 2 VPS boxes. I hope, it can help to other users who face this issue;
cd phpcassa/ext/thrift_protocol &&
export echo=echo &&
phpize &&
./configure &&
make &&
make install
Wow, that's an interesting bug in libtool. The error output makes more sense now. Thanks for reporting your fix!