It compiles on OpenIndiana (https://www.openindiana.org) as well.
Since it delivers own OpenSSH copy, I use to install it on separate
location.
#### http://www.mindrot.org/openssh_snap/openssh-SNAP-20220211.tar.gz
:; autoreconf
# autoreconf (GNU Autoconf) 2.71
:; echo $CC $CXX
/usr/gcc/10/bin/gcc /usr/gcc/10/bin/g++
:; echo $PREFIX
/pz/SFW
:; echo $CFLAGS
-lstdc++ -m64 -march=native -std=c89 -std=c99 -D_POSIX_PTHREAD_SEMANTICS
-D_XOPEN_SOURCE=600 -D_FILE_OFFSET_BITS=64 -D__EXTENSIONS__
-I${PREFIX}/include -I${PREFIX}/include/openssl -I${PREFIX}/apr/include
-I${PREFIX}/include/nghttp3 -I/usr/include -I/usr/gnu/include
-I/usr/include/readline -I/usr/include/ncurses -I/usr/include/idn2
:; ./configure --prefix=${PREFIX}
--sysconfdir=${PREFIX}/etc/openssh
--with-cflags="${CFLAGS} -DHAVE_MBLEN"
--with-kerberos5=${PREFIX}
--with-ssl-dir=${PREFIX}
--with-zlib=${PREFIX}
--with-pam
--with-xauth=/usr/bin/xauth
--with-libedit
--with-mantype=man
--with-solaris-projects
--with-solaris-privs
...
:; gmake
...
:; ./ssh -V
OpenSSH_8.8p1-snap20220211, OpenSSL 1.1.1m 14 Dec 2021
Many thanks, and best regards.
--
--
Predrag Zečević
predrag.zecevic.1961@xxxxxxxxxxxxxx
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev