On 2016-May-31 11:27:33 -0700, Keith Winstein <kei...@mit.edu> wrote:
>(Excuse me, I meant FreeBSD.)
>On May 31, 2016 11:26 AM, "Keith Winstein" <kei...@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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
mosh-devel mailing list
mosh-devel@mit.edu
http://mailman.mit.edu/mailman/listinfo/mosh-devel

Reply via email to