Re: pg_regress breaks on msys

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_regress breaks on msys
Date: 2006-07-19 21:53:40
Message-ID: 16242.1153346020@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

I wrote:
> I don't see where cwd enters into it. The thing I don't understand is
> that the value of the make variable $(bindir) is apparently changing.
> How can it, when it's been hard-wired into Makefile.global by configure?

After some googling I gather that msys' make has been hacked to
transform paths between actual Windows paths and virtual paths
at what-they-think-are-strategic spots. If this is correct, then
I think our problem is that the method I used to inject the values
of $(bindir) and friends into pg_regress.c ends up supplying actual
Windows paths, where we would much rather it supplied virtual paths.

An alternative method I had considered using was to have pg_regress.c
get the paths by #including pg_config_paths.h. Can anyone say whether
pg_config_paths.h receives real or virtual paths when building under
mingw?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2006-07-19 21:55:01 Re: pgxs problem
Previous Message Joe Conway 2006-07-19 21:41:36 Re: [PATCHES] 8.2 features?

Browse pgsql-patches by date

  From Date Subject
Next Message Jim C. Nasby 2006-07-20 00:11:26 Re: Resurrecting per-page cleaner for btree
Previous Message Joe Conway 2006-07-19 21:41:36 Re: [PATCHES] 8.2 features?