Re: Re: pgsql + qnx - Mailing list pgsql-ports

From Tegge, Bernd
Subject Re: Re: pgsql + qnx
Date
Msg-id 5.0.2.1.0.20010522120947.00b24ec0@dragon.dr.repas.de
Whole thread Raw
In response to Re: Re: pgsql + qnx  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Re: pgsql + qnx  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-ports
At 00:33 22.05.01 -0400, Bruce Momjian wrote:
> > Peter Eisentraut <peter_e@gmx.net> writes:
> > > cc  -I../../../src/include   -c bootstrap.c
> > > /usr/watcom/10.6/bin/wcc386 -zq -i=../../../src/include -ms -4r
> > > -i=/usr/watcom/10.6/usr/include -i=/usr/include bootstrap.c
> > > bootstrap.c(103): Error! E1011: Symbol 'F_BOOLIN' has not been declared
> >
> > > I keep seeing these.  If anyone got a clue, let us know.
> >
> > F_BOOLIN should be supplied from fmgroids.h, which is built on-the-fly
> > by backend/utils/Gen_fmgrtab.sh.  Probably what we have here is (a)
> > platform dependent failure of that script ('cat' not installed, or
> > some such), and (b) insufficient error checking in the script, so
> > it doesn't realize it's failed to build the file.
>
>I just checked Gen_fmgrtab.sh and it has error checking all over the
>place.  I would be curious to know how it could fail and not exit with
>non-zero.

The Watcom preprocessor adds a space at the start of each line. Therefore
the output of "egrep '^[0-9]' " is empty. Changing the pattern to
"egrep '^[ ]*[0-9]" generates the correct file.



pgsql-ports by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Re: pgsql + qnx
Next
From: Bruce Momjian
Date:
Subject: Re: Re: pgsql + qnx