Обсуждение: yacc problems

Поиск
Список
Период
Сортировка

yacc problems

От
Daniel Kalchev
Дата:
I am getting the following error when trying to build postgres under BSD/OS
3.1 or 4.0.

gmake[2]: Entering directory `/var/src/local/pgsql/src/backend/parser'
/usr/bin/yacc -d gram.y
/usr/bin/yacc: f - maximum table size exceeded
gmake[2]: *** [parse.h] Error 2
gmake[2]: Leaving directory `/var/src/local/pgsql/src/backend/parser'

Has someone sucessfuly built scan.c and parse.h under BSD/OS?

Daniel


Re: [HACKERS] yacc problems

От
Michael Meskes
Дата:
On Thu, Sep 17, 1998 at 07:48:41PM +0300, Daniel Kalchev wrote:
> I am getting the following error when trying to build postgres under BSD/OS
> 3.1 or 4.0.
>
> gmake[2]: Entering directory `/var/src/local/pgsql/src/backend/parser'
> /usr/bin/yacc -d gram.y
> /usr/bin/yacc: f - maximum table size exceeded
> gmake[2]: *** [parse.h] Error 2
> gmake[2]: Leaving directory `/var/src/local/pgsql/src/backend/parser'

Not much of a surprise. You need bison to compile it.

> Has someone sucessfuly built scan.c and parse.h under BSD/OS?

The .c files are distributed with the source.

Michael
--
Dr. Michael Meskes      | Th.-Heuss-Str. 61, D-41812 Erkelenz | Go SF49ers!
Senior-Consultant       | business: Michael.Meskes@mummert.de | Go Rhein Fire!
Mummert+Partner         | private: Michael.Meskes@usa.net     | Use Debian
Unternehmensberatung AG |          Michael.Meskes@gmx.net     | GNU/Linux!

Re: [HACKERS] yacc problems

От
Bruce Momjian
Дата:
> I am getting the following error when trying to build postgres under BSD/OS
> 3.1 or 4.0.
>
> gmake[2]: Entering directory `/var/src/local/pgsql/src/backend/parser'
> /usr/bin/yacc -d gram.y
> /usr/bin/yacc: f - maximum table size exceeded
> gmake[2]: *** [parse.h] Error 2
> gmake[2]: Leaving directory `/var/src/local/pgsql/src/backend/parser'
>
> Has someone sucessfuly built scan.c and parse.h under BSD/OS?

I assume this is the beta.  I am fixing it now.  I have BSD/OS too, but
have bison installed.  That is the only thing that will fix it.  You
will need to grab the source after I have generated a new gram.y, or get
bison.


--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
http://www.op.net/~candle              |  (610) 353-9879(w)
  +  If your life is a hard drive,     |  (610) 853-3000(h)
  +  Christ can be your backup.        |