Re: [HACKERS] Re: Problems compiling version 7 - solved - Mailing list pgsql-general

From Tom Lane
Subject Re: [HACKERS] Re: Problems compiling version 7 - solved
Date
Msg-id 29112.958023407@sss.pgh.pa.us
Whole thread Raw
In response to RE: [HACKERS] Re: Problems compiling version 7 - solved  (Travis Bauer <trbauer@indiana.edu>)
Responses Dumping and reloading stuff in 6.5.3  (Lincoln Yeoh <lylyeoh@mecomb.com>)
Re: [HACKERS] Re: Problems compiling version 7 - solved  (Travis Bauer <trbauer@indiana.edu>)
List pgsql-general
Travis Bauer <trbauer@indiana.edu> writes:
> Thanks for all the advice.  The following was _exactly_ the problem.  I
> had tried to compile this source code in a recent version of solaris.  It
> compiled flawlessly, but postmaster wouldn't start up.  So I just did a
> secure shell to a linux machine, ran "make clean" from the same directory,
> and ran configure.  I thought make clean would erase all except the
> distribution files.

Ah, bingo.  "make clean" doesn't erase the configure-produced files,
and in particular not config.cache, so you were getting polluted by
configure test results from the other platform.  "make distclean" is
the thing to do before reconfiguring.  AFAIK this is a pretty
standard convention for applications that use configure scripts.

(Actually, it'd probably work to just delete config.cache, but you may
as well do the "make distclean" instead.  I know that works.)

Next question: do you feel like pursuing the failure on solaris?
That should've worked...

            regards, tom lane

pgsql-general by date:

Previous
From: "William J. Mills"
Date:
Subject: RE: [HACKERS] Re: Problems compiling version 7 - solved
Next
From: Lincoln Yeoh
Date:
Subject: Dumping and reloading stuff in 6.5.3