Thread: compiling postgresql 6.4 in BSDi

compiling postgresql 6.4 in BSDi

From
Ibrahim
Date:
I've BSDi 3.1 & BSDi 4.0 . I always get same error messages when I
compiling postgresql 6.4.
The error messages :

/usr/bin/yacc -d gram.y
/usr/sbin/yacc: f - maximum table size exceeded
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I'm using flex 2.5.4a.

Any one can help me ?

regards,
Ibam

[GENERAL] compiling postgresql 6.4 in BSDi

From
Nathan Dietsch
Date:

[GENERAL] compiling postgresql 6.4 in BSDi

From
Nathan Dietsch
Date:

			
		

Re: [GENERAL] compiling postgresql 6.4 in BSDi

From
The Hermit Hacker
Date:
On Fri, 4 Dec 1998, Ibrahim wrote:

>
> I've BSDi 3.1 & BSDi 4.0 . I always get same error messages when I
> compiling postgresql 6.4.
> The error messages :
>
> /usr/bin/yacc -d gram.y
> /usr/sbin/yacc: f - maximum table size exceeded
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> I'm using flex 2.5.4a.

    yacc -> bison
    lex -> flex

    install bison and you shoudl be okay...

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org


Re: [GENERAL] compiling postgresql 6.4 in BSDi

From
Bruce Momjian
Date:
> On Fri, 4 Dec 1998, Ibrahim wrote:
>
> >
> > I've BSDi 3.1 & BSDi 4.0 . I always get same error messages when I
> > compiling postgresql 6.4.
> > The error messages :
> >
> > /usr/bin/yacc -d gram.y
> > /usr/sbin/yacc: f - maximum table size exceeded
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> > I'm using flex 2.5.4a.
>
>     yacc -> bison
>     lex -> flex
>
>     install bison and you shoudl be okay...

The bigger questions is why 6.4 does not use the gram.c file, as it
should.


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

Re: [GENERAL] compiling postgresql 6.4 in BSDi

From
Bruce Momjian
Date:
>
> I've BSDi 3.1 & BSDi 4.0 . I always get same error messages when I
> compiling postgresql 6.4.
> The error messages :
>
> /usr/bin/yacc -d gram.y
> /usr/sbin/yacc: f - maximum table size exceeded
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> I'm using flex 2.5.4a.

That is strange, because you have flex.  Try removing
backend/parser/gram.c and recompile.

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

Re: [GENERAL] compiling postgresql 6.4 in BSDi

From
Ibrahim
Date:
The Hermit Hacker wrote:
>
> On Fri, 4 Dec 1998, Ibrahim wrote:
>
> >
> > I've BSDi 3.1 & BSDi 4.0 . I always get same error messages when I
> > compiling postgresql 6.4.
> > The error messages :
> >
> > /usr/bin/yacc -d gram.y
> > /usr/sbin/yacc: f - maximum table size exceeded
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> > I'm using flex 2.5.4a.
>
>         yacc -> bison
>         lex -> flex
>
>         install bison and you shoudl be okay...

It works ! thanx, but I'must remove backend/parser/gram.c first.

I think BSDi user shoule know about this instalation procedure.

thanx Hermit, thanx Bruce

regards,
Ibam

Re: [GENERAL] compiling postgresql 6.4 in BSDi

From
"D'Arcy" "J.M." Cain
Date:
Thus spake Ibrahim
> >         install bison and you shoudl be okay...
>
> It works ! thanx, but I'must remove backend/parser/gram.c first.
>
> I think BSDi user shoule know about this instalation procedure.

Sounds like a BSDi FAQ is needed.  Is that your hand I see in the air?  :-)

--
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.

Re: [GENERAL] compiling postgresql 6.4 in BSDi

From
Bruce Momjian
Date:
> Thus spake Ibrahim
> > >         install bison and you shoudl be okay...
> >
> > It works ! thanx, but I'must remove backend/parser/gram.c first.
> >
> > I think BSDi user shoule know about this instalation procedure.
>
> Sounds like a BSDi FAQ is needed.  Is that your hand I see in the air?  :-)

We just need the packager! to make sure gram.c is newer than gram.y.

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