Thread: Port Bug Report: yacc: table size exceed

Port Bug Report: yacc: table size exceed

From
Unprivileged user
Date:
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name               : Tibor Takacs
Your email address      : takacst@mail.nadasdy-csepreg.sulinet.hu

Category                : install: compile
Severity                : critical

Summary: yacc: table size exceed

System Configuration
--------------------
  Operating System   : Debian 2.0 (2.2.6)

  PostgreSQL version : 6.4.2

  Compiler used      : gcc 2.7.3.2

Hardware:
---------
Pentium 166 MMX 32 MB RAM
Linux pc12 2.2.6 #11 Wed May 5 08:09:14 CEST 1999 i586 unknown

Versions of other tools:
------------------------
make 3.76.1
flex


--------------------------------------------------------------------------

Problem Description:
--------------------
/usr/bin/yacc -d gram.y
/usr/bin/yacc: f - maximum table size exceeded
make: *** [parse.h] Error 2

--------------------------------------------------------------------------

Test Case:
----------


--------------------------------------------------------------------------

Solution:
---------


--------------------------------------------------------------------------


Re: [PORTS] Port Bug Report: yacc: table size exceed

From
Thomas Lockhart
Date:
>   PostgreSQL version : 6.4.2
> Problem Description:
> --------------------
> /usr/bin/yacc -d gram.y
> /usr/bin/yacc: f - maximum table size exceeded
> make: *** [parse.h] Error 2

Get the original file src/backend/parser/gram.c from your source
distribution, and "touch" it to force the creation time of the file to
be more recent than src/backend/parser/gram.y. v6.4.2 had a problem
with this. This should fix your problem...

                      - Tom

--
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California