Thu Sep 12 05:43:49 PDT 2013
- Previous message: [Slony1-general] Slony 2.1.1 will not build on Debian Wheezy
- Next message: [Slony1-general] Slony 2.1.1 will not build on Debian Wheezy
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 09/12/2013 06:41 AM, Athanasios Kostopoulos wrote: > 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: > 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 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. > 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 <http://www.classmarkets.com> > > Amtsgericht Charlottenburg HRB 111815 B | USt.Id.Nr <http://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. > > > > _______________________________________________ > Slony1-general mailing list > Slony1-general at lists.slony.info > http://lists.slony.info/mailman/listinfo/slony1-general >
- Previous message: [Slony1-general] Slony 2.1.1 will not build on Debian Wheezy
- Next message: [Slony1-general] Slony 2.1.1 will not build on Debian Wheezy
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list