Return-Path: owner-postman
Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.10/8.6.3) with SMTP id RAA23744 for postgres-redist; Mon, 19 Jun 1995 17:53:30 -0700
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199506200053.RAA23744@nobozo.CS.Berkeley.EDU>
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from faerie.CS.Berkeley.EDU (faerie.CS.Berkeley.EDU [128.32.37.53]) by nobozo.CS.Berkeley.EDU (8.6.10/8.6.3) with ESMTP id RAA23734 for <postgres@postgres.Berkeley.EDU>; Mon, 19 Jun 1995 17:53:29 -0700
Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by faerie.CS.Berkeley.EDU (8.6.11/8.6.3) with SMTP id RAA06464; Mon, 19 Jun 1995 17:51:21 -0700
Message-Id: <199506200051.RAA06464@faerie.CS.Berkeley.EDU>
X-Authentication-Warning: faerie.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol
From: aoki@cs.berkeley.edu (Paul M. Aoki)
To: jung94@champ.delta.co.kr (Jung Byoung WAn)
Cc: postgres@postgres.Berkeley.EDU
Subject: Re: question about compile in SunOs 4.1.3
Reply-To: aoki@cs.berkeley.edu (Paul M. Aoki)
In-reply-to: Your message of Mon, 19 Jun 95 18:08:28 KDT 
	     <9506190808.AA13570@champ.delta.co.kr> 
Date: Mon, 19 Jun 95 17:51:21 -0700
X-Sender: aoki@postgres.Berkeley.EDU
Resent-To: postgres-redist@postgres.Berkeley.EDU
X-Mts: smtp
Resent-Date: Mon, 19 Jun 95 17:53:30 -0700
Resent-XMts: smtp

jung94@champ.delta.co.kr (Jung Byoung WAn) writes:
> I would like to install postgres in my system ( Sparc20,SunOs 4.1.3),
> But I couldn't compile it. 
> "/media/mmsystems/postgres/src/backend/obj/execnodes.gen", line 18: syntax error at or near variable name "ii_FuncIndexInfo"

for some reason this sounded familiar so i searched the mailing list
archive for things that mentioned 'awk' (the main system utility used
to generate those files).  i dug this up:

|From: postarch (Postgres Mailing Archive)
|Subject: Re: Problem in Installing Postgres-v4.0
|To: postgres@postgres.berkeley.edu
|Reply-To: mer@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

(aha.  this would explain why the last message like this came from
korea, too..)

i would hazard a guess that gnu awk works better; you can try hacking
on src/backend/nodes/Gen*.sh to use that instead.
--
  Paul M. Aoki          |  University of California at Berkeley
  aoki@CS.Berkeley.EDU  |  Dept. of EECS, Computer Science Division (#1776) 
                        |  Berkeley, CA 94720-1776

==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU".
   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================
              URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/
