OSX Mountain Lion에서 SASL을 지원하는 libmemcached
을 빌드하려고합니다.libmemcached에서 SASL 지원 구성
나는 SASL 지원 memcached
(1.4.15)을 구축 :
$ memcached -S -vv
Initialized SASL.
slab class 1: chunk size 96 perslab 10922
...
slab class 42: chunk size 1048576 perslab 1
<17 server listening (binary)
<18 server listening (binary)
<19 send buffer was 9216, now 3728270
<20 send buffer was 9216, now 3728270
<19 server listening (udp)
<20 server listening (udp)
...
내가 너무 SASL 지원 libmemcached
구축을 위해 노력하고 있습니다.
$ ./configure --prefix=/usr/local \
--with-memcached-sasl=/usr/local/bin/memcached
...
$ ./configure --prefix=/usr/local \
--with-memcached-sasl="/usr/local/bin/memcached -S"
...
그러나 결과 구성 요약은 모두 동일합니다 :
Configuration summary for libmemcached version 1.0.11
* Installation prefix: /usr/local
* System type: apple-darwin12.2.0
* Host CPU: x86_64
* C Compiler: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
* C Flags: -O2 -Werror -Wall -Wextra -std=c99 -Wbad-function-cast -Wmissing-prototypes -Wnested-externs -Woverride-init
* C++ Compiler: i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
* C++ Flags: -O2 -Werror -Wall -Wextra -Wpragmas -D_FORTIFY_SOURCE=2 -Waddress -Wchar-subscripts -Wcomment -Wctor-dtor-privacy -Wfloat-equal -Wformat=2 -Wmissing-field-initializers -Wmissing-noreturn -Wnon-virtual-dtor -Wnormalized=id -Woverloaded-virtual -Wpointer-arith -Wredundant-decls -Wshadow -Wshorten-64-to-32 -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wundef -Wunused-variable -Wwrite-strings -fwrapv -ggdb
* CPP Flags: -I/usr/local/include
* Assertions enabled: no
* Debug enabled: no
* Warnings as failure: no
* SASL support:
내가 잘못 뭔가를하고 있습니까 나는 다음과 같은 시도? 감사.
'ac_enable_sasl = 1'을 설정할 때 작동합니다. 이 변수는'autoconf'에 의해 설정되기로되어 있습니까? 나에게 속이는 것 같아. –
실수로'pylibmc'는'TypeError : libmemcached가 SASL을 지원하지 않습니다. ' –