【问题标题】:could not find config.h file (ssh source codes)找不到 config.h 文件(ssh 源代码)
【发布时间】:2021-10-04 03:21:09
【问题描述】:

我正在探索从 github repo (https://github.com/openssh/openssh-portable.git) 克隆的 SSH 源代码。我想编译一个文件,但它包含一个在克隆目录中不存在的<config.h> 头文件。我怎样才能解决这个问题 ?提前谢谢你。

【问题讨论】:

  • 阅读安装文档。

标签: c openssh


【解决方案1】:

openssh-portable/configure.ac#L21:

AC_CONFIG_HEADERS([config.h])

config.hautoconf 实用程序创建(参见here)。你需要运行

autoreconf
./configure

在运行make 命令之前配置您的构建环境。

查看官方INSTALLREADME.md 了解更多信息。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-10-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-04-07
    • 2020-06-01
    • 1970-01-01
    相关资源
    最近更新 更多