compiling postgresql 6.4 in BSDi

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

compiling postgresql 6.4 in BSDi

От:
Ibrahim <ibam@baracuda.vision.net.id>
Дата:

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

От:
Nathan Dietsch <njd@linux.webfront.net.au>
Дата:

[GENERAL] compiling postgresql 6.4 in BSDi

От:
Nathan Dietsch <njd@linux.webfront.net.au>
Дата:

Re: [GENERAL] compiling postgresql 6.4 in BSDi

От:
The Hermit Hacker <scrappy@hub.org>
Дата:
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

От:
Bruce Momjian <maillist@candle.pha.pa.us>
Дата:
> 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

От:
Bruce Momjian <maillist@candle.pha.pa.us>
Дата:
> 
> 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

От:
Ibrahim <ibam@baracuda.vision.net.id>
Дата:
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

От:
"D'Arcy" "J.M." Cain <darcy@druid.net>
Дата:
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    |  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

От:
Bruce Momjian <maillist@candle.pha.pa.us>
Дата:
> 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
FAQ