0
我正在嘗試構建最新版本的pylibmc(1.2.2)以支持CentOS 6上的SASL。文檔說構建需要libsasl2,它位於/ usr/lib64 /中,然而,python包的構建過程似乎沒有認識到該庫在那裏。用sasl支持構建pylibmc
我建立了包帶: 蟒蛇的setup.py安裝--with-libmemcached =在/ usr/local/lib目錄--with-zlib的--with-SASL2
然後運行測試: 蟒蛇runtests .py
nose.plugins.pylibmc: INFO: injected path: build/lib.linux-x86_64-2.6
nose.plugins.pylibmc: INFO: loaded _pylibmc from build/lib.linux-x86_64-2.6/_pylibmc.so
nose.plugins.pylibmc: INFO: libmemcached version: 0.51
nose.plugins.pylibmc: INFO: pylibmc version: 1.2.2
nose.plugins.pylibmc: INFO: support compression: True
nose.plugins.pylibmc: INFO: support sasl auth: False
....................
----------------------------------------------------------------------
Ran 20 tests in 4.839s
OK
任何想法?
我會試試看,謝謝! – jpreed00