在Ubuntu 14.04上安装Memcached::libmemcached时出错

在Ubuntu 14.04上安装Memcached::libmemcached时出错,ubuntu,perl,memcached,ubuntu-14.04,cpan,Ubuntu,Perl,Memcached,Ubuntu 14.04,Cpan,我在尝试安装memcached cpan库时遇到此错误。如果需要,我有完整的CPAN输出 如何修复不兼容 g++: error: -fsanitize=address is incompatible with -fsanitize=thread make[1]: *** [libtest/core-count] Error 1 make[1]: *** Waiting for unfinished jobs.... CXXLD libtest/backtrace copying sel

我在尝试安装memcached cpan库时遇到此错误。如果需要,我有完整的CPAN输出

如何修复不兼容

g++: error: -fsanitize=address is incompatible with -fsanitize=thread
make[1]: *** [libtest/core-count] Error 1
make[1]: *** Waiting for unfinished jobs....
  CXXLD    libtest/backtrace
copying selected object files to avoid basename conflicts...
g++: error: -fsanitize=address is incompatible with -fsanitize=thread
make[1]: *** [libtest/backtrace] Error 1
make[1]: Leaving directory `/root/.cpan/build/Memcached-libmemcached-1.001702-5amcV9/src/libmemcached'
make: *** [install] Error 2
Unable to build libmemcached: Error running cd src/libmemcached && make install

Aborted.
No 'Makefile' created  WOLFSAGE/Memcached-libmemcached-1.001702.tar.gz
  /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
有空

我刚刚成功安装了working developer发行版,通过以下操作解决了此缺陷:

$ cpan
$ install SEANBURKE/Memcached-libmemcached-1.001800-TRIAL1.tar.gz

我不确定这是否相关,但根据ThreadSanitarizer在x86-64 GNU/Linux上可用。为了好玩,我尝试在我的笔记本电脑(Ubuntu 14.04,x86_64)上安装了
cpanm-v Memcached::libmemcached
。但是我得到了以下错误(来自
make-j9 install am
):
libtest/server\u container.cc:在成员函数'libtest::server*libtest::server\u startup\u st::create(const string&,In\u port\u t,bool)中“:libtest/server_container.cc:241:9:错误:“HAVE_MEMCACHED_BINARY”未在此作用域中声明
cpan模块错误跟踪器中存在错误: