mac 下 怎么安装 ctags ?

快乐的小套套

来自: 快乐的小套套(react native)
2008-04-22 21:40:52

×
加入小组后即可参加投票
  • IronMick-tt8

    IronMick-tt8 (Saving for another plane...) 2008-04-23 00:49:36

    到官网下源码包,这个: http://prdownloads.sourceforge.net/ctags/ctags-5.7.tar.gz 下好解压到某个目录,譬如说Desktop,在Terminal下cd进入此目录,然后输入"./configure",完成后输入"make"编译,最后输入"sudo make install",输入管理员密码安装.

  • 快乐的小套套

    快乐的小套套 (react native) 楼主 2008-04-24 21:16:57

    执行过程中 出现这样的错误。请指点: Exuberant Ctags, version 5.7 Darwin 9.2.2 Darwin Kernel Version 9.2.2: Tue Mar 4 21:17:34 PST 2008; root:xnu-1228.4.31~1/RELEASE_I386 i386 checking whether to install link to etags... no checking whether to install readtags object file... no checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details.

  • IronMick-tt8

    IronMick-tt8 (Saving for another plane...) 2008-04-24 22:13:26

    那是因为你还没安装编译器,最简单的方法安装xcode,这里:http://developer.apple.com/tools/download/

  • 快乐的小套套

    快乐的小套套 (react native) 楼主 2008-04-25 11:23:52

    哦, 晓得,晚上回家,安装个xcode 再试一下。

  • jeff kit

    jeff kit (time is not important) 2008-05-04 00:11:18

    xcode超大。。下都不知要下多久。。。。等待中。。

  • 快乐的小套套

    快乐的小套套 (react native) 楼主 2008-05-05 09:06:15

    呵呵, 不知道 买电脑自带安装光盘中的 是否是 xcode....

  • bluebit

    bluebit 2008-05-24 22:32:26

    mac上用macport 或者 fink 装,很方便。 port install ctags 建议看这篇: 苹果mac os x下面软件的安装 http://www.xuecs.com/blog/?p=44

你的回应

回应请先 , 或 注册

Vim
17495 人聚集在这个小组
↑回顶部