6

根据 GNU Global文档

# Installation of GLOBAL
# It assumed that ctags command is installed in '/usr/local/bin'.

$ ./configure --with-universal-ctags=/usr/local/bin/ctags
$ make
$ sudo make install

我需要安装GNU Global标志--with-universal-ctags=/usr/local/bin/ctags以支持通用 ctags。

GNU Global使用(根据此来源)完成正常安装

# normal installation
brew install global

并且由于 brew 公式是形式的 ruby​​ 脚本(根据brew

#Example with Wget
class Wget < Formula
  homepage "https://www.gnu.org/software/wget/"
  url "https://ftp.gnu.org/gnu/wget/wget-1.15.tar.gz"
  sha256 "52126be8cf1bddd7536886e74c053ad7d0ed2aa89b4b630f76785bac21695fcd"

  def install
    system "./configure", "--prefix=#{prefix}"
    system "make", "install"
  end
end

我应该做

# It assumed that ctags command is installed in '/usr/local/bin'.
brew install global --with-universal-ctags=/usr/local/bin/ctags

安装全局与通用 ctags 支持?

注意:全局的正常安装似乎有exuberant-ctags依赖

4

0 回答 0