Обсуждение: building on windows using VC 2008

Поиск
Список
Период
Сортировка

building on windows using VC 2008

От
Dave Cramer
Дата:
Getting lots of POSTGRESQL_TRACE_... undefined.

Any hints ?
Dave Cramer

Re: building on windows using VC 2008

От
Michael Paquier
Дата:
On Sun, Mar 13, 2016 at 2:07 AM, Dave Cramer <davecramer@gmail.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