I'm almost sure that you're running into
https://issues.apache.org/jira/browse/MESOS-3030
(there is a patch out to fix this: https://reviews.apache.org/r/39230/)

--
*Marco Massenzio*
Distributed Systems Engineer
http://codetrips.com

On Mon, Oct 12, 2015 at 4:54 PM, yuankui <[email protected]> wrote:

> hello,buddies
>
> I'm compiling mesos on mac os x 10.11 (EI capitan) and come across with
> some error as flowing
>         version: mesos-0.24.0 & mesos-0.25.0-rc3
>
>
> /usr/include/sasl/sasl.h:757:25: note: 'sasl_errstring' has been
> explicitly marked deprecated here
> LIBSASL_API const char *sasl_errstring(int saslerr,
>                        ^
> ../../src/authentication/cram_md5/authenticator.cpp:334:20: error:
> 'sasl_errdetail' is deprecated: first deprecated in OS X 10.11
>      [-Werror,-Wdeprecated-declarations]
>      string error(sasl_errdetail(connection));
>                   ^
> /usr/include/sasl/sasl.h:770:25: note: 'sasl_errdetail' has been
> explicitly marked deprecated here
> LIBSASL_API const char *sasl_errdetail(sasl_conn_t *conn)
> __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_11,__IPHONE_NA,__IPHONE_NA);
>                        ^
> ../../src/authentication/cram_md5/authenticator.cpp:514:18: error:
> 'sasl_server_init' is deprecated: first deprecated in OS X 10.11
>      [-Werror,-Wdeprecated-declarations]
>    int result = sasl_server_init(NULL, "mesos");
>                 ^
> /usr/include/sasl/sasl.h:1016:17: note: 'sasl_server_init' has been
> explicitly marked deprecated here
> LIBSASL_API int sasl_server_init(const sasl_callback_t *callbacks,
>                ^
> ../../src/authentication/cram_md5/authenticator.cpp:519:11: error:
> 'sasl_errstring' is deprecated: first deprecated in OS X 10.11
>      [-Werror,-Wdeprecated-declarations]
>          sasl_errstring(result, NULL, NULL));
>          ^
> /usr/include/sasl/sasl.h:757:25: note: 'sasl_errstring' has been
> explicitly marked deprecated here
> LIBSASL_API const char *sasl_errstring(int saslerr,
>                        ^
> ../../src/authentication/cram_md5/authenticator.cpp:521:16: error:
> 'sasl_auxprop_add_plugin' is deprecated: first deprecated in OS X 10.11
>      [-Werror,-Wdeprecated-declarations]
>      result = sasl_auxprop_add_plugin(
>               ^
> /usr/include/sasl/saslplug.h:1013:17: note: 'sasl_auxprop_add_plugin' has
> been explicitly marked deprecated here
> LIBSASL_API int sasl_auxprop_add_plugin(const char *plugname,
>                ^
> ../../src/authentication/cram_md5/authenticator.cpp:528:13: error:
> 'sasl_errstring' is deprecated: first deprecated in OS X 10.11
>      [-Werror,-Wdeprecated-declarations]
>            sasl_errstring(result, NULL, NULL));
>            ^
> /usr/include/sasl/sasl.h:757:25: note: 'sasl_errstring' has been
> explicitly marked deprecated here
> LIBSASL_API const char *sasl_errstring(int saslerr,
>                        ^
>
> as I'm not familiar with c++, I don't know how to solve this
>
> I believe I'm not the first one who came across with this problem, So I'm
> here for help!
> thanks.
>
>
>

Reply via email to