[antlr-interest] crash burn on C runtime

Jim Idle jimi at temporal-wave.com
Thu Oct 13 12:57:23 PDT 2011


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: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of Brian Lavender
> Sent: Thursday, October 13, 2011 9:39 AM
> To: antlr-interest at antlr.org
> 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


More information about the antlr-interest mailing list