【问题标题】:auto/configure not found error is given when running ./configure to compile vim from source运行 ./configure 从源代码编译 vim 时出现 auto/configure not found 错误
【发布时间】:2018-03-10 19:35:48
【问题描述】:

我从official repo 克隆了vim,并按照说明尝试运行./configure 脚本。然而,这失败了,出现错误auto/configure not found,由src/configure 中的脚本引发(由根目录中的configure 脚本调用)。

auto/configure 文件显然在那里,那么可能是什么原因造成的?

我在 Ubuntu 17.10 上使用 zsh shell。

【问题讨论】:

    标签: git vim sh


    【解决方案1】:

    经过一番挖掘,我意识到问题是由不正确的文件结尾引起的。

    基本上,我将core.autocrlf 选项全局设置为true,这导致所有文件结尾都搞砸了,并且由于某种原因出现了上述问题。

    在执行 git config --global core.autocrlf false 并从头开始重新克隆 repo 之后,configure 脚本运行没有问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-01-03
      • 2014-04-08
      • 2021-07-31
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多