Return-Path: postarch
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA15516; Fri, 3 Jan 92 10:10:41 -0800
Message-Id: <9201031810.AA15516@postgres.Berkeley.EDU>
From: postarch (Postgres Mailing Archive)
Subject: Re: problems compiling on sun3 under sunos 4.1
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu
Reply-To: mer@postgres.berkeley.edu
In-Reply-To: Your message of "Sun, 29 Dec 91 07:29:21 PST."
             <9112291529.AA27683@postgres.Berkeley.EDU> 
Date: Fri, 03 Jan 92 10:10:23 PST

you write:
> 
> I am having problems getting postgres to compile on a sun3 under sunos 4.1
> I have tried the standard C comppiler and gcc both produce errors. The text
> of trying to compile using the std sun C compiler for the first error is
> included below. I assume i am doing somthing wrong but have no idea what. 
> Up to this point the ./Make install worked fine with no errors.

The standard C compiler should have worked.  In order to get postgres to
compile under gcc you have to specify -traditional.

> linking headers
> compiling plannodes.h
> "plannodes.c", line 1039: syntax error at or near variable name "type"
> "plannodes.c", line 1039: NodeTag declared as parameter to non-function
> "plannodes.c", line 1039: type undefined
> "plannodes.c", line 1039: outFunc undefined
...
> The other option is that postgres no longer works on sun3's 

Before the 3.1 release went out I installed and ran our entire battery of
tests on our local sun3.  Just to be sure I copied and installed the actual
released distribution yesterday and everything works fine here.  We are
running a much older version of the os, but I don't think that this would
account for the problems you are having.  My guess is that it is related 
to something peculiar about your site.


Jeff Meredith
mer@postgres.berkeley.edu
