Return-Path: mer
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA26015; Mon, 20 Jul 92 10:26:24 -0700
Message-Id: <9207201726.AA26015@postgres.Berkeley.EDU>
From: mer@postgres.Berkeley.EDU
Subject: Re: make bug
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu
In-Reply-To: Your message of "Fri, 17 Jul 92 03:06:00 PDT."
             <9207171006.AA24179@postgres.Berkeley.EDU> 
Date: Mon, 20 Jul 92 10:40:20 -0700
From: mer@postgres.Berkeley.EDU
X-Mts: smtp

In message <9207171006.AA24179@postgres.Berkeley.EDU> you write:

> I'am trying to install the new version of Postgres but ran into
> some errors. My problem occurs in step 4 at page 7 of the
> installation manual (postgres-setup.ps). The command "./Make
> install" gives some errors. The first error is from the file 
> "/var/local/postgres/src/lib/Gen/inherits.sh". In this file the
> directory "/usr/postgres/tmp/" should be accessed. However
> it was not created yet. 
> So I made the directory by hand and ran the installation again.
> Now everything seems to be ok.
> 
> My question to you is:
>  Should this directory be created by me or is it an error
>  in a makefile or in the tarfile. What did I do wrong ?

> awk: can't open /usr/postgres/tmp/inh.19132
> awk: can't open /usr/postgres/tmp/inh.19132

The inherits.sh shell script has the following two lines:

	TMPDIR=${TMPDIR-/tmp}
	INHFILE=$TMPDIR/inh.$$

Normally the temporary file will be /tmp/inh.<pid> unless you already
have TMPDIR set in your environment to point someplace else...

There really isn't any reason to have the temp file be setable in the
environment, and I will update the script for future releases.


Jeff Meredith
mer@postgres.berkeley.edu
