Return-Path: postarch
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA18458; Tue, 21 Jul 92 23:01:06 -0700
Message-Id: <9207220601.AA18458@postgres.Berkeley.EDU>
From: postarch (Postgres Mailing Archive)
Subject: Re: Problem in Installing Postgres-v4.0
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu
Reply-To: mer@postgres.berkeley.edu
In-Reply-To: Your message of "Tue, 21 Jul 92 19:04:52 PDT."
             <9207220204.AA16700@postgres.Berkeley.EDU> 
Date: Tue, 21 Jul 92 23:00:34 PDT

you write:
> Yesterday, I got postgres-v4r0.tar.Z from Kyoto University 
> and tried to install it on a SPARCstation IPX. However, 
> "~postgres/newconf/Make install" fails.
> 
> Error messages are generated while compiling "inh.c".
> They indicate that ~postgres/src/lib/H/nodes/*.gen 
> have errors. 
> 
> The errors in *.gen files seem to be in lines defining 
> variables of specific types, such as FuncIndexInfoPtr, 
> IndexInfoPtr, ExprContext, TupleTableSlot, ScanDirection, 
> HeapTuple, RelationInfo, TupleCount, etc.
> 
> Did anyone find bugs in the program that generates *.gen 
> (~postgres/src/lib/Gen/*.sh) ?

One thing you should watch out for is that the awk and sed scripts
that we ship with postgres don't work with the international versions
of awk and sed.  If you are getting errors in the .gen files, I'd
be willing to bet serious money that this is your problem.  Use the
standard versions of these unix utilities (assuming you have them
available to you).


Jeff Meredith
mer@postgres.berkeley.edu
