Last active
October 18, 2017 10:03
-
-
Save nocd5/39d169d375f5c7988abd92349686230a to your computer and use it in GitHub Desktop.
build mosh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/csh | |
git clone https://github.com/google/protobuf | |
git clone https://github.com/mobile-shell/mosh | |
pushd protobuf | |
./autogen.sh | |
./configure --prefix=$HOME/usr --enable-static --disable-shared --with-pic | |
make -j4 && make install | |
popd | |
pushd mosh | |
setenv protoc $HOME/usr/bin/protoc | |
setenv protobuf_CFLAGS -I$HOME/usr/include | |
setenv protobuf_LIBS "-L$HOME/usr/lib -Wl,-dn,-lprotobuf,-lprotoc,-dy" | |
./autogen.sh | |
./configure --prefix=$HOME/usr | |
make -j4 && make install | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment