免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 7810 | 回复: 10

aria2和axel都能够在Solaris下编译成功了! [复制链接]

论坛徽章:
0
发表于 2009-07-05 18:44 |显示全部楼层
在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 [url]http://wilmer.gaast.net/downloads/axel-1.0b.tar.gz[/url]
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 [url]http://nchc.dl.sourceforge.net/sourceforge/aria2/aria2-1.4.1.tar.bz2[/url]
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崩溃退出)

[[i] 本帖最后由 KirovAirShip 于 2009-7-5 18:47 编辑 [/i]]

论坛徽章:
0
发表于 2009-07-05 21:12 |显示全部楼层
谢谢,收藏之

论坛徽章:
0
发表于 2009-07-05 22:50 |显示全部楼层
支持一下

论坛徽章:
0
发表于 2009-07-05 23:18 |显示全部楼层
不错,学习一下.

论坛徽章:
7
荣誉会员
日期:2011-11-23 16:44:17水瓶座
日期:2013-08-28 21:20:16丑牛
日期:2013-10-02 21:01:462015年迎新春徽章
日期:2015-03-04 09:54:45操作系统版块每日发帖之星
日期:2016-06-05 06:20:0015-16赛季CBA联赛之吉林
日期:2016-06-20 08:24:0515-16赛季CBA联赛之四川
日期:2016-08-18 15:02:02
发表于 2009-07-06 03:11 |显示全部楼层
没见过这2个东西,学习了~~

论坛徽章:
2
丑牛
日期:2014-06-11 13:55:04ChinaUnix元老
日期:2015-02-06 15:16:14
发表于 2009-07-06 09:14 |显示全部楼层
很不错,还没用过这个

论坛徽章:
0
发表于 2009-07-06 10:22 |显示全部楼层
想知道只是做什么的,学习了。

论坛徽章:
0
发表于 2009-07-06 10:24 |显示全部楼层
多线程下载工具啊!

论坛徽章:
0
发表于 2009-07-07 11:58 |显示全部楼层
照这个文档做了,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

论坛徽章:
0
发表于 2009-07-09 15:15 |显示全部楼层
我期待迅雷的linux版本
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP