Re: Make check uses wrong binary. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Make check uses wrong binary.
Date
Msg-id 17772.1063557232@sss.pgh.pa.us
Whole thread Raw
In response to Make check uses wrong binary.  (Kurt Roeckx <Q@ping.be>)
List pgsql-hackers
Kurt Roeckx <Q@ping.be> writes:
> In the log file it says:
> The program
>     /usr/local/pgsql/bin/postgres
> needed by initdb does not belong to PostgreSQL version 7.4beta2, or
> there may be a configuration problem.

> Obviously, it's not supposed to take that binary but the one in
> the source tree.

Actually, it should take the one installed beside initdb in the
temporary installation's bin directory.

Eyeballing the check in initdb, the only likely reason I can see
for rejecting the correct postgres executable is if it's not putting
out the exact same version string that initdb expects.  You might try
running the temp installation's postgres with -V to see what it prints.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: sprompt.c move breaks NLS
Next
From: Peter Eisentraut
Date:
Subject: Re: sprompt.c move breaks NLS