Re: WIP - MSVC build script replacements

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: WIP - MSVC build script replacements
Date: 2007-09-19 19:37:24
Message-ID: 46F17A74.2030805@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
build.pl application/x-perl 1.0 KB

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Guillaume Smet 2007-09-19 20:12:56 Re: like/ilike improvements
Previous Message Gregory Stark 2007-09-19 19:02:09 Re: curious regression failures