Why did I fail to build ctags for vim?

Posted by hugemeow on Super User See other posts from Super User or by hugemeow
Published on 2012-09-22T12:40:36Z Indexed on 2012/09/22 15:40 UTC
Read the original article Hit count: 428

Filed under:
|
|
|
|

I got the latest, unreleased version of the ctags source code from the svn repository using

svn co https://ctags.svn.sourceforge.net/svnroot/ctags

I ran ./configure, which failed with the following error:

config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
config.status: error: cannot find input file: config.h.in
[mirror@home ctags-5.7]$ echo $?
1

Then I created an empty file named config.h.in, and now ./configure succeed.

configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating config.h
[mirror@home ctags-5.7]$ echo $?
0

Running make still failed.

[mirror@home ctags-5.7]$ make
gcc -I. -I. -DHAVE_CONFIG_H -g -O2 -c args.c
In file included from args.c:17:
/usr/include/stdio.h:88: error: two or more data types in declaration specifiers
make: *** [args.o] Error 1
  • Why did this not work?
  • How do I build ctags from the svn repository?

© Super User or respective owner

Related posts about linux

Related posts about vim