Why did I fail to build ctags for vim?
- by hugemeow
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?