Open dev-head opened 7 years ago
Same problem trying to compile on Ubuntu 16.04
You can try this: https://github.com/alekitto/aws-elasticache-cluster-client-libmemcached
Should compile executing autoreconf -i -f
before ./configure
, but hasn't been tested yet
Please do not use autotools/autoreconf. We have modified Makefile.in directly and have not tested if it builds correctly with autoconf, so you may end up with more problems down the road as a result of this.
Instead, to resolve this issue do
touch configure.ac aclocal.m4 configure Makefile.am Makefile.in
before running ./configure
Hi @malyeyev-AMZN would you be able to update the code so that it works for everyone with autotools, etc? At the moment building this driver is somewhat not easy, and not everyone is using Amazon Linux, etc. I (and many others) would be much obliged :)
Breaks on Ubuntu 18.04 LTS.
../clients/memflush.cc: In function ‘int main(int, char**)’: ../clients/memflush.cc:42:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if (opt_servers == false) ^~~~~ ../clients/memflush.cc:51:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if (opt_servers == false) ^~~~~ Makefile:5881: recipe for target 'clients/memflush.o' failed make[1]: *** [clients/memflush.o] Error 1
This is with the "touch" from above, otherwise it complains about missing some ancient version of autotools.
Breaks on Ubuntu 18.04 LTS.
../clients/memflush.cc: In function ‘int main(int, char**)’: ../clients/memflush.cc:42:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if (opt_servers == false) ^~~~~ ../clients/memflush.cc:51:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if (opt_servers == false) ^~~~~ Makefile:5881: recipe for target 'clients/memflush.o' failed make[1]: *** [clients/memflush.o] Error 1
This is with the "touch" from above, otherwise it complains about missing some ancient version of autotools.
Was there ever a fix for this?
Our systems are showing errors when building from the latest release: (Full output saved at pastebin: http://pastebin.com/raw/66JS1AnL)
edit: work around right now is to just pin to the previous release.
Error:
Configured: