openssh7.5 can't make in ubuntu14.04LTS system

CGF cgf1993 at foxmail.com
Wed Mar 29 20:47:39 AEDT 2017


I followed the instructions as below(https://www.openssh.com/openbsd.html). 


 
https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-7.5.tar.gz
 


 


 
# cd /usr/src/usr.bin
 
# tar zxvf .../openssh-7.5.tar.gz
 
# cd ssh
 
# make obj
 
# make cleandir
 
# make depend
 
# make
 
# make install
 
# cp ssh_config sshd_config /etc/ssh





But when I input and execute "make obj" instruction, I got this error "Makefile:3: *** missing separator.  Stop."
And the Makefile in /usr/src/usr.bin/ssh folder is as below.


---------------------------------------------------------------------------
# $OpenBSD: Makefile,v 1.15 2010/02/09 08:55:31 markus Exp $


.include <bsd.own.mk>


SUBDIR= lib ssh sshd ssh-add ssh-keygen ssh-agent scp sftp-server \
    ssh-keysign ssh-keyscan sftp ssh-pkcs11-helper


distribution:
    ${INSTALL} -C -o root -g wheel -m 0644 ${.CURDIR}/ssh_config \
        ${DESTDIR}/etc/ssh/ssh_config
    ${INSTALL} -C -o root -g wheel -m 0644 ${.CURDIR}/sshd_config \
        ${DESTDIR}/etc/ssh/sshd_config


.include <bsd.subdir.mk>
---------------------------------------------------------------------------


I have no idea how to solve it?


Thanks for your help.


More information about the openssh-unix-dev mailing list