[Pgcluster-general] Problem with making PGCluster 1.7.0rc7

Antony Petropavlovsky petr at transocean.com.ua
Tue May 15 09:08:35 UTC 2007


I try this patch:

Download PostgreSQL 8.2.4 from www.postgresql.org

> tar xvf postgresql-8.2.4.tar
> cd postgresql-8.2.4
> fetch http://developer.postgresql.org/~devrim/pgcluster-
1.7.0rc8.patch.tar.gz
> tar zxvf pgcluster-1.7.0rc8.patch.tar.gz
> patch -p1 < pgcluster-1.7.0rc8.patch
> ./configure
Is ok
> gmake

...
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-
after-statement -Wendif-labels -fno-strict-aliasing -DUSE_REPLICATION -
DPRINT_DEBUG -I. -I../../../src/include   -c -o keywords.o keywords.c
keywords.c:284: error: `REPLICATION' undeclared here (not in a function)
keywords.c:284: error: initializer element is not constant
keywords.c:284: error: (near initialization for `ScanKeywords[250].value')
keywords.c:284: error: initializer element is not constant
keywords.c:284: error: (near initialization for `ScanKeywords[250]')
...


> Hello,
> 
> On Mon, 2007-05-14 at 19:18 +0300, Antony Petropavlovsky wrote:
> > I have problem with compiling PGCluster 1.7.0rc7 on FreeBSD 6.0.
> 
> Thanks for the report! Could you please test this patch :
> 
> http://developer.postgresql.org/~devrim/pgcluster-1.7.0rc8.patch.tar.gz
> 
> This is against 8.2.4. Please patch postgresql 8.2.4 using this file.
> 
> Regards,
> -- 
> Devrim [UTF-8?]Gц°NDц°Z
> PostgreSQL Replication, Consulting, Custom Development, 24x7 support
> Managed Services, Shared and Dedicated Hosting
> Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/


--
Antony



More information about the Pgcluster-general mailing list