首页 / 精华文章 / 在VPS上安装BT软件Transmission
Logo

在VPS上安装BT软件Transmission

BT软件已更新为在VPS上安装BT软件qBittorrent,推荐使用 (Y)

VPS 还能怎玩?! 装Proxy,装VPN,这还不够,我还用来挂种子够狠吧 XD 反正频宽闲也是闲者,不过安装前最好事先问问主机商是否允许,合法的文件大多都是OK的。偶用YUM装了几个软件总觉都怪怪的,毕竟不是该软件最新的版本,再加上CentOS是一套强调安全的系统,当然对P2P这玩意不会太支援,我装过了纯网页接口的Torrentflux,很多人推荐的rTorrent,但是最后还是选择了Transmission (Y)

Transmission是一套Linux底下的BT Client,除了有繁体中文接口、支援UTF-8、接口简洁又漂亮、占用资源少之外也有很多热心人士写方便的外挂加强他的方便性,程式本身支援DHT、PEX,也能加密以及线上更新黑名单功能,可以在桌面运行也可以在console下跑,并且内建了网页管理模组,完全不需要架设服务器,装好Transmission就可以远端控制了! ;)

这边简单滴把安装过程做个纪录,环境是CentOS 5.5的系统,开始自己编译吧! :-#

*********更新历史*********

2009/12/04 – 首次发表
2010/09/22 – 更新版本为1.93
2010/10/17 – 更新版本为2.10(已增加CentOS专用的启动脚本)
2010/11/12 – 更新版本为2.11(好像跑的快一点)
2010/11/22 – 更新版本为2.12(主要应该是修正了偶而程式会突然耍冷当掉,其他更新了什么看这吧→官网维基)
2011/10/20 – 更新版本为2.41

Step.1 首先安装基本套件

如果没有安装rpmforge跟EPEL这2个官方认可的第三方套件库的话就要手动安装perl-XML-Parser唷!所以要记得先安装。

i386 / 32位元

rpm --import http://download.fedora.redhat.com/pub/epel/RPM-GPG-KEY-EPEL-5
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
rpm -ihv http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
rpm -ihv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.i386.rpm

x84_64 / 64位元

rpm --import http://download.fedora.redhat.com/pub/epel/RPM-GPG-KEY-EPEL-5
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
rpm -ihv http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
rpm -ihv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm

然后开始利用YUM做简便安装,指令就下面这串啦 :P

yum -y install gcc gcc-c++ m4 make automake libtool gettext openssl-devel pkgconfig perl-libwww-perl perl-XML-Parser curl curl-devel libevent-devel libevent libidn-devel zlib-devel which

Step.2 下载Transmission以及必备套件然后开始安装

cd /usr/src
wget http://ftp.gnome.org/pub/gnome/sources/intltool/0.40/intltool-0.40.6.tar.gz
wget http://ftp.gnu.org/gnu/libiconv/libiconv-1.14.tar.gz
wget http://download.transmissionbt.com/files/transmission-2.41.tar.bz2

这边开始要按照顺序安装唷!

tar zxf libiconv-*.tar.gz
cd libiconv-*
./configure --prefix=/usr/local/libiconv
make && make install
cd ..

tar zxf intltool-*.tar.gz
cd intltool-*
./configure --prefix=/usr
make -s
make -s install
cd ..

tar xjf transmission-*.tar.bz2
cd transmission-*
/sbin/ldconfig
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
./configure --prefix=/usr --enable-lightweight
make -s
make -s install
cd ..

Step.3 再来新增Transmission启动脚本要用到的使用者,***密码部分要输入两次!***

useradd transmission
passwd transmission

Step.4 建立 Transmission 的设定档目录以及下载目录

mkdir -p /usr/local/transmission/
mkdir -p /web/www/transmission/incomplete/
chown -R www:www /web/www/transmission/
chmod 777 /web/www/transmission/

Step.5 启动Transmission产生Transmission的设定档 ***此步骤要执行2次***

/usr/bin/transmission-daemon -g /usr/local/transmission
killall transmission-daemon

Step.6 编辑Transmission设定档,这边我有把远控的port改成5566。

cp /usr/local/transmission/settings.json /usr/local/transmission/settings.json.bak
vi /usr/local/transmission/settings.json

比较重要的设定如下:

"download-dir": "/web/www/transmission",, // 下载完成储存的位置
"incomplete-dir": "/web/www/transmission/incomplete",, // 尚未下载完成储存的位置
"blocklist-enabled": true, // 启用黑名单
"dht-enabled": true, // 启用DHT支援
"encryption": 1, // 传输加密
"open-file-limit": 64, // 最大开启档案数量
"peer-limit-global": 240, // 最大连接数
"peer-limit-per-torrent": 60, // 单一任务连接数
"peer-port": 59999, // Transmission连接使用的port
"ratio-limit": 2.0000, // 上下传比例达到多少停止做种
"ratio-limit-enabled": false, // 启用上下传比例
"rpc-enabled": true, // 启用网页管理模组
"rpc-bind-address": "0.0.0.0", // 指定IP位置
"rpc-port": 5566, // 指定网页管理模组的port
"rpc-authentication-required": true, // 启用使用者认证方式
"rpc-username": "lulala", // 登入的使用者名称
"rpc-password": "balala", // 登入的使用者密码
"rpc-whitelist-enabled": false, // 启用IP认证模式,这个模式是认IP的唷! 有安全需要再启动
"rpc-whitelist": "127.0.0.1,其他可以连的IP", // 指定认可的IP位置,以,区隔
"speed-limit-down": 100, // 限制下载速度,以KB/Sec计算
"speed-limit-down-enabled": false, // 启用限制下载速度
"speed-limit-up": 100, // 限制上传速度,以KB/Sec计算
"speed-limit-up-enabled": false, // 启用限制上传速度
"upload-slots-per-torrent": 30 // 每个Torrent的上传连接数量,台湾跛脚的网络请设10

如果是用在动物机上开启档案数量和连接数就不可以调太高,免得负载太高而罢工,除了以上的设定值之外其他参数也可以参考官网的维基都有说明

Step.7 最后在编辑一下iptables规则,加入Transmission使用的port

/etc/init.d/iptables stop
iptables -A INPUT -p tcp --dport 5566 -j ACCEPT
iptables -A INPUT -p tcp --dport 59999:61000 -j ACCEPT
/etc/init.d/iptables save
/etc/init.d/iptables restart

Step.8 全部搞定了,然后新增一个Transmission启动脚本,内容如下

vi /etc/init.d/transmission

然后给权限,启动之后打开浏览器输入http://IP或域名:5566/就能远控Transmission了。 (H)

chmod +x /etc/init.d/transmission
chkconfig --level 345 transmission on
chown -R transmission:transmission /usr/local/transmission/
service transmission start

测试完毕,打包收工啦! (F)

cd /usr/src
rm -rf libiconv-*
rm -rf intltool-*
rm -rf transmission-*

————–

下载Transmission启动脚本范本档
搭配FlexGet来实现读取RSS自动下载功能

Transmission除了网页接口之外还有非常好用的远控软件,我现在就是在用transmission-remote-dotnet(需要加装 Microsoft .NET Framework 2.0)来搭配使用,transmission-remote-dotnet这套虽然只有支援Win系列的OS,但是有支援UTF-8,就算是简体中文的档名也能正确的显示,而且挂10几个种子也只吃20多MB内存。 :)

transmission-remote-dotnet

另外transmisson-remote-gui这套提供了Mac OS、Windows、Linux-i386 binary、Source code,不过这套没有中文接口,不支援UTF-8,我使用时中文都会变乱码。 +o(

其他的Transmission使用教学

图解 Transmission 入门
Transmission安装方法
推荐好用的多平台BT工具

脸书回应

篇回应

关于 穷苦人家的小孩

In every democracy, the people get the government they deserve. ~Alexis de Tocqueville
上一篇:
下一篇:

您可能会喜欢

实战Shadowsocks,上网就该如此简单!

Surfing, itR …

49 回应

  1. 问一下 如果要让TRANSMISSION 开机执行要下啥指令呢

  2. 最近TRANSMISSION升到1.91了

    不过我那时是用TRABALL方式自己COMPILE的

    要升级是要怎么升@@

  3. 就先停止Transmission,然后抓新的下来在1次囉 (H)


    779:

    最近TRANSMISSION升到1.91了

    不过我那时是用TRABALL方式自己COMPILE的

    要升级是要怎么升@@

  4. 补充一下 2.01开始
    libevent 也要自己编进去
    他不接受CENTOS内建的东西
    至少要1.4.9板以上

  5. 不过就算是那个鞭进去 还是会有error 我抓不到问题 冏
    用回1.93

  6. 今天无聊鞭了一下还真奇怪,最新的transmission-2.04.tar.bz2打死都鞭不起来,看Changes也不太了解更新了啥,干脆跟你一样用1.93反而顺顺的鞭到好~ 真奇怪 :pu

  7. 我跟你说
    那是因为 llibvent
    我们之前用的1.93他有把那东西当成3rd party收进去
    可是2.0开始就没收了
    所以就会出问题

  8. 懒的鸟他 = = 顺顺跑就好了 (6)


    779:

    我跟你说
    那是因为 llibvent
    我们之前用的1.93他有把那东西当成3rd party收进去
    可是2.0开始就没收了
    所以就会出问题

  9. 1.93在 吞吐量大时很容易喷掉….
    来想办法弄成2.04好了 = =

  10. 你的吞吐量是多大啊? 我的还没碰过什么问题说 @@


    779:

    1.93在 吞吐量大时很容易喷掉….
    来想办法弄成2.04好了 = =

  11. 瞬间吞吐量是网络的极限 +
    那种健康度破W的XD
    很容易死掉

    PS 我刚刚鞭2.10b1完全没问题 直接鞭了过去@@

  12. 除了PT,说实在话的我不太喜欢搞BT,种子不完种,档案东缺西缺的很讨厌 =.= 总之健康度破万的还没碰过 XD 可以MSN传过来看看是啥货色吗? ;)


    779:

    瞬间吞吐量是网络的极限 +
    那种健康度破W的XD
    很容易死掉

    PS 我刚刚鞭2.10b1完全没问题 直接鞭了过去@@

  13. 刚刚无聊google到有一篇装2.04的,方法简单好多,不过我还没试过,似乎好像是装在BurstNET的VPS上,50GB空间/1TB流量应该算还满划算的! 不过玩PT的话没两下就暴了 :-#

    Tutorial: Start Your Own Headless Torrent Seedbox Server For Less Than $9 Per Month!

  14. 恩 你知道 就是会哼哼哈哈的那个XD
    PS 有一堆下载的IP都是小日本…哈

  15. 2.10 也鞭进去了
    那看样子就是按你的做
    先装1.93再往上鞭到2.x版

    PS 我现在在CN 网络管制真是太无言了 冏

  16. 用VPN或是SSH翻墙囉! 这还要教吗 GY btw 2.10我也装起来了,不过没啥特别感觉 :er


    779:

    2.10 也鞭进去了
    那看样子就是按你的做
    先装1.93再往上鞭到2.x版

    PS 我现在在CN 网络管制真是太无言了 冏

  17. 有些PT只接受到2.04
    鞭太快也不行

  18. 这这这…叫PT站升级 =.= 不过我小盒子在CHDbits跟HDC都OK (F)


    samwu995:

    有些PT只接受到2.04
    鞭太快也不行

  19. 那些PT上面有什么好康资源吗???
    怎么大家都在拼PT?

  20. 音乐方面就无损的吧! 这对我很重要 (*) 影片部分大多都是720P的,电影/热门影集大多都有1080P,但卡通不多 @@ 偶而拉拉日剧看高画质也满开心的 :D


    779:

    那些PT上面有什么好康资源吗???
    怎么大家都在拼PT?

  21. 版大救命阿!!
    输入完# service transmission start
    就出现!!!

    # service transmission start
    /etc/init.d/transmission: line 1: kconfig:: command not found
    /etc/init.d/transmission: line 2: 4.#: command not found
    /etc/init.d/transmission: line 3: 5.#: command not found
    /etc/init.d/transmission: line 4: 6.#: command not found
    /etc/init.d/transmission: line 5: 7.#: command not found
    /etc/init.d/transmission: line 6: 8.: command not found
    /etc/init.d/transmission: line 7: 9.#: command not found
    /etc/init.d/transmission: line 8: 10..: command not found
    /etc/init.d/transmission: line 9: 11.: command not found
    /etc/init.d/transmission: line 10: 12.#: command not found
    /etc/init.d/transmission: line 11: 13..: command not found
    /etc/init.d/transmission: line 12: 14.: command not found
    /etc/init.d/transmission: line 13: 15.[: command not found
    /etc/init.d/transmission: line 14: 16.: command not found
    /etc/init.d/transmission: line 15: 17.#: command not found
    /etc/init.d/transmission: line 16: 18.TRANSMISSION_HOME=/usr/bin/transmission-daemon: No such file or directory
    /etc/init.d/transmission: line 17: 19.: command not found
    /etc/init.d/transmission: line 18: 20.DAEMON_USER=transmission: command not found
    /etc/init.d/transmission: line 19: 21.DAEMON_ARGS=-g /usr/local/transmission: No such file or directory
    /etc/init.d/transmission: line 20: 22.: command not found
    /etc/init.d/transmission: line 21: 23.#: command not found
    /etc/init.d/transmission: line 22: 24.NAME=transmission-daemon: command not found
    /etc/init.d/transmission: line 23: 25.: command not found
    Usage: which [options] [--] programname [...]
    Options: --version, -[vV] Print version and exit successfully.
    --help, Print this help and exit successfully.
    --skip-dot Skip directories in PATH that start with a dot.
    --skip-tilde Skip directories in PATH that start with a tilde.
    --show-dot Don't expand a dot to current directory in output.
    --show-tilde Output a tilde for HOME directory for non-root.
    --tty-only Stop processing options on the right if not on tty.
    --all, -a Print all matches in PATH, not just the first
    --read-alias, -i Read list of aliases from stdin.
    --skip-alias Ignore option --read-alias; don't read stdin.
    --read-functions Read shell functions from stdin.
    --skip-functions Ignore option --read-functions; don't read stdin.
    /etc/init.d/transmission: line 24: 26.DAEMON=: command not found
    /etc/init.d/transmission: line 25: 27.DAEMON_PIDFILE=/var/run/.pid: No such file or directory
    /etc/init.d/transmission: line 26: 28.DAEMON_LOCKFILE=/var/lock/subsys/: No such file or directory
    /etc/init.d/transmission: line 27: 29.DAEMON_SCRIPTNAME=/etc/init.d/: No such file or directory
    /etc/init.d/transmission: line 28: 30.DAEMON_LOGFILE=/var/log/.log: No such file or directory
    /etc/init.d/transmission: line 29: 31.: command not found
    /etc/init.d/transmission: line 30: 32.[: command not found

    一连串

  22. 错误讯息已经告诉你安装transmission没成功 8-) 而且看起来你启动脚本没复制完整,下载脚本回去放在机器上吧! 并且提醒你这篇只适用CentOS的系统喔~!

  23. 谢谢版大~
    已完成安装~~不过我用来跑pt上传很慢耶!!!
    还有些torrent都静如止水~~(用utorrent很多上传和seed)
    这是什么原因?

  24. :-# 不会动的种子,只能告诉你检查看看档案/目录权限设定看看。

    速度方面的问题我也没办法帮你什么,不知道你的慢是有多慢呢? VPS是哪家的你也没说,我也不太知道你的问题在哪。这边简单提供你一个数据昨天我抓2个CHD的种子,2天的上传量有78GB,昨天均速8.47 Mbit/s、今天为止6.69 Mbit/s,自己看图吧。


    AOK:

    谢谢版大~
    已完成安装~~不过我用来跑pt上传很慢耶!!!
    还有些torrent都静如止水~~(用utorrent很多上传和seed)
    这是什么原因?

  25. 你少写一个东西 会造成无法下载
    chown -R transmission:transmission /web/www/transmission/
    少了这 因为权限的不同
    变成指定存在地却没有权限可以存

  26. 我只用777就好了 0.0 因为我想用网页直接去管理就好,反正nginx默认列表是列不出来的,群组给transmission当老大或是用777都是可以的啦! 青菜萝卜各有喜好 (A)


    779:

    你少写一个东西 会造成无法下载
    chown -R transmission:transmission /web/www/transmission/
    少了这 因为权限的不同
    变成指定存在地却没有权限可以存

  27. = = 可是我用777就是写不进去啊
    PS.忧ちゃん的照片 = =

  28. 你被诅咒了 0.0 给了777怎可能会不能读写 :er :er :er


    779:

    = = 可是我用777就是写不进去啊
    PS.忧ちゃん的照片 = =

  29. 老大,makeinstall transmission的时候出现以下错误这怎么解决啊
    ./libtransmission.a(utils.o): In function to_utf8':
    /tmp/transmission-2.12/libtransmission/utils.c:1263: undefined reference to
    libiconv_open’
    /tmp/transmission-2.12/libtransmission/utils.c:1265: undefined reference to libiconv'
    /tmp/transmission-2.12/libtransmission/utils.c:1267: undefined reference to
    libiconv_close’
    collect2: ld returned 1 exit status
    make[1]: *** [blocklist-test] Error 1
    make: *** [install-recursive] Error 1

  30. 你少装iconv,安装一下再重新鞭就可以了。 (Y)

    wget http://ftp.gnu.org/gnu/libiconv/libiconv-1.13.1.tar.gz
    tar zxf libiconv-1.13.1.tar.gz
    cd libiconv-1.13.1
    ./configure --prefix=/usr/local/libiconv
    make && make install
    cd ..
    rm -fr libiconv-*
    echo "/usr/local/lib" >> /etc/ld.so.conf
    /sbin/ldconfig


    tmp:

    老大,makeinstall transmission的时候出现以下错误这怎么解决啊
    ./libtransmission.a(utils.o): In function to_utf8':
    /tmp/transmission-2.12/libtransmission/utils.c:1263: undefined reference to
    libiconv_open’
    /tmp/transmission-2.12/libtransmission/utils.c:1265: undefined reference to libiconv'
    /tmp/transmission-2.12/libtransmission/utils.c:1267: undefined reference to
    libiconv_close’
    collect2: ld returned 1 exit status
    make[1]: *** [blocklist-test] Error 1
    make: *** [install-recursive] Error 1

  31. # find -name libiconv
    ./usr/local/share/doc/libiconv
    ./usr/local/libiconv
    ./usr/local/libiconv/share/doc/libiconv
    我有这个,是不是说明已经安装过了啊


    穷苦人家的小孩:

    你少装iconv,安装一下再重新鞭就可以了。
    wget http://ftp.gnu.org/gnu/libiconv/libiconv-1.13.1.tar.gz
    tar zxf libiconv-1.13.1.tar.gz
    cd libiconv-1.13.1
    ./configure --prefix=/usr/local/libiconv
    make && make install
    cd ..
    rm -fr libiconv-*
    echo "/usr/local/lib" >> /etc/ld.so.conf
    /sbin/ldconfig


    tmp:

    老大,makeinstall transmission的时候出现以下错误这怎么解决啊
    ./libtransmission.a(utils.o): In function to_utf8':
    /tmp/transmission-2.12/libtransmission/utils.c:1263: undefined reference to
    libiconv_open’
    /tmp/transmission-2.12/libtransmission/utils.c:1265: undefined reference to libiconv'
    /tmp/transmission-2.12/libtransmission/utils.c:1267: undefined reference to
    libiconv_close’
    collect2: ld returned 1 exit status
    make[1]: *** [blocklist-test] Error 1
    make: *** [install-recursive] Error 1

  32. 安装过libiconv也是出现此错误不知道什么原因了。。。

  33. 有重新configure再鞭译吗?

    echo "/usr/local/lib" >> /etc/ld.so.conf
    /sbin/ldconfig

    这个也很重要喔! ({)


    tmp:

    安装过libiconv也是出现此错误不知道什么原因了。。。

  34. iconv是重新编译的,按照你写的。


    穷苦人家的小孩:

    有重新configure再鞭译吗?
    echo “/usr/local/lib” >> /etc/ld.so.conf/sbin/ldconfig
    这个也很重要喔!

    tmp:
    安装过libiconv也是出现此错误不知道什么原因了。。。

  35. 我的意思是说Transmission有重新configure在make吗

  36. [root@vps ~]# chkconfig –level 345 transmission on
    service transmission does not support chkconfig
    what caused that?

    and

    [root@vps ~]# chown -R www:www /web/www/transmission/
    chown: `www:www’: invalid user

    thx!

  37. 启动脚本范本抓回去试试。

    第二个讯息是告诉你没有该www使用者,如果你跟我一样想用www控制的话就自己建囉~ 或是替换成

    chown -R transmission:transmission /web/www/transmission/

    Linux的档案权限限制比较安全,这点是比较麻烦一点。


    finler:

    [root@vps ~]# chkconfig –level 345 transmission on
    service transmission does not support chkconfig
    what caused that?

    and

    [root@vps ~]# chown -R www:www /web/www/transmission/
    chown: `www:www’: invalid user

    thx!

  38. 上周五买了那个1个月free的promotion,最后也是要£1.00GBP,约48NTD GY GY .

    但是最不爽的是等等等…等不到服务开通,ticket也不回
    听说是Service delivery 要 24-72 business hours,我哩咧.
    上次买也没那么久,难道便宜没好货? :kao :kao

    算了,看在纯粹刷上传量的份上,忍耐一点

  39. [root@tuxin libiconv-1.13.1]# cd ..

    [root@tuxin src]# rm -fr libiconv-*

    [root@tuxin src]# echo “/usr/local/ lib” >> /etc/ld.so.conf

    [root@tuxin src]# sbin/ldconfig

    -bash: sbin/ldconfig: No such file or directory

    [root@tuxin src]# /sbin/ldconfig

    [root@tuxin src]# tar xjf transmission-*.tar.bz2

    [root@tuxin src]# cd transmission-*

    [root@tuxin transmission-2.33]# ./configure –prefix=/usr

    checking for a BSD-compatible install… /usr/bin/install -c

    checking whether build environment is sane… yes

    checking for a thread-safe mkdir -p… /bin/mkdir -p

    checking for gawk… gawk

    checking whether make sets $(MAKE)… yes

    checking how to create a pax tar archive… gnutar

    checking build system type… x86_64-unknown-linux-gnu

    checking host system type… x86_64-unknown-linux-gnu

    checking for style of include used by make… GNU

    checking for gcc… gcc

    checking whether the C compiler works… yes

    checking for C compiler default output file name… a.out

    checking for suffix of executables…

    checking whether we are cross compiling… no

    checking for suffix of object files… o

    checking whether we are using the GNU C compiler… yes

    checking whether gcc accepts -g… yes

    checking for gcc option to accept ISO C89… none needed

    checking dependency style of gcc… gcc3

    checking for a sed that does not truncate output… /bin/sed

    checking for grep that handles long lines and -e… /bin/grep

    checking for egrep… /bin/grep -E

    checking for fgrep… /bin/grep -F

    checking for ld used by gcc… /usr/bin/ld

    checking if the linker (/usr/bin/ld) is GNU ld… yes

    checking for BSD- or MS-compatible name lister (nm)… /usr/bin/nm -B

    checking the name lister (/usr/bin/nm -B) interface… BSD nm

    checking whether ln -s works… yes

    checking the maximum length of command line arguments… 98304

    checking whether the shell understands some XSI constructs… yes

    checking whether the shell understands “+=”… yes

    checking for /usr/bin/ld option to reload object files… -r

    checking for objdump… objdump

    checking how to recognize dependent libraries… pass_all

    checking for ar… ar

    checking for strip… strip

    checking for ranlib… ranlib

    checking command to parse /usr/bin/nm -B output from gcc object… ok

    checking how to run the C preprocessor… gcc -E

    checking for ANSI C header files… yes

    checking for sys/types.h… yes

    checking for sys/stat.h… yes

    checking for stdlib.h… yes

    checking for string.h… yes

    checking for memory.h… yes

    checking for strings.h… yes

    checking for inttypes.h… yes

    checking for stdint.h… yes

    checking for unistd.h… yes

    checking for dlfcn.h… yes

    checking for objdir… .libs

    checking if gcc supports -fno-rtti -fno-exceptions… no

    checking for gcc option to produce PIC… -fPIC -DPIC

    checking if gcc PIC flag -fPIC -DPIC works… yes

    checking if gcc static flag -static works… yes

    checking if gcc supports -c -o file.o… yes

    checking if gcc supports -c -o file.o… (cached) yes

    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries… yes

    checking whether -lc should be explicitly linked in… no

    checking dynamic linker characteristics… GNU/Linux ld.so

    checking how to hardcode library paths into programs… immediate

    checking whether stripping libraries is possible… yes

    checking if libtool supports shared libraries… yes

    checking whether to build shared libraries… yes

    checking whether to build static libraries… yes

    checking for gcc… (cached) gcc

    checking whether we are using the GNU C compiler… (cached) yes

    checking whether gcc accepts -g… (cached) yes

    checking for gcc option to accept ISO C89… (cached) none needed

    checking dependency style of gcc… (cached) gcc3

    checking for g++… g++

    checking whether we are using the GNU C++ compiler… yes

    checking whether g++ accepts -g… yes

    checking dependency style of g++… gcc3

    checking whether we are using the GNU C++ compiler… (cached) yes

    checking whether g++ accepts -g… (cached) yes

    checking dependency style of g++… (cached) gcc3

    checking how to run the C++ preprocessor… g++ -E

    checking for ld used by g++… /usr/bin/ld -m elf_x86_64

    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld… yes

    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries… yes

    checking for g++ option to produce PIC… -fPIC -DPIC

    checking if g++ PIC flag -fPIC -DPIC works… yes

    checking if g++ static flag -static works… yes

    checking if g++ supports -c -o file.o… yes

    checking if g++ supports -c -o file.o… (cached) yes

    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries… yes

    checking dynamic linker characteristics… GNU/Linux ld.so

    checking how to hardcode library paths into programs… immediate

    checking for inline… inline

    checking gcc version… 4.1.2

    checking for ANSI C header files… (cached) yes

    checking whether time.h and sys/time.h may both be included… yes

    checking stdbool.h usability… yes

    checking stdbool.h presence… yes

    checking for stdbool.h… yes

    checking for iconv_open… yes

    checking for pread… yes

    checking for pwrite… yes

    checking for lrintf… no

    checking for strlcpy… no

    checking for daemon… yes

    checking for dirname… yes

    checking for basename… yes

    checking for strcasecmp… yes

    checking for localtime_r… yes

    checking for fallocate64… no

    checking for posix_fallocate… yes

    checking for memmem… yes

    checking for strsep… yes

    checking for strtold… yes

    checking for syslog… yes

    checking for valloc… yes

    checking for getpagesize… yes

    checking for posix_memalign… yes

    checking for statvfs… yes

    checking for htonll… no

    checking for ntohll… no

    checking whether make sets $(MAKE)… (cached) yes

    checking for the pthreads library -lpthreads… no

    checking whether pthreads work without any flags… no

    checking whether pthreads work with -Kthread… no

    checking whether pthreads work with -kthread… no

    checking for the pthreads library -llthread… no

    checking whether pthreads work with -pthread… yes

    checking for joinable pthread attribute… PTHREAD_CREATE_JOINABLE

    checking if more special flags are required for pthreads… no

    checking for library containing cos… -lm

    checking for library containing socket… none required

    checking for library containing gethostbyname… none required

    checking for pkg-config… /usr/bin/pkg-config

    checking pkg-config is at least version 0.9.0… yes

    checking for OPENSSL… yes

    checking for LIBCURL… yes

    checking for LIBEVENT… configure: error: Package requirements (libevent >= 2.0.10) were not met:

    No package ‘libevent’ found

    Consider adjusting the PKG_CONFIG_PATH environment variable if you

    installed software in a non-standard prefix.

    Alternatively, you may set the environment variables LIBEVENT_CFLAGS

    and LIBEVENT_LIBS to avoid the need to call pkg-config.

    See the pkg-config man page for more details.

    [root@tuxin transmission-2.33]#

    [root@tuxin transmission-2.33]# make -s

    make: *** No targets specified and no makefile found. Stop.

    [root@tuxin transmission-2.33]#

    这个怎么弄啊 到这里卡住了 请教

  40. hecking for LIBEVENT… configure: error: Package requirements (libevent >= 2.0.10) were not met:

    No package ‘libevent’ found

    装个libevent吧 :er

  41. :kao 也是久违的更新 XD
    最近火力全开喔XD GY :D

  42. 噗~~ 我要哭了 :kao
    checking for LIBEVENT… configure: error: Package requirements (libevent >= 2.0.10) were not met:

    No package ‘libevent’ found

    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.

    Alternatively, you may set the environment variables LIBEVENT_CFLAGS
    and LIBEVENT_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.

  43. 呆呆,libevent那摸好用的东西当然要装啊~ FUCK 下面这PART夹去配 (F)

    cd /usr/src
    wget http://sourceforge.net/projects/levent/files/libevent/libevent-2.0/libevent-2.0.15-stable.tar.gz
    tar zxf libevent-*-stable.tar.gz
    cd libevent-*-stable
    ./configure
    make && make install
    cd ..
    /sbin/ldconfig
    export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
    rm -rf libevent-*

    :kao 也是久违的更新 XD
    最近火力全开喔XD GY :D

    噗~~ 我要哭了 :kao
    checking for LIBEVENT… configure: error: Package requirements (libevent >= 2.0.10) were not met:

    No package ‘libevent’ found

  44. :kao 我又不像你是哀踢业的XD
    有得用就好了 :D

  45. collect2: ld returned 1 exit status
    make[1]: *** [blocklist-test] Error 1
    make[1]: Leaving directory `/tmp/transmission-2.42/libtransmission’
    make: *** [all-recursive] Error 1
    [root@houtai transmission-2.42]#

    在make以后出现这样的错误,怎么办

  46. [root@ns1 transmission-2.42]# make -s
    make: *** No targets specified and no makefile found. Stop.
    [root@ns1 transmission-2.42]# tar xjf transmission-*.tar.bz2
    tar: transmission-*.tar.bz2: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    [root@ns1 transmission-2.42]# make -s
    make: *** No targets specified and no makefile found. Stop.
    [root@ns1 transmission-2.42]# make -s install
    make: *** No rule to make target `install’. Stop.
    [root@ns1 transmission-2.42]#

发表回响

你的电子邮件位址并不会被公开。 必要字段标记为 *

(A)  :@  (brb)  (U)  (:cc)  :S  (H)  :-(  :cute  (6)  :-#  :$  :er  8-)  FUCK 
(})  ({)  GY  (L)  :kao  (K)  :cc  :pu  (F)  :(  ^o)  :-*  :O  +o(  |-) 
:)  (*)  :D  *-)  (N)  (Y)  :P  :|  (W)  ;)  XD 
 

这个网站采用 Akismet 服务减少垃圾留言。进一步了解 Akismet 如何处理网站访客的留言资料