agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedFrom: Paul M. Aoki <aoki@cs.berkeley.edu>
To: Jung Byoung WAn <jung94@champ.delta.co.kr>
Cc: postgres@postgres.Berkeley.EDU
Subject: Re: question about compile in SunOs 4.1.3
Date: Mon, 19 Jun 95 17:51:21 -0700
Message-ID: <199506200051.RAA06464@faerie.CS.Berkeley.EDU> (raw)
In-Reply-To: <9506190808.AA13570@champ.delta.co.kr>
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/
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: postgres@postgres.berkeley.edu
Cc: aoki@cs.berkeley.edu, jung94@champ.delta.co.kr
Subject: Re: question about compile in SunOs 4.1.3
In-Reply-To: <199506200051.RAA06464@faerie.CS.Berkeley.EDU>
* 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