|
From: | SV |
Subject: | [Fwd: global 5.1 not working with latest vim] |
Date: | Thu, 20 Jul 2006 18:25:45 -0700 |
User-agent: | Thunderbird 1.5.0.4 (X11/20060516) |
Hi All, I sent this problem to address@hidden and was corrected by Shigio (thanks) to send it to the help-global list. Has anyone else encountered the behaviour specified in the attached email? Thanks, SV -------- Original Message --------
Hi, I just downloaded and installed the latest version of global and vim and cannot get the two to work together. I copied gtags.vim to $HOME/.vim/plugin/. I generated the gtags files in the global source directory. Now if I start vi from the root directory and do ":Gtags -P gtags", I get "Error: Pattern 'gtags' not found.". However, if I issue a global command from bash, it works fine. Am I doing something incorrect here? See log below. Thanks, SV [global-5.1]$ uname -a Linux linux-desktop 2.4.20-31.9 #1 Tue Apr 13 18:04:23 EDT 2004 i686 i686 i386 GNU/Linux [global-5.1]$ global --version 5.1 [global-5.1]$ gtags --version 5.1 [global-5.1]$ vi --version VIM - Vi IMproved 7.0 (2006 May 7, compiled May 31 2006 16:32:02) Compiled by address@hidden Normal version with GTK GUI. Features included (+) or not (-): -arabic +autocmd +balloon_eval +browse +builtin_terms +byte_offset +cindent +clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments +cryptv +cscope +cursorshape +dialog_con_gui +diff +digraphs +dnd -ebcdic -emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path +find_in_path +folding -footer +fork() -gettext -hangul_input -iconv +insert_expand +jumplist -keymap -langmap +libcall +linebreak +lispindent +listcmds +localmap +menu +mksession +modify_fname +mouse +mouseshape -mouse_dec +mouse_gpm -mouse_jsbterm -mouse_netterm +mouse_xterm -multi_byte +multi_lang -mzscheme +netbeans_intg -osfiletype +path_extra +perl +postscript +printer -profile +python +quickfix +reltime -rightleft -ruby +scrollbind +signs +smartindent -sniff +statusline -sun_workshop +syntax +tag_binary +tag_old_static -tag_any_white -tcl +terminfo +termresponse +textobjects +title +toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup +X11 -xfontset +xim +xsmp_interact +xterm_clipboard -xterm_save system vimrc file: "$VIM/vimrc" user vimrc file: "$HOME/.vimrc" user exrc file: "$HOME/.exrc" system gvimrc file: "$VIM/gvimrc" user gvimrc file: "$HOME/.gvimrc" system menu file: "$VIMRUNTIME/menu.vim" fall-back for $VIM: "/usr/local/share/vim" Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -I/usr/X11R6/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -I/usr/include/python2.2 -pthread Linking: gcc -L/usr/X11R6/lib -rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -L/usr/local/lib -o vim -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -lXi -lXext -lm -lXt -lncurses -lacl -lgpm -rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -L/usr/local/lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -lperl -lnsl -ldl -lm -lpthread -lcrypt -lutil -L/usr/lib/python2.2/config -lpython2.2 -ldl -lpthread -lutil -lm -Xlinker -export-dynamic [global-5.1]$ [global-5.1]$ ls ./ configure* GPATH gtags.pl Makefile ../ configure.ac GRTAGS gtags.vim Makefile.am acinclude.m4 convert.pl* GSYMS htags/ Makefile.in aclocal.m4 COPYING gtags/ htags-refkit/ missing* AUTHORS depcomp* GTAGS INSTALL NEWS ChangeLog doc/ gtags.conf install-sh* nvi-1.79-gtags.diff config.h FAQ gtags.conf.in libdb/ README config-h.in global/ gtags-cscope/ libglibc/ reconf.sh config.log globash.rc gtags.el libutil/ stamp-h1 config.status* gozilla/ gtags-parser/ LICENSE THANKS ----------- Start vi session ------------------ [global-5.1]$ ~ VIM - Vi IMproved ~ ~ version 7.0 ~ by Bram Moolenaar et al. ~ Vim is open source and freely distributable ~ ~ Help poor children in Uganda! ~ type :help iccf<Enter> for information ~ ~ type :q<Enter> to exit ~ type :help<Enter> or <F1> for on-line help ~ type :help version7<Enter> for version info ~ ~ ~ :Gtags -P gtags Error: Pattern 'gtags' not found. 0,0-1 All :q ----------- End vi session ------------------ address@hidden global-5.1]$ global -P gtags gtags-cscope/const.h gtags-cscope/gtags-cscope.c gtags-parser/C.c gtags-parser/Cpp.c gtags-parser/asm_parse.c gtags-parser/asm_parse.h gtags-parser/asm_parse.y gtags-parser/asm_res.h gtags-parser/asm_scan.c gtags-parser/c_res.h gtags-parser/const.h gtags-parser/cpp_res.h gtags-parser/gctags.c gtags-parser/gctags.h gtags-parser/java.c gtags-parser/java_res.h gtags-parser/php.c gtags-parser/php_res.h gtags/const.h gtags/gtags.c libutil/gtagsop.c libutil/gtagsop.h |
[Prev in Thread] | Current Thread | [Next in Thread] |