24 Comments

  1. 看到你回复。顺便来说一下,在CentOS 5.5 64bit 环境下安装会报错。

    安装脚本:

    下载套件
    cd /usr/src
    wget http://ftp.gnome.org/pub/gnome/sources/intltool/0.40/intltool-0.40.6.tar.gz
    wget http://download.m0k.org/transmission/files/transmission-2.12.tar.bz2

    按照顺序安装:
    tar zxf intltool-*.tar.gz
    cd intltool-*
    ./configure –prefix=/usr
    make -s
    make -s install
    cd ..
    rm -rf intltool-*

    tar xjf transmission-*.tar.bz2
    cd transmission-*
    ./configure –prefix=/usr
    make -s
    make -s install
    cd ..
    rm -rf transmission-*

    假如报错的话

    /root/transmission-2.12/libtransmission/utils.c:1263: undefined reference to `libiconv_open’
    /root/transmission-2.12/libtransmission/utils.c:1265: undefined reference to `libiconv’
    /root/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[1]: Leaving directory `/root/transmission-2.12/libtransmission’
    make: *** [all-recursive] error 1

    则需要将上面的
    ./configure –prefix=/usr
    修改为
    ./configure –prefix=/usr CFLAGS=-liconv

    应该会成功。

  2. CentOS 错误讯息

    遇到这错误讯息
    100%[==========================================================================================================>] 1,610 –.-K/s in 0s

    2011-01-19 20:47:49 (192 MB/s) – `/etc/init.d/transmissiond’ saved [1610/1610]

    which: no transmission-daemon in (/sbin:/usr/sbin:/bin:/usr/bin)
    which: no transmission-daemon in (/sbin:/usr/sbin:/bin:/usr/bin)
    ./transmission_centos.sh: line 53: cd: /home/transmission/.config/transmission/: No such file or directory
    sed: can’t read settings.json: No such file or directory
    sed: can’t read settings.json: No such file or directory
    sed: can’t read settings.json: No such file or directory
    sed: can’t read settings.json: No such file or directory
    which: no transmission-daemon in (/sbin:/usr/sbin:/bin:/usr/bin)

    我的CentOS是32bit的
    [[email protected] ~]# uname -a
    Linux linux 2.6.18-194.26.1.el5.028stab079.2.pony3 #1 SMP Mon Dec 20 21:41:02 PST 2010 i686 i686 i386 GNU/Linux

  3. CentOS 错误讯息 2

    输入需要的用户名和密码时打错怎么backspace键跟delete键都不能往前删字元
    反而往后增加字元

  4. 遇到这个错误:

    正在保存至: “/etc/init.d/transmissiond”

    100%[======================================>] 1,610 –.-K/s in 0s

    2012-01-11 23:17:49 (29.5 MB/s) – 已保存 “/etc/init.d/transmissiond” [1610/1610])

    which: no transmission-daemon in (/sbin:/usr/sbin:/bin:/usr/bin)
    which: no transmission-daemon in (/sbin:/usr/sbin:/bin:/usr/bin)
    ./transmission_centos.sh: line 53: cd: /home/transmission/.config/transmission/: 没有那个文件或目录
    sed:无法读取 settings.json:没有那个文件或目录
    sed:无法读取 settings.json:没有那个文件或目录
    sed:无法读取 settings.json:没有那个文件或目录
    sed:无法读取 settings.json:没有那个文件或目录
    which: no transmission-daemon in (/sbin:/usr/sbin:/bin:/usr/bin)

Leave a Reply to drivel Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.