configure.ac:8: error: Autoconf version 2.64 or higher is required

49 篇文章 0 订阅
31 篇文章 0 订阅

安装Resource Agents的时候出现错误:configure.ac:9: error: Autoconf version 2.63 or higher is required。指的是autoconf版本低,需要安装高版本的。

  1. wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.68.tar.gz
  2. tar xzf autoconf-2.68.tar.gz
  3. cd autoconf-2.68
  4. ./configure
  5. make && make install
  6. 如果原来已经装过,还需要覆盖原来的。
  7. cp   /usr/local/bin/autoconf /usr/bin/
            cp  /usr/local/bin/autoreconf /usr/bin/

Twemproxy是一个代理服务器,可以通过它减少MemcachedRedis服务器所打开的连接数。

Twemproxy有何用途呢?它可以:


  • 通过代理的方式减少缓存服务器的连接数
  • 自动在多台缓存服务器间共享数据
  • 通过不同的策略与散列函数支持一致性散列
  • 通过配置的方式禁用失败的结点
  • 运行在多个实例上,客户端可以连接到首个可用的代理服务器
  • 支持请求的流式与批处理,因而能够降低来回的消耗
Redis的创建者 Salvatore Sanfilippo(@antirez)撰写了一篇 文章,介绍了如何通过Twemproxy在开启 Redis-cluster特性前就让Redis集群发挥作用,而在大多数情况下都不会丧失太多的性能:



Twemproxy的强大之处在于可以通过配置的方式让它禁用掉失败的结点,同时还能在一段时间后进行重试,抑或使用指定的键->服务器映射。这意味着在将Redis用作数据存储时,它可以对Redis数据集进行分片(禁用掉结点驱逐);在将Redis用作缓存时,它可以启用结点驱逐以实现简单的高可用性。
Twemproxy速度很快,真的很快,它几乎与直接访问Redis速度一样快。我敢说在最差的情况下,性能也只不过才损失20%而已。 

我对性能问题唯一的想法是当在多个实例上使用命令时,我觉得MGET还有改进空间。
  1. 虽然可以动态移除节点,但该移除节点的数据就丢失了。
  2. redis集群动态增加节点的时候,twemproxy不会对已有数据做重分布.maillist里面作者说这个需要自己写个脚本实现
  3. 性能上的损耗

Twemproxy早在今年初由Twitter开源,它最开始支持Memcached,最近又添加了对Redis的支持。Twitter使用了大量的缓存服务器,每分钟会发送300k的tweet.

https://github.com/twitter/twemproxy 下载包以及相应的安装方法.

nutcracker -d -c conf/nutcracker.yml 启动nutcracker

nc 127.0.0.1 22222 | python -mjson.tool 查看状态


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
As an AI language model, I cannot provide the exact solution to this error as it depends on the context of the code and the system configuration. However, here are some possible solutions that you can try: 1. Install pkg-config: Make sure that pkg-config is installed on your system. If not, install it using the package manager of your operating system. 2. Check the PATH environment variable: Ensure that the PATH environment variable includes the path to pkg-config. You can check it by running the command "echo $PATH" in your terminal. 3. Check pkg-config configuration: Check if pkg-config is configured correctly. You can do this by running the command "pkg-config --version" in your terminal. If it returns a version number, then the configuration is correct. 4. Check autoconf installation: Ensure that autoconf is installed on your system. If not, install it using the package manager of your operating system. 5. Check configure.ac file: Check the configure.ac file and make sure that it is correctly configured. You can also try to regenerate the configure script by running the command "autoreconf -ivf". 6. Update dependencies: Check if all the dependencies required by your project are installed and up-to-date. Update them if necessary. 7. Check for typos: Check if there are any typos in the configure.ac file, especially in the name of the package or library that you are trying to configure. If these solutions do not work, you might need to provide more information about your system configuration and the context of the code to get a more specific solution.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值