[mosh-devel] Mosh 1.2.6 release candidate available for testing

Peter Jeremy peter at rulingia.com
Tue May 31 17:36:29 EDT 2016


On 2016-May-31 11:27:33 -0700, Keith Winstein <keithw at mit.edu> wrote:
>(Excuse me, I meant FreeBSD.)
>On May 31, 2016 11:26 AM, "Keith Winstein" <keithw at mit.edu> wrote:
>
>> Thanks for the report! Is this a regression -- did 1.2.5 or 1.2.4 work
>> out-of-the-box on OpenBSD?

A plain './configure' doesn't work but the FreeBSD port runs the configure script as:

OPENSSL_CFLAGS=-I/usr/include OPENSSL_LIBS=-L/usr/lib -lssl -lcrypto TINFO_CFLAGS=-I/usr/include ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PKG_CONFIG=pkgconf XDG_DATA_HOME=/tank/obj/usr/ports/net/mosh/work XDG_CONFIG_HOME=/tank/obj/usr/ports/net/mosh/work HOME=/tank/obj/usr/ports/net/mosh/work TMPDIR=/tmp SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 ./configure --with-utempter --without-ncurses --prefix=/usr/local

that does not detect the base OpenSSL on 1.2.5.95rc1.  I had a look
inside ./coonfigure and replacing "OPENSSL" with "CRYPTO" works (ie,
changing the first 2 environment variables to
CRYPTO_CFLAGS="-I/usr/include" CRYPTO_LIBS="-L/usr/lib -lssl -lcrypto"
is sufficient to make it compile on FreeBSD.

I've done a very quick check and it seems to work.   I'll check further
tonight.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/mosh-devel/attachments/20160531/431dbeb4/attachment.bin


More information about the mosh-devel mailing list