collection of pgcluster installation errors
2008-09-16 16:53
[ZL]
Here comes a brief list of pgcluster installation errors and their solutions.
Q1: on FreeBSD-7.0/i386
/usr/bin/ld: cannot find -lc_r
A1: FreeBSD-7.0 does not support libc_r any more. Use libpthread instead which can be applied by this patch.
Q2: compile error with the following output:
keywords.c:301: error: `REPLICATION' undeclared here (not in a function)
keywords.c:301: error: initializer element is not constant
[...]
keywords.c:414: error: initializer element is not constant
keywords.c:414: error: (near initialization for `ScanKeywords[371]')
keywords.c:415: error: initializer element is not constant
keywords.c:415: error: (near initialization for `ScanKeywords[372]')
gmake[3]: *** [keywords.o] Error 1
A2: Install bison (/usr/ports/devel/bison)
Q3: compile error with ths following output:
libpq/SUBSYS.o(.text+0x1083d): In function `set_recovery_packet':
: undefined reference to `cuserid'
A3: make needs -lcompat switch on one point of the compiling postgres. Use this patch.
Q1: on FreeBSD-7.0/i386
/usr/bin/ld: cannot find -lc_r
A1: FreeBSD-7.0 does not support libc_r any more. Use libpthread instead which can be applied by this patch.
Q2: compile error with the following output:
keywords.c:301: error: `REPLICATION' undeclared here (not in a function)
keywords.c:301: error: initializer element is not constant
[...]
keywords.c:414: error: initializer element is not constant
keywords.c:414: error: (near initialization for `ScanKeywords[371]')
keywords.c:415: error: initializer element is not constant
keywords.c:415: error: (near initialization for `ScanKeywords[372]')
gmake[3]: *** [keywords.o] Error 1
A2: Install bison (/usr/ports/devel/bison)
Q3: compile error with ths following output:
libpq/SUBSYS.o(.text+0x1083d): In function `set_recovery_packet':
: undefined reference to `cuserid'
A3: make needs -lcompat switch on one point of the compiling postgres. Use this patch.
postgresql 8.3.3 + pgcluster 1.9rc5 - update 1
2008-09-16 12:54
[ZL]
I updated pgclusterz ports by last days' experience.
Compatibility tested with FreeBSD 6.3 amd64 and 7.0 i386.
Download tgz format or browse by files:
Compatibility tested with FreeBSD 6.3 amd64 and 7.0 i386.
Download tgz format or browse by files:
postgresql 8.3.3 + pgcluster 1.9rc5
2008-09-11 15:09
[ZL]
I created a very basic port skeleton for pgcluster to simplify the installation process on FreeBSD.
The port skeleton should be placed on /usr/ports/databases/pgclusterz . Compatibility tested with FreeBSD 6.3 amd64.
Download tgz format or browse by files:
The port skeleton should be placed on /usr/ports/databases/pgclusterz . Compatibility tested with FreeBSD 6.3 amd64.
Download tgz format or browse by files:

[magyar]