NOTE: You don't need to compile Mosh on Cygwin yourself anymore; just install the package with Cygwin's setup.exe
.
-
Download Cygwin.
-
Run
setup.exe
and install the following packages in addition to the default ones:- make
- boost
- libncurses-devel
- pkg-config
- perl
-
Download and compile Protocol Buffers (make sure there are no spaces in the working directory when compiling Protocol Buffers,
make
will fail if there are):$ tar zxvf protobuf-2.4.1.tar.gz $ cd protobuf-2.4.1 $ ./configure $ make $ make install
-
Download and compile Mosh:
$ 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
-
Install the
IO::Pty
Perl module:$ perl -MCPAN -e shell cpan> install IO::Pty
-
Rock’n’roll.
Note to future visitors: you don't need to compile Mosh on Cygwin yourself any more; just install the package with Cygwin's
setup.exe
.