<div dir="ltr"><div>Filed a bug in Bugzilla</div><a href="http://www.slony.info/bugzilla/show_bug.cgi?id=315">http://www.slony.info/bugzilla/show_bug.cgi?id=315</a><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Sep 12, 2013 at 2:49 PM, Athanasios Kostopoulos <span dir="ltr">&lt;<a href="mailto:athanasios.kostopoulos@classmarkets.com" target="_blank">athanasios.kostopoulos@classmarkets.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Thanks for your reply Steven. However I do not think that is the case. Here is an excerpt from my config log<div><div>PGBINDIR=&#39;/usr/lib/postgresql/8.4/bin/&#39;</div><div>PGINCLUDEDIR=&#39;/usr/include/postgresql/&#39;</div>

<div>PGINCLUDESERVERDIR=&#39;/usr/include/postgresql/8.4/server/&#39;</div><div>PGLIBDIR=&#39;/usr/lib/&#39;</div><div>PGPKGLIBDIR=&#39;/usr/lib/postgresql/8.4/lib/&#39;</div><div>PGSHAREDIR=&#39;/usr/share/postgresql/8.4/&#39;</div>

<div>PG_VERSION=&#39;8.4&#39;</div><div>PG_VERSION_MAJOR=&#39;8&#39;</div><div>PG_VERSION_MINOR=&#39;4&#39;</div></div><div><br></div><div>This clearly indicates that I am trying to compile against 8.4, unless I am grossly mislead :-)</div>

</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 12, 2013 at 2:43 PM, Steve Singer <span dir="ltr">&lt;<a href="mailto:ssinger@ca.afilias.info" target="_blank">ssinger@ca.afilias.info</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 09/12/2013 06:41 AM, Athanasios Kostopoulos wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear list,<br>
I have the following issue. I need to add a node to slony setup. The<br>
rest of the nodes are Debian squeeze with slony 2.1.1 built from source<br>
(not my decision). I tried adding a node with Debian Wheezy and slony<br>
1.2.2+backported fixes - no luck I got a version incompatibility error.<br>
So I decided to build Slony from source. ./configure goes around fine<br>
however when I try to make the file I get the following warnings/errors:<br>
<br>
</blockquote>
<br>
<br></div>
I suspect you are picking up header files from a different version of postgresql than configure is running against.   The answer lies in the output of your config.log file<br>
<br>
I think your configure is picking up PG 9.2 but your building against PG 8.4.  Make sure that your running configure with the --with-pgconfigdir option that points to the directory containing the pg_config binary for the PG version you want to build against.<br>


<br>
<br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../..<br>
-fpic -I/usr/include/postgresql/8.4/<u></u>server/ -I/usr/include/postgresql/<br>
  -c -o slony1_funcs.o slony1_funcs.c<br>
slony1_funcs.c: In function ‘_Slony_I_createEvent’:<br>
slony1_funcs.c:146:10: warning: variable ‘buf_size’ set but not used<br>
[-Wunused-but-set-variable]<br>
slony1_funcs.c: In function ‘_Slony_I_logTrigger’:<br>
slony1_funcs.c:464:7: error: too many arguments to function<br>
‘set_config_option’<br>
In file included from slony1_funcs.c:36:0:<br>
/usr/include/postgresql/8.4/<u></u>server/utils/guc.h:265:13: note: declared here<br>
slony1_funcs.c:509:13: error: too many arguments to function<br>
‘set_config_option’<br>
In file included from slony1_funcs.c:36:0:<br>
/usr/include/postgresql/8.4/<u></u>server/utils/guc.h:265:13: note: declared here<br>
slony1_funcs.c:592:5: warning: implicit declaration of function<br>
‘compatible_oper_funcid’ [-Wimplicit-function-<u></u>declaration]<br>
slony1_funcs.c:592:5: warning: implicit declaration of function<br>
‘makeList1’ [-Wimplicit-function-<u></u>declaration]<br>
slony1_funcs.c:638:10: error: too many arguments to function<br>
‘set_config_option’<br>
In file included from slony1_funcs.c:36:0:<br>
/usr/include/postgresql/8.4/<u></u>server/utils/guc.h:265:13: note: declared here<br>
slony1_funcs.c:645:10: error: too many arguments to function<br>
‘set_config_option’<br>
In file included from slony1_funcs.c:36:0:<br>
/usr/include/postgresql/8.4/<u></u>server/utils/guc.h:265:13: note: declared here<br>
make[2]: *** [slony1_funcs.o] Error 1<br>
make[2]: Leaving directory `/root/slony1-2.1.1/src/<u></u>backend&#39;<br>
make[1]: *** [all] Error 2<br>
make[1]: Leaving directory `/root/slony1-2.1.1/src&#39;<br>
make: *** [all] Error 2<br>
<br>
Debian wheezy is using gcc (Debian 4.7.2-5) 4.7.2 whereas Debian Squeeze<br>
is using gcc (Debian 4.4.5-8) 4.4.5<br>
<br>
Am I missing something? Is it possible to build Slony 2.1.1 from vanilla<br>
source under Debian Wheezy? Do I need to do a hack someplace?  Thanks in<br>
advance for any replies.<br>
<br></div></div>
classmarkets GmbH | Schumannstraße 6 | 10117 Berlin | Deutschland<br>
Tel: <a href="tel:%2B49%20%280%2930%2056%2059%20001-0" value="+493056590010" target="_blank">+49 (0)30 56 59 001-0</a> | Fax: <a href="tel:%2B49%20%280%2930%2056%2059%20001-99" value="+4930565900199" target="_blank">+49 (0)30 56 59 001-99</a> |<br>


<a href="http://www.classmarkets.com" target="_blank">www.classmarkets.com</a> &lt;<a href="http://www.classmarkets.com" target="_blank">http://www.classmarkets.com</a>&gt;<br>
<br>
Amtsgericht Charlottenburg HRB 111815 B | <a href="http://USt.Id.Nr" target="_blank">USt.Id.Nr</a> &lt;<a href="http://USt.Id.Nr" target="_blank">http://USt.Id.Nr</a>&gt;:<br>
DE 260731582<br>
Geschäftsführer: Veit Mürz, Fabian Ströhle<br>
<br>
Diese Nachricht (inklusive aller Anhänge) ist vertraulich. Sie darf<br>
ausschließlich durch den vorgesehenen Empfänger und Adressaten gelesen,<br>
kopiert oder genutzt werden. Sollten Sie diese Nachricht versehentlich<br>
erhalten haben, bitten wir, den Absender (durch Antwort-E-Mail) hiervon<br>
unverzüglich zu informieren und die Nachricht zu löschen. Jede<br>
unerlaubte Nutzung oder Weitergabe des Inhalts dieser Nachricht, sei es<br>
vollständig oder teilweise, ist unzulässig. Bitte beachten Sie, dass<br>
E-Mail-Nachrichten an den Absender nicht für fristgebundene Mitteilungen<br>
geeignet sind. Fristgebundene Mitteilungen sind daher ausschließlich per<br>
Post oder per Telefax zu übersenden.<br>
<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>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>

<br>








<p><font size="2">classmarkets GmbH | Schumannstraße 6 | 10117 Berlin | Deutschland<br>Tel: +49 (0)30 56 59 001-0 | Fax: +49 (0)30 56 59 001-99 | <a href="http://www.classmarkets.com" target="_blank">www.classmarkets.com</a></font></p><p><font size="2">Amtsgericht Charlottenburg HRB 111815 B | <a href="http://USt.Id.Nr" target="_blank">USt.Id.Nr</a>: DE 260731582<br>Geschäftsführer: Veit Mürz, Fabian Ströhle</font></p>
<p><font size="2">Diese Nachricht (inklusive aller Anhänge) ist vertraulich. Sie darf ausschließlich durch den vorgesehenen Empfänger und Adressaten gelesen, kopiert oder genutzt werden. Sollten Sie diese Nachricht versehentlich erhalten haben, bitten wir, den Absender (durch Antwort-E-Mail) hiervon unverzüglich zu informieren und die Nachricht zu löschen. Jede unerlaubte Nutzung oder Weitergabe des Inhalts dieser Nachricht, sei es vollständig oder teilweise, ist unzulässig. Bitte beachten Sie, dass E-Mail-Nachrichten an den Absender nicht für fristgebundene Mitteilungen geeignet sind. Fristgebundene Mitteilungen sind daher ausschließlich per Post oder per Telefax zu übersenden.</font></p>