Does not build for PostgreSQL 8.2 (or earlier)
Bug #236749 reported by
Stuart Bishop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
slony1 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
There are no postgresql-
One of the major use cases of slony is to allow minimal downtime upgrades of large databases between major PostgreSQL releases starting with PostgreSQL 7.4. This is currently not possible as there are no slony1 packages for anything except PostgreSQL 8.3 in Ubuntu 8.04.
To post a comment you must log in.
I'm unable to come up with a workaround, as it no longer appears possible to build Slony 1.2.13 against PostgreSQL 8.2 on Hardy.
sudo apt-get install postgresql- server- dev-8.2 main.slony. info/downloads/ 1.2/source/ slony1- 1.2.13. tar.bz2 1.2.13. tar.bz2 | tar xf - pgconfigdir= /usr/lib/ postgresql/ 8.2/bin
wget -S http://
bunzip2 -c slony1-
cd slony1-1.2.13
./configure --with-
make
produces:
make[1]: Entering directory `/home/ stub/src/ slony1- 1.2.13/ src' stub/src/ slony1- 1.2.13/ src/xxid' prototypes -Wmissing- declarations -fpic -I../.. -I/usr/ include/ postgresql/ -I/usr/ include/ postgresql/ 8.2/server/ -c -o xxid.o xxid.c postgresql/ 8.2/server/ storage/ bufpage. h:17,
from /usr/include/ postgresql/ 8.2/server/ access/ relscan. h:18,
from /usr/include/ postgresql/ 8.2/server/ access/ heapam. h:18,
from /usr/include/ postgresql/ 8.2/server/ executor/ spi.h:22,
from xxid.c:20: postgresql/ 8.2/server/ storage/ bufmgr. h:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’ postgresql/ 8.2/server/ storage/ bufmgr. h:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘char’ postgresql/ 8.2/server/ storage/ bufmgr. h:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int32’ postgresql/ 8.2/server/ storage/ bufmgr. h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’ postgresql/ 8.2/server/ storage/ bufmgr. h:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Block’ postgresql/ 8.2/server/ storage/ bufmgr. h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int32’ postgresql/ 8.2/server/ access/ relscan. h:19,
from /usr/include/ postgresql/ 8.2/server/ access/ heapam. h:18,
from /usr/include/ postgresql/ 8.2/server/ executor/ spi.h:22,
from xxid.c:20: postgresql/ 8.2/server/ utils/tqual. h:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Snapshot’ postgresql/ 8.2/server/ utils/tqual. h:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Snapshot’ postgresql/ 8.2/server/ utils/tqual. h:74: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Snapshot’ postgresql/ 8.2/server/ utils/tqual. h:75: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Snapshot’ postgresql/ 8.2/server/ storage/ lock.h: 20,
from /usr/include/ postgresql/ 8.2/server/ storage/ lmgr.h: 17,
from /usr/include/ postgresql/ 8.2/server/ access/ heapam. h:24,
from /usr/include/ postgresql/ 8.2/server/ executor/ spi.h:22,
from xxid.c:20: postgresql/ 8.2/server/ storage/ shmem.h: 38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘SHMEM_OFFSET’ postgresql/ 8.2/server/ utils/resowner. h:23,
from /usr/include/ postgresql/ 8.2/server/ utils/portal. h:50,
from /...
make[2]: Entering directory `/home/
gcc -g -O2 -Wall -Wmissing-
In file included from /usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
In file included from /usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
In file included from /usr/include/
/usr/include/
In file included from /usr/include/