谁能告诉我哪里可以获得支持 cscope 的 Vim 7.2?
我想使用启用 cscope 的 vim - 不幸的是,工作中的二进制文件没有使用 cscope 支持进行编译,当我尝试从 src 构建时,由于未安装正确的开发包,我收到了很多错误。
那么,有人有一个链接,我可以在其中获得带有 cscope 支持的预编译二进制文件吗?顺便说一句,我正在使用Linux。
I wanted to use cscope enabled vim - unfortuantely , the binaries at work are not compiled with cscope support , and when I tried building from src , I'm getting a lot of errors due to proper dev packages not being installed.
So , does anyone have a link where I can a precompiled binary with cscope support ? Btw , I'm using linux.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
只需从源代码构建您自己的 vim 二进制文件也许是一个很好的解决方案 ^_^
您将获得支持 cscope 的 vim 7.2
Just build your own vim binary from source code maybe a good solution ^_^
You will get a cscope supported vim 7.2
不完全回答您对预编译 vim 7.2 的请求,但您说编译问题的一部分是您“没有安装 reqd 包的权限”(在您对 @chenkaie 的答案的评论中)。如果其他 reqd 包使用
configure
,您可以将它们编译并安装到您可以控制的目录中,如下所示:基于
configure
的安装程序支持-- prefix
开关,这会导致安装的软件包位于\bin
、/lib
等位置。通过这个技巧,您可以也许能够构建所有 reqd 包以构建 vim 7.2 本身。如果 reqd 包不是基于
configure
的,您可能需要查看 reqd 包的安装程序(makefile?),看看它是否有类似于configure --prefix= 的选项<目录>
Not quite an answer to your request for a pre-compiled vim 7.2, but you said part of your compiling problems is that you "don't have the privileges for installing reqd packages" (in you comment to @chenkaie's answer). If the other reqd packages use
configure
, you can compile them to install into a directory you have control over, like this:configure
-based installers support the--prefix
switch, which results in the installed packages in locations like<prefix>\bin
,<prefix>/lib
, etc. With this trick you may be able to build all the reqd packages in order to build vim 7.2 itself.If the reqd packages are not
configure
-based, you might want to look at the installer (makefile?) of the reqd package to see if it has an option similar toconfigure --prefix=<dir>
我有 Ubuntu 通过“apt-get install vim”提供的默认软件包 vim_1%3a7.1-138+1ubuntu3.1_i386.deb。
在 vim 内部,当我输入时,
它会
按预期打印。
当然,你确实说你正在寻找 Vim 7.2,我不知道 7.2 相对于 7.1 有哪些改进,但是 看起来 7.2 仍然存在一些构建问题,正在解决。我建议暂时只使用 7.1。
I have the default package Ubuntu gives me from doing an 'apt-get install vim', vim_1%3a7.1-138+1ubuntu3.1_i386.deb.
Inside of vim, when I type
it prints
as expected.
Granted, you do say you are looking for Vim 7.2 I don't know what improvements 7.2 has seen over 7.1, but it looks like there are still build problems with 7.2 that are being hammered out. I'd suggest just using 7.1 for the time being.