Tsunami-udp无法安装之解决方案

本文介绍了在尝试安装过时的Tsunami UDP时遇到的automake和autoconf相关问题及解决过程。通过手动安装automake,解决了`aclocal-1.7`、`automake-1.7`和`autoconf`找不到的问题,但后续编译过程中遇到新问题,如`Makefile`中关键字更新、子目录Makefile修正等。通过修改配置文件、手动创建库文件和调整头文件引用,最终成功安装。文章提供了问题定位与解决思路,适合遭遇类似问题的开发者参考。
摘要由CSDN通过智能技术生成
Tsunami UDP是一款基于UDP协议的快速传输工具,相比SCP有着更高的传输效率。最近在做传输方案时看到了它,使用它时却遇到了许多问题导致无法安装。经过一番苦战,终于将之修改并安装成功。接下来就将问题和解决方法罗列出来,共大家参考。

    当看到说明和最后一次更新日期后,心就咯噔一下,最后一次更新居然在2010年!但心里面也存着一丝侥幸,或许是版本已经非常稳定了,不需要再更新了。
下载 http://sourceforge.net/projects/tsunami-udp/files/ ----OK!
解压 ----ok!
./configure ----嗯,没问题。
make ----我@¥#*&*! 蹦错了!
cd . && /bin/sh /root/Downloads/tsunami-udp-v11-b42/missing --run aclocal-1.7
/root/Downloads/tsunami-udp-v11-b42/missing: line 46: aclocal-1.7: command not found
WARNING: `aclocal-1.7' is missing on your system.  You should only need it if
         you modified `acinclude.m4' or `configure.in'.  You might want
         to install the `Automake' and `Perl' packages.  Grab them from
         any GNU archive site.
 cd . && /bin/sh /root/Downloads/tsunami-udp-v11-b42/missing --run automake-1.7 --gnu
/root/Downloads/tsunami-udp-v11-b42/missing: line 46: automake-1.7: command not found
WARNING: `automake-1.7' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.in'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
cd . && /bin/sh /root/Downloads/tsunami-udp-v11-b42/missing --run autoconf
/root/Downloads/tsunami-udp-v11-b42/missing: line 46: autoconf: command not found
WARNING: `autoconf' is missing on your system.  You should only need it if
         you modified `configure.in'.  You might want to install the
         `Autoconf' and `GNU m4' packages.  Grab them from any GNU
         archive site.
……

    呵呵呵……用的是automake,关于它是个什么东西、怎么用,可以看这里http://www.laruence.com/2009/11/18/1154.html
按照网上的安装方法只要 make && make install就可以了,但是我安装的时候居然提示这个,我的是Mac OSX 10.9.4,然后在虚拟机CentOS和Ubuntu上装会出现同样的错误。这就不得不考虑把automake装上了。
    Mac terminal下,brew install automake 即可自动安装它及其依赖包,CentOS我就下载了autoconf和automake的源码包进行手动安装,过程不说了,很顺利。但是当看到它俩的版本分别是2.69和1.14时我心里面又咯噔一下,感觉又要出问题……
    果不其然,安装完autoconf和automake后再make又出现其他问题了:

sh ./recompile.sh
Running aclocal...
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
Running automake...
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:31: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.in:31: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.in:51: error: required file './compile' not found
configure.in:51:   'automake --add-missing' can install 'compile'
client/Makefile.am:13: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
common/Makefile.am:13: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
rtclient/Makefile.am:13: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
rtserver/Makefile.am:13: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
server/Makefile.am:13: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
util/Makefile.am:13: warning: 'INCLUDES' is the old name for 'AM_CPPFLAG
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值