RE: What does "label 'default' not found." mean?

"Suresh Govindachar" <[email protected]> Sat, 29 Jan 2011 19:47:28 -0800
Newsgroups gmane.comp.gnu.global.general
Message-ID <[email protected]>
 
  > [GTAGSROOT and GTAGSDBPATH cannot be specified 
  >  in .globalrc, but must be specified as environment 
  >  variables]
  
  Thanks;  specifying as environment variables works, but:

  $ env | grep GTAG
  GTAGSROOT=/h/sgovinda/ct/ray
  GTAGSDBPATH=/h/sgovinda/ct/ray/global

  $ cd ct/ray/
  $ global -f src/Main.cpp
  WorkingDir         23 src/Main.cpp     #define WorkingDir  "../files"
  OutFilename        24 src/Main.cpp     #define OutFilename "Volume"

  $ cd
  $ global -f ~/ct/ray/src/Main.cpp
  WorkingDir         23 ct/ray/src/Main.cpp #define WorkingDir  "../files"
  OutFilename        24 ct/ray/src/Main.cpp #define OutFilename "Volume"

  $ global -f src/Main.cpp
  'c/Main.cpp' is out of source tree.
  'c/Main.cpp' not found in GPATH.

 
  Question:  why doesn't global automatically look for  
             ${GTAGSROOT}/src/Main.cpp

  --Suresh