Tsunami UDP是一款基于UDP协议的快速传输工具,相比SCP有着更高的传输效率。最近在做传输方案时看到了它,使用它时却遇到了许多问题导致无法安装。经过一番苦战,终于将之修改并安装成功。接下来就将问题和解决方法罗列出来,共大家参考。
当看到说明和最后一次更新日期后,心就咯噔一下,最后一次更新居然在2010年!但心里面也存着一丝侥幸,或许是版本已经非常稳定了,不需要再更新了。
下载 http://sourceforge.net/projects/tsunami-udp/files/ ----OK!
解压 ----ok!
./configure ----嗯,没问题。
make ----我@¥#*&*! 蹦错了!
呵呵呵……用的是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又出现其他问题了:
当看到说明和最后一次更新日期后,心就咯噔一下,最后一次更新居然在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