<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">I am attempting to build Slony 1.2.0 on a 64-bit machine running CentOS 7 and Postgresql 9.2.15.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Running the configure portion appears to work fine, as far as I can tell. However, when I attempt to run the gmake all step, I get the block of errors below.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">[####@#### slony1-1.2.0]# gmake all<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">gmake[1]: Entering directory `/home/slony/slony1-1.2.0/src'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">gmake[2]: Entering directory `/home/slony/slony1-1.2.0/src/xxid'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">gcc -g -O2 -fpic -I../.. -I/usr/include/ -I/usr/include/pgsql/server/ -c -o xxid.o xxid.c<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">xxid.c: In function â_Slony_I_getMinXidâ:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">xxid.c:231:6: error: âSerializableSnapshotâ undeclared (first use in this function)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> if (SerializableSnapshot == NULL)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> ^<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">xxid.c:231:6: note: each undeclared identifier is reported only once for each function it appears in<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">xxid.c: In function â_Slony_I_getMaxXidâ:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">xxid.c:244:6: error: âSerializableSnapshotâ undeclared (first use in this function)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> if (SerializableSnapshot == NULL)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> ^<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">gmake[2]: *** [xxid.o] Error 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">gmake[2]: Leaving directory `/home/slony/slony1-1.2.0/src/xxid'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">gmake[1]: *** [all] Error 2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">gmake[1]: Leaving directory `/home/slony/slony1-1.2.0/src'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">gmake: *** [all] Error 2<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve tried to look that message up, but everything I’ve seen online seems to indicate that I’m missing some set of postgresql library files. I’ve verified, to the best of my ability, that I’ve got the same packages installed on this machine
as on a previous one where slony is running properly. (The other, working machine is also running 64-bit CentOS.)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The postgresql packages I have installed on this machine are, as shown in ‘yum list installed’:<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">postgresql.x86_64 9.2.15-1.el7_2 @updates<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">postgresql-contrib.x86_64 9.2.15-1.el7_2 @updates<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">postgresql-devel.x86_64 9.2.15-1.el7_2 @updates<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">postgresql-docs.x86_64 9.2.15-1.el7_2 @updates<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">postgresql-libs.x86_64 9.2.15-1.el7_2 @updates<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">postgresql-server.x86_64 9.2.15-1.el7_2 @updates</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Please, help me to determine what I’m missing, whether it’s some uninstalled package, or whether it’s something completely different that I simply can’t see.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you,<o:p></o:p></p>
<p class="MsoNormal">Andrew Edson<o:p></o:p></p>
<p class="MsoNormal">Application Software, Inc.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>