From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Brar Piening <brar(at)gmx(dot)de> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: %ENV warnings during builds |
Date: | 2011-07-05 15:25:46 |
Message-ID: | 4E132CFA.6060604@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 07/05/2011 02:30 AM, Brar Piening wrote:
> schrieb Andrew Dunstan:
>> Hmm, I missed that you had done this. Here are two replacement perl
>> scripts I knocked up, but haven't yet tested. One of the things about
>> them is that they remove knowledge of particular .l and .y files. and
>> instead get the required invocation options from the relevant
>> Makefiles. I think that's a lot better than the horrid hackery we
>> have in the batch files.
>
> Yep - they certainly look ways less messy than what I've created as a
> simple perl version of the batch files.
>
> But I get "Undefined subroutine &main::dirname called at
> src\tools\msvc\pgflex.pl line 36." if I try to build with them.
>
> I'll update my patch to remove my versions once they are fixed and
> commited.
Try attached instead.
The bat wrappers just need to read:
@echo off
@perl src/tools/msvc/pgflex.pl %*
and
@echo off
@perl src/tools/msvc/pgbison.pl %*
cheers
andrew
Attachment | Content-Type | Size |
---|---|---|
pgflex.pl | application/x-perl | 1.5 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2011-07-05 15:26:12 | Re: Range Types, constructors, and the type system |
Previous Message | Robert Haas | 2011-07-05 15:23:11 | Re: [HACKERS] COPY .... WITH (FORMAT binary) causes syntax error at or near "binary" |