You should be using 3.4 runtime distribution, the pure source is for developers only There is no 3.3 C runtime - it was skipped. You do not run autoconf or automake. Then read the build instructions in the API docs. Untar ./configure --help
http://www.antlr.org/download/C/libantlr3c-3.4.tar.gz http://www.antlr.org/api/C/index.html Jim > -----Original Message----- > From: [email protected] [mailto:antlr-interest- > [email protected]] On Behalf Of Brian Lavender > Sent: Thursday, October 13, 2011 9:39 AM > To: [email protected] > Subject: Re: [antlr-interest] crash burn on C runtime > > Well, it seems that I forgot to build the antlr runtime library. Doh! > > The antlr-3.3.tar.gz download doesn't have a configure.sh file in the > runtime/C directory. When I try to generate one using autoconf or > automake, it complains about missing m4 macros. Anyone have the fix for > this? > > This is the tar g zed file I am using. > http://antlr.org/download/antlr-3.3.tar.gz > > > brian > > On Wed, Oct 12, 2011 at 05:17:28PM -0700, Brian Lavender wrote: > > Missing header file it appears. > > > > fix? > > > > cost: 1019 states, 98 ms > > gcc -ggdb -O0 -fno-inline -I. -I/usr/include/qt4/QtCore > > -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/home/brian/pkg/antlr- > 3.3/runtime/C/include -I/home/brian/pkg/antlr-3.3/runtime/C -c > OracleSQLParser.c -o OracleSQLParser.o In file included from > /home/brian/pkg/antlr-3.3/runtime/C/include/antlr3.h:33:0, > > from OracleSQLParser.h:539, > > from OracleSQLParser.c:45: > > /home/brian/pkg/antlr-3.3/runtime/C/include/antlr3defs.h:246:26: > fatal > > error: antlr3config.h: No such file or directory compilation > terminated. > > make: *** [OracleSQLParser.o] Error 1 > > > > > > > > -- > > Brian Lavender > > http://www.brie.com/brian/ > > > > "There are two ways of constructing a software design. One way is to > > make it so simple that there are obviously no deficiencies. And the > > other way is to make it so complicated that there are no obvious > deficiencies." > > > > Professor C. A. R. Hoare > > The 1980 Turing award lecture > > > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > > Unsubscribe: > > http://www.antlr.org/mailman/options/antlr-interest/your-email- > address > > -- > Brian Lavender > http://www.brie.com/brian/ > > "There are two ways of constructing a software design. One way is to > make it so simple that there are obviously no deficiencies. And the > other way is to make it so complicated that there are no obvious > deficiencies." > > Professor C. A. R. Hoare > The 1980 Turing award lecture > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your- > email-address List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
