在sourceforge.net的aria2的bug提交页面提交bug后,作者很快给出一个patch。
我很高兴的告诉大家,axel,这个多线程http&ftp下载工具在Solaris下编译很顺利。
aria2这个多协议多线程下载工具(除http&ftp外,支持bt,metalink等)在原作者的帮助下也编译成功。
首先,登录到系统
PATH=/usr/sfw/bin:$PATH
export PATH
mkdir -p /develop/source
cd /develop/source
wget -c http://wilmer.gaast.net/downloads/axel-1.0b.tar.gz
gtar zxf axel-1.0b.tar.gz
cd axel-1.0b
./configure -i18n=1
gmake
gmake install
-------axel安装完成---------
cd /develop/source
/usr/local/bin/axel -a -n 10 http://nchc.dl.sourceforge.net/sourceforge/aria2/aria2-1.4.1.tar.bz2
gtar jxf aria2-1.4.1.tar.bz2
cd aria2-1.4.1
./configure
wget -c "http://sourceforge.net/tracker/download.php?group_id=159897&atid=813673&file_id=333345&aid=2816147" -O sol_getopt_eainodata.patch
patch -i sol_getopt_eainodata.patch
gmake
gmake install
-------aria2c安装完成-------
axel小巧实用,aria2c庞大功能也多。
网络空闲时,用axel下载http就能达到线路上限。
axel的-a是传统进度条,-n后的数字表示并发线程(别超过30,否则进度条显示有问题,比较大的数字会导致axel崩溃退出)
[ 本帖最后由 KirovAirShip 于 2009-7-5 18:47 编辑 ]
yuhuohu 回复于:2009-07-05 21:12:17
谢谢,收藏之:mrgreen:
easybegin 回复于:2009-07-05 22:50:40
支持一下
brucewoo 回复于:2009-07-05 23:18:14
不错,学习一下.
nimysun 回复于:2009-07-06 03:11:35
没见过这2个东西,学习了~~
山野村夫 回复于:2009-07-06 09:14:00
很不错,还没用过这个
rmb 回复于:2009-07-06 10:22:58
想知道只是做什么的,学习了。
rmb 回复于:2009-07-06 10:24:53
多线程下载工具啊!
solaris_unix 回复于:2009-07-07 11:58:05
照这个文档做了,axel顺利安装上了,但是aria2在gmake的时候报错,麻烦帮看看是什么原因:
-bash-3.00# gmake
gmake all-recursive
gmake[1]: Entering directory `/btsoft/aria2-1.4.1'
Making all in m4
gmake[2]: Entering directory `/btsoft/aria2-1.4.1/m4'
gmake[3]: Entering directory `/btsoft/aria2-1.4.1'
gmake[3]: Leaving directory `/btsoft/aria2-1.4.1'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/btsoft/aria2-1.4.1/m4'
Making all in po
gmake[2]: Entering directory `/btsoft/aria2-1.4.1/po'
gmake[2]: Leaving directory `/btsoft/aria2-1.4.1/po'
Making all in intl
gmake[2]: Entering directory `/btsoft/aria2-1.4.1/intl'
sed -e '/IN_LIBGLOCALE/d' \
-e 's,@''HAVE_POSIX_PRINTF''@,1,g' \
-e 's,@''HAVE_ASPRINTF''@,0,g' \
-e 's,@''HAVE_SNPRINTF''@,1,g' \
-e 's,@''HAVE_WPRINTF''@,0,g' \
< ./libgnuintl.h.in \
| if test 'no' = yes; then \
sed -e 's/extern \([^()]*\);/extern __declspec (dllimport) \1;/'; \
else \
cat; \
fi \
| sed -e 's/extern \([^"]\)/extern LIBINTL_DLL_EXPORTED \1/' \
-e "/#define _LIBINTL_H/r ./export.h" \
| sed -e 's,@''HAVE_VISIBILITY''@,1,g' \
> libgnuintl.h
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -g -O2 -fvisibility=hidden bindtextdom.c
cc1: error: unrecognized command line option "-fvisibility=hidden"
gmake[2]: *** [bindtextdom.o] Error 1
gmake[2]: Leaving directory `/btsoft/aria2-1.4.1/intl'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/btsoft/aria2-1.4.1'
gmake: *** [all] Error 2
wosl2001 回复于:2009-07-09 15:15:01
我期待迅雷的linux版本
胭脂扣 回复于:2009-07-10 09:43:37
期待。。。。。。。。。。
|