Athanasios Kostopoulos athanasios.kostopoulos at classmarkets.com
Thu Sep 12 03:41:45 PDT 2013
Dear list,
I have the following issue. I need to add a node to slony setup. The rest
of the nodes are Debian squeeze with slony 2.1.1 built from source (not my
decision). I tried adding a node with Debian Wheezy and slony
1.2.2+backported fixes - no luck I got a version incompatibility error. So
I decided to build Slony from source. ./configure goes around fine however
when I try to make the file I get the following warnings/errors:

gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../.. -fpic
-I/usr/include/postgresql/8.4/server/ -I/usr/include/postgresql/  -c -o
slony1_funcs.o slony1_funcs.c
slony1_funcs.c: In function ‘_Slony_I_createEvent’:
slony1_funcs.c:146:10: warning: variable ‘buf_size’ set but not used
[-Wunused-but-set-variable]
slony1_funcs.c: In function ‘_Slony_I_logTrigger’:
slony1_funcs.c:464:7: error: too many arguments to function
‘set_config_option’
In file included from slony1_funcs.c:36:0:
/usr/include/postgresql/8.4/server/utils/guc.h:265:13: note: declared here
slony1_funcs.c:509:13: error: too many arguments to function
‘set_config_option’
In file included from slony1_funcs.c:36:0:
/usr/include/postgresql/8.4/server/utils/guc.h:265:13: note: declared here
slony1_funcs.c:592:5: warning: implicit declaration of function
‘compatible_oper_funcid’ [-Wimplicit-function-declaration]
slony1_funcs.c:592:5: warning: implicit declaration of function ‘makeList1’
[-Wimplicit-function-declaration]
slony1_funcs.c:638:10: error: too many arguments to function
‘set_config_option’
In file included from slony1_funcs.c:36:0:
/usr/include/postgresql/8.4/server/utils/guc.h:265:13: note: declared here
slony1_funcs.c:645:10: error: too many arguments to function
‘set_config_option’
In file included from slony1_funcs.c:36:0:
/usr/include/postgresql/8.4/server/utils/guc.h:265:13: note: declared here
make[2]: *** [slony1_funcs.o] Error 1
make[2]: Leaving directory `/root/slony1-2.1.1/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/slony1-2.1.1/src'
make: *** [all] Error 2

Debian wheezy is using gcc (Debian 4.7.2-5) 4.7.2 whereas Debian Squeeze is
using gcc (Debian 4.4.5-8) 4.4.5

Am I missing something? Is it possible to build Slony 2.1.1 from vanilla
source under Debian Wheezy? Do I need to do a hack someplace?  Thanks in
advance for any replies.

-- 
 

classmarkets GmbH | Schumannstraße 6 | 10117 Berlin | Deutschland
Tel: +49 (0)30 56 59 001-0 | Fax: +49 (0)30 56 59 001-99 | 
www.classmarkets.com

Amtsgericht Charlottenburg HRB 111815 B | USt.Id.Nr: DE 260731582
Geschäftsführer: Veit Mürz, Fabian Ströhle

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.slony.info/pipermail/slony1-general/attachments/20130912/42d0a868/attachment.htm 


More information about the Slony1-general mailing list