Re: building on windows using VC 2008

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Dave Cramer <davecramer(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: building on windows using VC 2008
Date: 2016-03-13 05:45:05
Message-ID: CAB7nPqToWXAf+u+_55guqLtg+2S29PZxhRwE9y4iPzkkL1ypmw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Mar 13, 2016 at 2:07 AM, Dave Cramer <davecramer(at)gmail(dot)com> wrote:
> Getting lots of POSTGRESQL_TRACE_... undefined.
>
> Any hints ?

Those are coming from probes.h, that gets automatically generated in a
VC build by running psed. My guess is that you are using ActivePerl
5.22 that does not include psed by default in its distribution. You
will need to patch partially the MSVC scripts in src/tools/msvc to fix
that, one way is 0001 that I sent here:
http://www.postgresql.org/message-id/CAB7nPqT5oGZEZawKZVjxuT=C5QEK_eUfc1J7KNpCbv5rCtr0+g@mail.gmail.com
Another if you have sed in PATH, is to replace psed by sed.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2016-03-13 06:48:46 Re: [patch] Proposal for \crosstabview in psql
Previous Message Regina Obe 2016-03-13 05:32:48 Re: Is there a way around function search_path killing SQL function inlining? - and backup / restore issue