Robert Wysocki robert.wysocki at contium.pl
Fri Aug 31 09:16:46 PDT 2012
Hi,

I'm trying to compile Slony-I 2.0.7 for PostgreSQL 8.3.17.

I have following packages installed:

postgresql-8.3 8.3.17-0lenny1
postgresql-client-8.3 8.3.17-0lenny1
postgresql-client-common 94lenny1
postgresql-common 94lenny1
postgresql-contrib-8.3 8.3.17-0lenny1
postgresql-server-dev-8.3 8.3.17-0lenny1

I'm using following configure line:
./configure --with-pgconfigdir=/usr/lib/postgresql/8.3/bin/

After issuing make i got following error:
gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../..
-fpic -I/usr/include/postgresql/ -I/usr/include/postgresql/8.3/server/
-c -o slony1_funcs.o slony1_funcs.c
In file included
from /usr/include/postgresql/8.3/server/access/tupdesc.h:18,
                 from /usr/include/postgresql/8.3/server/utils/rel.h:17,

from /usr/include/postgresql/8.3/server/parser/parse_node.h:18,

from /usr/include/postgresql/8.3/server/parser/parse_type.h:17,
                 from slony1_funcs.c:26:
/usr/include/postgresql/8.3/server/catalog/pg_attribute.h:44: error:
expected ‘)’ before numeric constant
/usr/include/postgresql/8.3/server/catalog/pg_attribute.h:152: warning:
data definition has no type or storage class
/usr/include/postgresql/8.3/server/catalog/pg_attribute.h:152: warning:
type defaults to ‘int’ in declaration of ‘FormData_pg_attribute’
/usr/include/postgresql/8.3/server/catalog/pg_attribute.h:167: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/postgresql/8.3/server/catalog/pg_attribute.h:252: error:
expected ‘)’ before ‘(’ token
/usr/include/postgresql/8.3/server/catalog/pg_attribute.h:253: error:
expected ‘)’ before ‘(’ token
/usr/include/postgresql/8.3/server/catalog/pg_attribute.h:254: error:
expected ‘)’ before ‘(’ token
/usr/include/postgresql/8.3/server/catalog/pg_attribute.h:255: error:
expected ‘)’ before ‘(’ token
....
/usr/include/postgresql/8.3/server/catalog/pg_proc.h:4415: error:
expected ‘)’ before ‘OID’
/usr/include/postgresql/8.3/server/catalog/pg_proc.h:4416: error:
expected declaration specifiers or ‘...’ before string constant
/usr/include/postgresql/8.3/server/catalog/pg_proc.h:4416: warning: data
definition has no type or storage class
/usr/include/postgresql/8.3/server/catalog/pg_proc.h:4416: warning: type
defaults to ‘int’ in declaration of ‘DESCR’
slony1_funcs.c: In function ‘_Slony_I_logTrigger’:
slony1_funcs.c:383: error: ‘RelationData’ has no member named ‘rd_att’
slony1_funcs.c:405: error: ‘RelationData’ has no member named ‘rd_att’
...

What am I doing wrong?

Best regards,
-- 
Robert Wysocki
administrator systemów linuksowych
Contium S.A., http://www.contium.pl




More information about the Slony1-general mailing list