agora inbox for [email protected]  
help / color / mirror / Atom feed
From: Paul M. Aoki <[email protected]>
To: Jung Byoung WAn <[email protected]>
Cc: [email protected]
Subject: Re: question about compile in SunOs 4.1.3
Date: Mon, 19 Jun 95 17:51:21 -0700
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>

[email protected] (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: [email protected]
|Reply-To: [email protected]
|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
|[email protected]

(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
  [email protected]  |  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 "[email protected]".
   If this fails, send mail to "[email protected]" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================
              URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: question about compile in SunOs 4.1.3
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox