Athanasios Kostopoulos athanasios.kostopoulos at classmarkets.com
Thu Sep 12 06:24:43 PDT 2013
Filed a bug in Bugzilla
http://www.slony.info/bugzilla/show_bug.cgi?id=315


On Thu, Sep 12, 2013 at 2:49 PM, Athanasios Kostopoulos <
athanasios.kostopoulos at classmarkets.com> wrote:

> Thanks for your reply Steven. However I do not think that is the case.
> Here is an excerpt from my config log
> PGBINDIR='/usr/lib/postgresql/8.4/bin/'
> PGINCLUDEDIR='/usr/include/postgresql/'
> PGINCLUDESERVERDIR='/usr/include/postgresql/8.4/server/'
> PGLIBDIR='/usr/lib/'
> PGPKGLIBDIR='/usr/lib/postgresql/8.4/lib/'
> PGSHAREDIR='/usr/share/postgresql/8.4/'
> PG_VERSION='8.4'
> PG_VERSION_MAJOR='8'
> PG_VERSION_MINOR='4'
>
> This clearly indicates that I am trying to compile against 8.4, unless I
> am grossly mislead :-)
>
>
> On Thu, Sep 12, 2013 at 2:43 PM, Steve Singer <ssinger at ca.afilias.info>wrote:
>
>> 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 <Slony1-general at lists.slony.info>
>>> http://lists.slony.info/**mailman/listinfo/slony1-**general<http://lists.slony.info/mailman/listinfo/slony1-general>
>>>
>>>
>>
>

-- 
 

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/3194697a/attachment.htm 


More information about the Slony1-general mailing list