【问题标题】:Error Installing Memcached::libmemcached on Ubuntu 14.04在 Ubuntu 14.04 上安装 Memcached::libmemcached 时出错
【发布时间】:2015-02-25 10:55:53
【问题描述】:

我在尝试安装 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

【问题讨论】:

  • 我不确定这是否相关,但根据gcc.gnu.org/gcc-4.8/changes.html,ThreadSanitizer 在 x86-64 GNU/Linux 上可用。
  • 我尝试在我的笔记本电脑(Ubuntu 14.04,x86_64)上使用cpanm -v Memcached::libmemcached 安装它。但我收到以下错误(来自make -j9 install-am):libtest/server_container.cc: In member function 'libtest::Server* libtest::server_startup_st::create(const string&, in_port_t, bool)': libtest/server_container.cc:241:9: error: 'HAVE_MEMCACHED_BINARY' was not declared in this scope
  • cpan 模块错误跟踪器中存在一个错误:github.com/timbunce/Memcached-libmemcached/issues/12

标签: ubuntu perl memcached ubuntu-14.04 cpan


【解决方案1】:

Developer release 可用。

我刚刚成功安装了解决此错误的工作开发者版本:

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

【讨论】:

    猜你喜欢
    • 2019-10-11
    • 2016-09-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-03-11
    • 1970-01-01
    相关资源
    最近更新 更多