Re: WIP - MSVC build script replacements - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: WIP - MSVC build script replacements
Date
Msg-id 46F17A74.2030805@dunslane.net
Whole thread Raw
In response to Re: WIP - MSVC build script replacements  (Magnus Hagander <magnus@hagander.net>)
List pgsql-patches

Magnus Hagander wrote:
> I've tested this now. Build seems to work, at least in the basic sense.
>
> A regression:
> In buildenv.bat i have "set CONFIG=Debug", there appears tobe no way to
> do that anymore?
>

updated build.pl attached that should pick that up.

> Also, vcregress doesn't work for me. I put in buildenv.pl:
>
$ENV{PATH}="d:\prog\pgsql\depend\krb5\bin\i386;d:\prog\pgsql\depend\iconv\bin;d:\prog\pgsql\depend\libxml2\bin;d:\prog\pgsql\depend\zlib;$ENV{PATH};c:\win32app\gnuwin32\bin";
>
> But it still complains that it can't find my kerberos binaries when
> running the regression test. (fails to launch initdb because of missing
> krb5_32.dll)
>
>

In perl double quotes, you need to double backslashes.

Instead, I would do something like:

$ENV{PATH} = join (/;/,
'd:\prog\pgsql\depend\krb5\bin\i386',
'd:\prog\pgsql\depend\iconv\bin',
'd:\prog\pgsql\depend\libxml2\bin',
'd:\prog\pgsql\depend\zlib',
$ENV{PATH},
'c:\win32app\gnuwin32\bin'
);

cheers

andrew

Attachment

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_next_dst_boundary optimization
Next
From: Neil Conway
Date:
Subject: Re: Incorrect results from corr()