| From: | Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com> |
|---|---|
| To: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | master fails to build on Windows |
| Date: | 2018-05-18 09:29:38 |
| Message-ID: | CANFyU944GdHr=puPbA78STnqr=8kgMrGF-VDHck6aO_-qNDALg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi
I was building the sources I got from https://www.postgresql.org/
ftp/snapshot/dev/ on Windows x64 and got the whole bunch of errors
like "*Cannot
open include file: 'catalog/pg_type_d.h"* , *"Cannot open include file:
'catalog/pg_tablespace_d.h'" . *I've attached the log.
The renaming was done as part of following commit, but the location where
*_d.h are present is not included in INCLUDE. Example: pg_type.h is present
at *src/include/catalog/ *and pg_type_d.h is present at
*src/backend/catalog/*. I added the required path in MSBuildProject.pm and
the build is passed. Here is the diff:
298c298
< <AdditionalIncludeDirectories>$self->{prefixincludes}src/
include;src/include/port/win32;src/include/port/win32_msvc;$includes\%(
AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
---
> <AdditionalIncludeDirectories>$self->{prefixincludes}src/
include;src/backend;src/include/port/win32;src/include/port/win32_msvc;$
includes\%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
commit 9c0a0de4c91b2dc911220d769cf2c5f754cfcb90
Author: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Date: Sun Apr 8 13:59:52 2018 -0400
--
Sandeep Thakkar
| Attachment | Content-Type | Size |
|---|---|---|
| v11-win64-errors.log | application/octet-stream | 74.3 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amit Kapila | 2018-05-18 10:28:16 | Re: Postgres 11 release notes |
| Previous Message | Kyotaro HORIGUCHI | 2018-05-18 08:29:49 | Re: Problem while updating a foreign table pointing to a partitioned table on foreign server |