I am exploring SSH source codes that I cloned from github repo (https://github.com/openssh/openssh-portable.git). I want to compile a file but it includes a <config.h>
header file that doesn't exist in cloned directory. How can I fix this ? Thank you in advance.
Asked
Active
Viewed 264 times
-2

Nane Petrosyan
- 553
- 1
- 7
- 19
-
4Read the INSTALL docs. – Mat Jul 28 '21 at 11:23
1 Answers
4
openssh-portable/configure.ac#L21:
AC_CONFIG_HEADERS([config.h])
config.h
is created by autoconf
utility program (see here). You need to run
autoreconf
./configure
to configure your build env before you run make
command.
Check out the official INSTALL and README.md for more information.

CSharperMantle
- 41
- 4