-
-
Save aliceinwire/2878517 to your computer and use it in GitHub Desktop.
Compiling Mosh from git (http://mosh.mit.edu/) under Cygwin
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
1. Download Cygwin: http://www.cygwin.com | |
2. Run setup.exe and install the following packages in addition to the default ones: | |
- make | |
- boost | |
- libncurses-devel | |
- pkg-config | |
- perl | |
3. Download and compile Protocol Buffers: http://code.google.com/p/protobuf/ | |
$ tar xvvf protobuf-2.4.1.tar.gz | |
$ cd protobuf-2.4.1 | |
$ ./configure | |
$ make | |
$ make install | |
4. Download and compile Mosh: http://mosh.mit.edu/ | |
$ git clone https://github.com/keithw/mosh | |
$ cd mosh | |
$ /usr/bin/autoreconf -fi | |
$ ./configure CPPFLAGS="-I/usr/include/ncurses" PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ | |
$ make | |
$ make install | |
5. Install the IO::Pty Perl module: | |
$ perl -MCPAN -e shell | |
cpan> install IO::Pty | |
6. Rock’n’roll. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment