【问题标题】:Installing Vim: What is the difference betwen "--with-local-dir" and "includedir"安装 Vim:“--with-local-dir”和“includedir”有什么区别
【发布时间】:2020-05-05 22:01:52
【问题描述】:

我的主要目标是我想了解./configure 中的参数是如何工作的。所以,我决定在$HOME/local/安装ncurses和vim,以免影响我的系统。

在配置 vim 时,我查看了 --with-local-dir 和 includedir。我想知道它们之间有什么区别。

当我查看vim-git-INSTALL-script 时,它说:

Unix: LOCAL HEADERS AND LIBRARIES NOT IN /usr/local

Sometimes it is necessary to search different path than /usr/local for locally
installed headers (/usr/local/include) and libraries (/usr/local/lib).
To search /stranger/include and /stranger/lib for locally installed
headers and libraries, use:
    ./configure --with-local-dir=/stranger

我认为这就是includedir 的目的。如果有人能告诉我哪里出错了,我将不胜感激。谢谢!

【问题讨论】:

    标签: vim ncurses configure


    【解决方案1】:

    按照惯例(根据documentation),includedir 用于当前程序安装 头文件的目录。这与配置脚本可能必须告诉编译器找到编译程序所需的头文件的地方不同。

    【讨论】:

    • 谢谢!该链接正是我想要的。
    猜你喜欢
    • 2015-01-05
    • 1970-01-01
    • 2019-05-11
    • 1970-01-01
    • 2019-05-23
    • 2011-01-28
    • 2011-07-22
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多