Trying to compile the source in trunk, but getting the errors.
Thought it's related to bison, but can't find out why... I do have bison 2.7 installed... The config.log is attached as well.
Basically, I did:
./bootstrap.sh
./configure --prefix=/opt/local
./boostrap.sh
make
I have no issue compiling the snapshot version from google code igraph-nightly-0.7-3121-20130217.tar.gz
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -I/opt/local/include/libxml2 -I../include -I../include -Wall -I../optional/glpk -g -O2 -I/opt/local/include/libxml2 -MT libigraph_la-foreign-ncol-parser.lo -MD -MP -MF .deps/libigraph_la-foreign-ncol-parser.Tpo -c foreign-ncol-parser.c -fno-common -DPIC -o .libs/libigraph_la-foreign-ncol-parser.o
foreign-ncol-parser.c: In function 'igraph_ncol_yyparse':
foreign-ncol-parser.c:1648:9: warning: passing argument 3 of 'igraph_ncol_yyerror' discards 'const' qualifier from pointer target type [enabled by default]
yyerror (&yylloc, context, yymsgp);
^
foreign-ncol-parser.y:63:5: note: expected 'char *' but argument is of type 'const char *'
int igraph_ncol_yyerror(YYLTYPE* locp,
^
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -I/opt/local/include/libxml2 -I../include -I../include -Wall -I../optional/glpk -g -O2 -I/opt/local/include/libxml2 -MT libigraph_la-foreign-ncol-parser.lo -MD -MP -MF .deps/libigraph_la-foreign-ncol-parser.Tpo -c foreign-ncol-parser.c -o libigraph_la-foreign-ncol-parser.o >/dev/null 2>&1
mv -f .deps/libigraph_la-foreign-ncol-parser.Tpo .deps/libigraph_la-foreign-ncol-parser.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -I/opt/local/include/libxml2 -I../include -I../include -Wall -I../optional/glpk -g -O2 -I/opt/local/include/libxml2 -MT libigraph_la-foreign-ncol-lexer.lo -MD -MP -MF .deps/libigraph_la-foreign-ncol-lexer.Tpo -c -o libigraph_la-foreign-ncol-lexer.lo `test -f 'foreign-ncol-lexer.c' || echo './'`foreign-ncol-lexer.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -I/opt/local/include/libxml2 -I../include -I../include -Wall -I../optional/glpk -g -O2 -I/opt/local/include/libxml2 -MT libigraph_la-foreign-ncol-lexer.lo -MD -MP -MF .deps/libigraph_la-foreign-ncol-lexer.Tpo -c foreign-ncol-lexer.c -fno-common -DPIC -o .libs/libigraph_la-foreign-ncol-lexer.o
In file included from foreign-ncol-lexer.l:49:0:
foreign-ncol-parser.h:99:26: error: unknown type name 'igraph_i_ncol_parsedata_t'
int igraph_ncol_yyparse (igraph_i_ncol_parsedata_t* context);
^
make[3]: *** [libigraph_la-foreign-ncol-lexer.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Hmmm, what is your bison version?