Christopher Browne cbbrowne at ca.afilias.info
Tue Mar 13 08:57:54 PDT 2007
Thomas Pundt <mlists at rp-online.de> writes:
> On Thursday 08 March 2007 00:32, Christopher Browne wrote:
> | We are pleased to release versions 1.1.7 and 1.2.7, which contain
> | fixes for various problems found in these branches over the last
> | several months.
>
> I just tried to compile slony-1.1.7 on an Linux box and got the
> following error:
>
> # make
> make[1]: Entering directory `/usr/local/src/slony1-1.1.7/src'
> make[2]: Entering directory `/usr/local/src/slony1-1.1.7/src/xxid'
> gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I../.. -I/usr/local/pg81/include/ -I/usr/local/pg81/include/postgresql/server/  -c -o 
> xxid.o xxid.c
> gcc -shared -o xxid.so xxid.o
> make[2]: *** No rule to make target `xxid.v74.sql', needed by `all'.  Stop.
> make[2]: Leaving directory `/usr/local/src/slony1-1.1.7/src/xxid'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/local/src/slony1-1.1.7/src'
> make: *** [all] Error 2
>
> and indeed, there is no file xxid.v74.sql in the archive. It only has
> a xxid.v73.sql...

Oh, dear.  That is a regression that is presumably my fault.

In version 1.1, the "ultimate source" for the xxid SQL is
xxid.v73.sql; in version 1.2, that changes to xxid.v74.sql (as we drop
PostgreSQL 7.3 support).  Evidently I have made the mistake of
applying some of those 1.2 revisions to 1.1 :-(.  

I'm changing that now.

You can work around this simply via:
  cp xxid.v73.sql xxid.v74.sql

I just committed a fix to the 1.1 branch for this that visibly works better:

cbbrowne at dba2:CMD/slony1-1.1/src/xxid> ls -l
total 116
drwxr-xr-x 2 cbbrowne users  4096 Mar 13 15:56 CVS
-rwxr-xr-- 1 cbbrowne users  1754 Mar 13 15:56 Makefile
-rwxr-x--- 1 cbbrowne users  9037 Jan  6  2006 xxid.c
-rw-r--r-- 1 cbbrowne users 31684 Mar 13 15:56 xxid.o
-rwxr-xr-x 1 cbbrowne users 30524 Mar 13 15:56 xxid.so
-rwxr-x--- 1 cbbrowne users  5376 Jan  6  2006 xxid.v73.sql
-rwxr-x--- 1 cbbrowne users  5376 Mar 13 15:56 xxid.v74.sql
-rwxr-x--- 1 cbbrowne users  5376 Mar 13 15:56 xxid.v80.sql
-rwxr-x--- 1 cbbrowne users  5376 Mar 13 15:56 xxid.v81.sql
cbbrowne at dba2:CMD/slony1-1.1/src/xxid> make clean
rm -f xxid.so xxid.o 
rm -f xxid.v74.sql xxid.v80.sql xxid.v81.sql
cbbrowne at dba2:CMD/slony1-1.1/src/xxid> make
gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I../.. -I/opt/OXRS/dbs/pgsql745/include/ -I/opt/OXRS/dbs/pgsql745/include/server/  -c -o xxid.o xxid.c
gcc -shared -o xxid.so xxid.o
cp xxid.v73.sql xxid.v74.sql
cp xxid.v74.sql xxid.v80.sql
cp xxid.v80.sql xxid.v81.sql
-- 
let name="cbbrowne" and tld="ca.afilias.info" in String.concat "@" [name;tld];;
<http://dba2.int.libertyrms.com/>
Christopher Browne
(416) 673-4124 (land)


More information about the Slony1-general mailing list