I'm trying to run global in Windows XP using Cygwin.

Repro steps:
Install cygwin with all packages enabled
Download global source tarball
unzip, ./configure, make, make install
go to source dir
gtags

When I run gtags I always get the message "gtags: cannot create GPATH."
The program generates GPATH, GRTAGS, and GTAGS.

I have found one other person with the same problem at
http://news.gmane.org/gmane.comp.gnu.global.general

I have traced the program in gdb to see when it bails, here is the stack trace:

#0  die (s=0x41c0f7 "cannot create GPATH.") at die.c:63
#1 0x00404eb7 in gtags_open (dbpath=0x22cb80 "/cygdrive/e/Documents and Settings/t-andtho/My Documents/test", root=0x22ca70 "/cygdrive/e/Documents and Settings/t-andtho/My Documents/test", db=2, mode=1) at gtagsop.c:209 #2 0x00401f4d in createtags (dbpath=0x22cb80 "/cygdrive/e/Documents and Settings/t-andtho/My Documents/test", root=0x22ca70 "/cygdrive/e/Documents and Settings/t-andtho/My Documents/test", db=2) at gtags.c:801
#3  0x004029e9 in main (argc=0, argv=0x6b238c) at gtags.c:414


Just thought you guys should know. I'll continue to browse the source and try to get more specifics.

--Andrew Thomson


_______________________________________________
Bug-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to