Steve Singer ssinger at ca.afilias.info
Tue Nov 26 05:35:18 PST 2013
On 11/26/2013 04:14 AM, Sandeep Thakkar wrote:
> Hi
>
> I was building Slony1-2.2.1 sources on Mac OS X and found that the build
> fails because of:
>
> slonik.c:49:18: error: port.h: No such file or directory
> CPPFLAGS is now defined to just CPPFLAGS_CLIENT that does not include
> the PG "server" include directory
> ('<pginstall>/include/postgresql/server' contains port.h). Any specific
> reason why this change was made in 2.2.1?
>


http://www.slony.info/bugzilla/show_bug.cgi?id=315

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.

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





> --
> Sandeep Thakkar
>
>
> _______________________________________________
> Slony1-general mailing list
> Slony1-general at lists.slony.info
> http://lists.slony.info/mailman/listinfo/slony1-general
>



More information about the Slony1-general mailing list