Re: mdbtools compiled from source does not work where debian package does
Levin Alexander <[email protected]> Mon, 26 Apr 2010 17:09:46 +0200
| Newsgroups | gmane.comp.db.mdb-tools.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Apr 23, 2010 at 19:51, Kurt Schwehr <[email protected]> wrote: > Hi Levin, > > I've got mdbtools compiling in fink on 10.6. I'm using a version I checked out > from sourceforge back in 2008. I ended up making a git mirror from the CVS repository (didn't want to deal with CVS) and built that. That worked. $ sudo port install libtool automake autoconf bison flex $ git clone http://github.com/levinalex/mdbtools.git $ cd mdbtools $ ./autogen.sh && make # this fails [1] $ make distclean && make # but compiling again succeeds $ sudo make install -Levin [1] /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -g -O2 -DSQL -MT parser.lo -MD -MP -MF .deps/parser.Tpo -c -o parser.lo parser.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -g -O2 -DSQL -MT parser.lo -MD -MP -MF .deps/parser.Tpo -c parser.c -fno-common -DPIC -o .libs/parser.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -g -O2 -DSQL -MT parser.lo -MD -MP -MF .deps/parser.Tpo -c parser.c -o parser.o >/dev/null 2>&1 mv -f .deps/parser.Tpo .deps/parser.Plo /bin/sh ../../ylwrap lexer.l lex.yy.c lexer.c -- flex -i /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -g -O2 -DSQL -MT lexer.lo -MD -MP -MF .deps/lexer.Tpo -c -o lexer.lo lexer.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -g -O2 -DSQL -MT lexer.lo -MD -MP -MF .deps/lexer.Tpo -c lexer.c -fno-common -DPIC -o .libs/lexer.o lexer.l: In function ‘yylex’: lexer.l:38: error: ‘OR’ undeclared (first use in this function) lexer.l:38: error: (Each undeclared identifier is reported only once lexer.l:38: error: for each function it appears in.) lexer.l:39: error: ‘NOT’ undeclared (first use in this function) lexer.l:40: error: ‘IS’ undeclared (first use in this function) lexer.l:41: error: ‘NUL’ undeclared (first use in this function) lexer.l:63: error: ‘IDENT’ undeclared (first use in this function) make[2]: *** [lexer.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 ------------------------------------------------------------------------------ _______________________________________________ mdbtools-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mdbtools-dev