-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
php7 make fail #4
Comments
I haven't come across this error previously. Can you please post the exact steps to reproduce this error? i.e. which AMI in EC2 did you launch, and what commands are executed after launching the instance to arrive at the error. |
In debian 8, I cloned the php7 branch ran phpize and configured fine without error then on make I got the error. It was confirmed by AWS support as well in ticket 1689381041. |
I just tried to compile on Debian 8 and realized that you will encounter this error if you try to compile the client with the "master" code branch of the package which is intended for PHP 5.x. I switched over to "php7" code branch and it compiled successfully. |
i did a git clone -b php7 wouldn't that get the right branch? Can you share a .so file? |
I did
You can also do "git config -l" to see which remote upstream you are tracking on your local git branch. Let me know if you see any other issues compiling. |
root@sample:/usr/local/src/aws-elasticache-cluster-client-memcached-for-php# git checkout php7 |
phpize && ./configure --with-libmemcached-dir=/usr/ --disable-memcached-sasl --enable-memcached-json && make |
You need to compile and reference our custom libmemcached rather than referencing the libmemcached that is installed in the OS via apt-get. I attached my compiled memcached.so artifact here from my compilation earlier today. You can unzip it and try to link this extension in your PHP7 installation and see if this works for you or not. It worked on my Debian 8 machine. |
Copying the .so you sent worked |
Sounds good. |
Removing the zip file here in favour of the updated README instructions. |
Makefile:194: recipe for target 'php_memcached.lo' failed
make: *** [php_memcached.lo] Error 1
The text was updated successfully, but these errors were encountered: