licess 发表于 2011-6-2 12:48:59

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

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

执行:apt-get install libcppunit-dev 安装上这个lib就行了。
页: [1]
查看完整版本: syntax error near unexpected token `1.9.6' aclocal:configure.ac:5: warning: macr