VPS侦探论坛

 找回密码
 注册
查看: 9922|回复: 0

[总结] syntax error near unexpected token `1.9.6' aclocal:configure.ac:5: warning: macr

[复制链接]
发表于 2011-6-2 12:48:59 | 显示全部楼层 |阅读模式

安装rtorrent时报如下错误:
  1. root@buyvm:~/rtorrent/rtorrent-0.8.8# ./autogen.sh
  2. aclocal...
  3. aclocal:configure.ac:5: warning: macro `AM_PATH_CPPUNIT' not found in library
  4. autoheader...
  5. libtoolize... using libtoolize
  6. automake...
  7. autoconf...
  8. configure.ac:5: error: possibly undefined macro: AM_PATH_CPPUNIT
  9.       If this token and others are legitimate, please use m4_pattern_allow.
  10.       See the Autoconf documentation.
  11. ready to configure
  12. root@buyvm:~/rtorrent/rtorrent-0.8.8# ./configure --with-xmlrpc-c=../xmlrpc-c-1.16.35/xmlrpc-c-config
  13. checking for a BSD-compatible install... /usr/bin/install -c
  14. checking whether build environment is sane... yes
  15. checking for gawk... gawk
  16. checking whether make sets $(MAKE)... yes
  17. ./configure: line 2953: syntax error near unexpected token `1.9.6'
  18. ./configure: line 2953: `AM_PATH_CPPUNIT(1.9.6)'
复制代码


执行:apt-get install libcppunit-dev 安装上这个lib就行了。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-17 03:26 , Processed in 0.024557 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表