[Geany] failing to generate tag file

Rodrigo Canellas rodrigo.canellas at xxxxx
Wed Oct 10 16:03:55 UTC 2007


Enrico,

I downloaded the subversion version, as explained in
'http://geany.uvena.de/Download/SVN', and the tags file is generated.

I type 'geany' in a 'xterm' window and this report is printed (among
other information):

"
** INFO: Loaded /home/rcanellas/.geany/tags/certisign.cpp.tags (C++).
** INFO: Loaded /home/rcanellas/.geany/tags/certisign.h.tags (C).
"

So the files are being automatically loaded, as I moved them to '~/.geany/tags'.

However, when I open one of the '.cpp' or '.h' used to generate the
tags files, and try to 'Go to tag definition' or 'Go to tag
declaration',   'geany' shows "Advanced declaration <symnol-name> not
found" (actually the message is displayed in Portuguese, so I
translated it).

I generated the 'certisign.h.tags' like this:

- 'cd' to the directory of the header files
- typed 'CFLAGS=-I$PWD; geany -g -P certisign.h.tags $PWD/*.h'
- moved the certisign.h.tags file to '~/.geany/tags'

I also tried  'CFLAGS=-I./; geany -g -P certisign.h.tags *.h', with
the same results.

I did the same for the 'certisign.cpp.tags' file.


Can you see what I am doing wrong?


Thanks a lot,
   Rodrigo





2007/10/10, Enrico Tröger <enrico.troeger at uvena.de>:
> On Wed, 10 Oct 2007 10:07:40 -0300, "Rodrigo Canellas"
> <rodrigo.canellas at gmail.com> wrote:
>
> > Hi,
> >
> > I got this error compiling 0.12 pre:
> >
> >
> > "
> > .
> > .
> > .
> > Making all in po
> > make[2]: Entrando no diretório `/var/tmp/geany-0.12pre/po'
> > file=`echo be | sed 's,.*/,,'`.gmo \
> >           && rm -f $file &&  -o $file be.po
> > /bin/sh: -o: not found
> > make[2]: ** [be.gmo] Erro 127
> > make[2]: Saindo do diretório `/var/tmp/geany-0.12pre/po'
>
> Make sure you have installed the gettext and intltool packages as well
> as their dev packages. Which distribution do you use?
>
> Regards,
> Enrico
>
> --
> Get my GPG key from http://www.uvena.de/pub.key
>
> _______________________________________________
> Geany mailing list
> Geany at uvena.de
> http://uvena.de/cgi-bin/mailman/listinfo/geany
>
>
>


2007/10/10, Enrico Tröger <enrico.troeger at uvena.de>:
> On Wed, 10 Oct 2007 09:38:02 -0300, "Rodrigo Canellas"
> <rodrigo.canellas at gmail.com> wrote:
>
> > Hi,
> >
> > I tried to follow the instructions in
> > http://geany.uvena.de/manual/index.html#global-tags, and executed
> > these commands: 'geany -g -P /var/tmp/x.cpp.tags file_a.h', 'geany -P
> > -g /var/tmp/x.cpp.tags file_a.h' and  'geany -g /var/tmp/x.cpp.tags -P
> > file_a.h'.
> >
> > However, 'geany' opens the 'file_a.h', and no '/var/tmp/x.cpp.tags'
> > file is generated.
> >
> > I also tried '--no-preprocessing' and the result was the same.
> >
> > When I try 'geany -g /var/tmp/x.cpp.tags file_a.h', the
> > '/var/tmp/x.cpp.tags' is generated, and 'geany' does not open.
> >
> > What should I do to use the '-P' correctly?
> >
> > In time, I am using version 0.11.
> That's the problem. The option -P was added after the release, so Geany
> 0.11 doesn't know it.
>
>
> Regards,
> Enrico
>
> --
> Get my GPG key from http://www.uvena.de/pub.key
>
> _______________________________________________
> Geany mailing list
> Geany at uvena.de
> http://uvena.de/cgi-bin/mailman/listinfo/geany
>
>
>



More information about the Users mailing list