私はssh接続の終了に問題があり、emrマスターにmoshをインストールする方が良いかもしれないと考えていました. ブートストラップの一部として機能する次のスクリプトを作成しましたが、実行するといくつか問題が発生します。
#!/bin/bash
#
# Make sure we've got git, autoconf, automake, protobuf-compilers
#
sudo yum install -y \
git \
autoconf-2.69-11.9.amzn1.noarch \
automake-1.13.4-3.15.amzn1.noarch \
protobuf-compiler-2.5.0-1.8.amzn1.x86_64 \
protobuf-2.5.0-1.8.amzn1.x86_64
#
# Pull the latest code from github
#
cd /home/hadoop
git clone https://github.com/keithw/mosh
#
# Build and install
#
cd mosh
./autogen.sh && ./configure && make && sudo make install
現在、これは構成ステップで次のようにフォールオーバーします。
checking for protobuf... no
configure: error: Package requirements (protobuf) were not met:
No package 'protobuf' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
私は設定を試みPREFIX=/usr
、PKG_CONFIG_PATH=${PREFIX}/lib64/pkgconfig
次に ./configure を実行してみましたが、それ--prefix=$PREFIX
は役に立ちませんでした.32ビットパッケージをインストールしようとしましたが、これも役に立ちませんでした. sudo yum install -y mosh
のソースがあれば、これはすべて簡単になりますが、yum whatprovides mosh
空に戻ります。
どんなポインタでも大歓迎です!