Sender: owner-postgres95@postgres.Berkeley.EDU
X-Return-Path: andrew_yu
Received: from methi.ndim.edrc.cmu.edu (METHI.NDIM.EDRC.CMU.EDU [128.2.214.230]) by nobozo.CS.Berkeley.EDU (8.6.10/8.6.3) with SMTP id SAA01655 for <postgres95@nobozo.cs.berkeley.edu>; Tue, 7 Nov 1995 18:35:17 -0800
Message-Id: <199511080235.SAA01655@nobozo.CS.Berkeley.EDU>
Received: from localhost by methi.ndim.edrc.cmu.edu id aa09354;
          7 Nov 95 21:32 EST
X-Mailer: exmh version 1.6.2 7/18/95
To: Fabio Andre Machado Porto <porto@inf.puc-rio.br>,
    postgres95@postgres.Berkeley.EDU
Reply-to: rp2y+@CS.cmu.edu
Subject: Re: Re- installing error 
References: <9511080044.AA07796@exu.inf.puc-rio.br> 
In-reply-to: Your message of "Tue, 07 Nov 1995 22:44:03 EDT."
             <9511080044.AA07796@exu.inf.puc-rio.br> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 07 Nov 1995 21:31:53 -0500
From: Robert Patrick <Robert_Patrick@methi.ndim.edrc.cmu.edu>
Resent-To: postgres95-redist
Resent-Date: Tue, 07 Nov 95 18:35:18 -0800
Resent-From: pglite
Resent-XMts: smtp

> I'm having a problem trying to re-install postgres95 in another machine. 
> The procedure I followed was:
> 1) tar all subdirectories/files from ($POSTDIR)/postgres95 to the new
>  path
> 2) changed ($NEWPOSTDIR)/src/Makefile.global to $NEWPOSTDIR  and
>   MKDIR from Makefile to $NEWPOSTDIR
> 3) ran gmake; gmake install

Try "gmake clean install"

> 4) initdb
>    The database was already installed, asked me to run cleardbdir
> 5) cleardbdir
> 6) initdb  
> 5) Postmaster &
> 
> at this point it says that it can't find the database in the 
>  "old path"
> 
> a) Did I miss any necessary change? Is there a way to go from here?

The thing you didn't do was "gmake clean" to remove all traces of the old 
compile for the src directories (i.e., compiled files in src/backend/obj had 
the old path compiled into it).

> b) The platform I'm runing is SunOS 4.1.3. I received a message during gmake
>  that it could't find a rule for obj/strtol.o :
> make[1]: *** No rule to make target `obj/strtol.o'.  Stop.
>    What should I do?

gmake clean install should fix all your problems assuming that you have the 
"configuration section" of Makefile.global set correctly for the new machine.

Robert



===============================================================================
  To unsubscribe from the Postgres95 mailing list, send mail with the subject
  line "DEL" to "postgres95-request@postgres.Berkeley.EDU". 
============  URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres95/  ===========
