<div dir="ltr">The only work around I see now if to set the CPPFLAGS in the environment to the server include directory, so that CPPFLAGS_CLIENT takes it in the Makefile.global.<br><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Nov 26, 2013 at 7:05 PM, Steve Singer <span dir="ltr"><<a href="mailto:ssinger@ca.afilias.info" target="_blank">ssinger@ca.afilias.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 11/26/2013 04:14 AM, Sandeep Thakkar wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
I was building Slony1-2.2.1 sources on Mac OS X and found that the build<br>
fails because of:<br>
<br>
slonik.c:49:18: error: port.h: No such file or directory<br>
CPPFLAGS is now defined to just CPPFLAGS_CLIENT that does not include<br>
the PG "server" include directory<br>
('<pginstall>/include/<u></u>postgresql/server' contains port.h). Any specific<br>
reason why this change was made in 2.2.1?<br>
<br>
</blockquote>
<br>
<br>
</div></div><a href="http://www.slony.info/bugzilla/show_bug.cgi?id=315" target="_blank">http://www.slony.info/<u></u>bugzilla/show_bug.cgi?id=315</a><br>
<br>
On systems that have multiple versions of postgresql installed might pull in files for the client from one version and server includes from another. You used to be able to get away with this but in more recent versions of PG this breaks things.<br>
<br>
I am not exactly sure what the best way to deal with this in the PGPORT case? I have a feeling just adding the server includes back in on --with-pgport builds will get us back to the bug 315 situation<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
--<br>
Sandeep Thakkar<br>
<br>
<br>
______________________________<u></u>_________________<br>
Slony1-general mailing list<br>
<a href="mailto:Slony1-general@lists.slony.info" target="_blank">Slony1-general@lists.slony.<u></u>info</a><br>
<a href="http://lists.slony.info/mailman/listinfo/slony1-general" target="_blank">http://lists.slony.info/<u></u>mailman/listinfo/slony1-<u></u>general</a><br>
<br>
</blockquote>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Sandeep Thakkar<div><br></div></div>
</div></div>