Skip to content

Instantly share code, notes, and snippets.

@tnmt
Forked from eerohele/mosh-cygwin.md
Created April 17, 2012 02:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tnmt/2402943 to your computer and use it in GitHub Desktop.
Save tnmt/2402943 to your computer and use it in GitHub Desktop.
Compiling Mosh (http://mosh.mit.edu/) under Cygwin
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/
$ tar zxvf mosh-1.1.3.tar.gz
$ cd mosh-1.1.3
$ ./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