-
Notifications
You must be signed in to change notification settings - Fork 323
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
compilation error when sasl.h is missing #341
Comments
I have the same problem, this config was ok
|
This is not a bug/issue with the php-memached extension itself. Regardless of You're going to need to satisfy the dependency to build, even if you opt-out of the functionality in the extension itself.
|
Got it. So, the bug is a missing check for sasl.h in a configure script. |
@grikdotnet No, sorry I realise I could have worded it better. There is no bug, The provided libmemcached header that contains all of the function definitions to link against the libmemcached library has a hard dependency on sasl.h. The compiler needs to know what is in that file (it could be anything!), even if you don't use what is in that file, it needs to know what is in it just in case. This is not a bug, it is a missing build dependency on your side. |
One of a configure script goals is to check dependencies. Whether you accept that this missing dependency check is a bug or not, does not matter. It is missing. |
Error compiling memcached extension even having sasl disabled in configure.
For some reason there is an unconditional #include <libmemcached-1.0/struct/sasl.h> in memcached.h
OS: Alpine linux 3.4.6
The text was updated successfully, but these errors were encountered: