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

From Kurt Roeckx
Subject Make check uses wrong binary.
Date
Msg-id 20030914121227.GA8240@ping.be
Whole thread Raw
Responses Re: Make check uses wrong binary.  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Make check uses wrong binary.  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
I've seen this before, and I'm not sure why I get this.

When I run make check, in the top dir, I get:
============== removing existing temp installation    ==============
============== creating temporary installation        ==============
============== initializing database system           ==============

pg_regress: initdb failed
Examine ./log/initdb.log for the reason.

make[2]: *** [check] Error 2


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.

Before I did this, I did a make clean and a make.

In src/test/regress/pg_regress I see this:
libdir='/usr/local/pgsql/lib'
pkglibdir='/usr/local/pgsql/lib'
bindir='/usr/local/pgsql/bin'
datadir='/usr/local/pgsql/share'


Kurt



pgsql-hackers by date:

Previous
From: Larry Rosenman
Date:
Subject: Re: Link.shared help/BROKEN UNIXWARE!/Reversion Request.
Next
From: Bruce Momjian
Date:
Subject: Re: Link.shared help/BROKEN UNIXWARE!/Reversion Request.