zoukankan      html  css  js  c++  java
  • configure: error: cannot find protoc, the Protocol Buffers compiler

    centos 6 安装mosh 1.2
    2012-05-07 17:21:41
    标签:centos mosh

    关于mosh(引用于)

    芬兰研究员Tatu Ylönen于1995年设计出最早的SSH协议,它迅速成为最流行的远程登录安全协议。17年后,一组MIT的黑客提出了mosh,让SSH走向现代化。mosh是基于新的State Synchronization Protocol(SSP)协议,运行在UDP上,能同步不同主机对象的状态,加密和认证使用AES-128。当客户在WiFi网络中漫游或切换到3G网络,mosh能保持连接不断,在输入和删除命令时它能即时反馈,不会出现恼人的延迟。

    centso 6 mosh安装,提前配置好centos及epel yum仓库。
    ./configure --prefix=/usr/local/mosh
    make
    make install

    安装完后的情况:


    ./mosh --help
    Usage: ./mosh [options] [--] [user@]host [command...]
    --client=PATH mosh client on local machine
    (default: "mosh-client")
    --server=COMMAND mosh server on remote machine
    (default: "mosh-server")

    --predict=adaptive local echo for slower links [default]
    -a --predict=always use local echo even on fast links
    -n --predict=never never use local echo

    -p NUM --port=NUM server-side UDP port

    --ssh=COMMAND ssh command to run when setting up session
    (example: "ssh -p 2222")
    (default: "ssh")

    --help this message
    --version version and copyright information






    中间遇到几个错误,google了下没找到相关记录,在此记录下。

    configure: error: cannot find protoc, the Protocol Buffers compiler
    解决方法:
    yum install -y protobuf-devel



    configure: error: Unable to find libtinfo or libncurses.
    解决方法:
    yum install ncurses-devel


    ./mosh --help
    Can't locate IO/Pty.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./mosh line 24.
    BEGIN failed--compilation aborted at ./mosh line 24.
    解决方法:
    cpan 安装IO::Pty模块


    使用方法:


    ./mosh root@yourip --server=/usr/local/mosh/bin/mosh-server

  • 相关阅读:
    页面静态化3 --- 伪静态技术
    9.14[XJOI] NOIP训练33
    9.13[XJOI] NOIP训练32
    Hello world!
    BZOJ-1853: [Scoi2010]幸运数字 (容斥原理)
    luogu1983[NOIP2013pjT4] 车站分级(拓扑排序)
    luogu1113 杂物 (拓扑排序)
    POJ-1094 Sorting It All Out && luogu1347 排序 (拓扑排序)
    BZOJ-1965: [Ahoi2005]SHUFFLE 洗牌 (快速幂+乘转加)
    BZOJ-2705: [SDOI2012]Longge的问题 (欧拉函数)
  • 原文地址:https://www.cnblogs.com/timssd/p/4402868.html
Copyright © 2011-2022 走看看