Thread: Re: [PORTS] BSDI-3.1

Re: [PORTS] BSDI-3.1

From
Bruce Momjian
Date:
>
> Hi!
> I was trying to install postgresql-6.3.2 on BSDI-3.1 operating system.
> First, it doesn't define BSDI-3.0 template (postgresql-6.3 does).
> Second, there is an error on compilation:
>
> gmake[2]: Entering directory
> `/usr/home/ser/download/postgres/postgresql-6.3.2/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
> `/usr/home/ser/download/postgres/postgresql-6.3.2/src/backend/parser'
> gmake[1]: *** [parser.dir] Error 2
> gmake[1]: Leaving directory
> `/usr/home/ser/download/postgres/postgresql-6.3.2/src/backend'
> gmake: *** [all] Error 2
>
> Any suggestions ? Thanx.
> ---------------------------

I am running the same OS.  Just touch backend/parser/gram.c, and
recompile.  Bison is required to compile gram.y, but we supply it as
part of the install.

Hackers, is the gram.c file not new enough in the 6.3.2 tarball?

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

Re: [HACKERS] Re: [PORTS] BSDI-3.1

From
Tom Lane
Date:
Bruce Momjian <maillist@candle.pha.pa.us> writes:
> Hackers, is the gram.c file not new enough in the 6.3.2 tarball?

Apparently not: I note that my recompile rebuilt it too.  (Fortunately
I have bison installed.)  tar says

$ tar tvfz ~postgres/archive/postgresql-6.3.2.tar.gz | grep /gram
-rw-r--r-- pgsql/wheel  398333 1998-04-17 03:00 postgresql-6.3.2/src/backend/parser/gram.c
-rw-r--r-- pgsql/wheel  126012 1998-04-17 03:00 postgresql-6.3.2/src/backend/parser/gram.y

which isn't accurate enough to be helpful, but it looks suspicious.

            regards, tom lane

Re: [HACKERS] Re: [PORTS] BSDI-3.1

From
"Thomas G. Lockhart"
Date:
> > Hackers, is the gram.c file not new enough in the 6.3.2 tarball?
>
> Apparently not: I note that my recompile rebuilt it too.  (Fortunately
> I have bison installed.)  tar says
>
> $ tar tvfz ~postgres/archive/postgresql-6.3.2.tar.gz | grep /gram
> -rw-r--r-- pgsql/wheel  398333 1998-04-17 03:00 postgresql-6.3.2/src/backend/parser/gram.c
> -rw-r--r-- pgsql/wheel  126012 1998-04-17 03:00 postgresql-6.3.2/src/backend/parser/gram.y

Bruce, what I usually try to do (but sometimes forget) is to commit the
two files separately, doing a "touch" on gram.c after committing gram.y
and before committing gram.c. That way, there is a significant time
difference between the two files.

                         - Tom