You will need to apply the attached patch before the 7.0.3 regression
tests will run under Cygwin. The following is the instructions to apply
the patch:

$ cd postgresql-7.0.3/src/test/regress
$ # save run_check.patch to the current directory
$ patch <run_check.patch
On Wed, Jan 10, 2001 at 02:57:23PM -0700, Dmitriy Shekhel wrote:
Kevin Lo specified at

I issued the make runcheck command to run a parallel regression test but got
the following error:

./ i686-pc-cygwin
=============== Removing old ./tmp_check directory ... ================
=============== Create ./tmp_check directory ================
=============== Installing new build into ./tmp_check ================
gmake: not found
To resolve the above, perform the following before executing make runcheck:

$ export MAKE=make
ERROR: Check installation failed - cannot continue
Please examine
/usr/src/postgresql-7.0.3/src/test/regress/tmp_check/log/install.log for the

make: *** [runcheck] Error 2

Strangely enough install.log file was not generated, so I couldn't check that
file. Hmmm...
I'm not sure how to set/change the owner of the db system. If I just
run initdb anyway I get:

basename: too many arguments
Try `basename --help' for more information.
This seems to imply that $0 contains unquoted spaces.
/cygdrive/c/PostgreSQL: not found
Not sure about this one.
Could not determine current user name. You are really hosed.
You either do not have an /etc/passwd file or it does not contain a
proper entry for the current user. Use the following:

$ mkpasswd -l >/etc/passwd


$ mkpasswd -d >/etc/passwd

to generate a valid passwd file for a workgroup or domain environment,

After all of this, you may find that the regression tests hang due to
postmaster aborting. See the following for more details:


Jason Tishler
Director, Software Engineering Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp. Fax: +1 (732) 264-8798
82 Bethany Road, Suite 7 Email: [email protected]
Hazlet, NJ 07730 USA WWW:

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppgsql-ports @
postedJan 11, '01 at 8:48p
activeJan 11, '01 at 8:48p

1 user in discussion

Jason Tishler: 1 post



site design / logo © 2023 Grokbase