Christopher Browne cbbrowne at ca.afilias.info
Thu Mar 18 11:37:27 PDT 2010
Hari Kiran <hari.kiran at enterprisedb.com> writes:
> I am trying to install Slony (slony1-1.2.0) on a Linux 64bit Operating System.
>
> The Configure option looks like:-
> ./configure --prefix=<bin dir> --with-pgconfigdir=<bin dir> --with-perltools=
> <bin dir>
>
> I ran into problems while running the "make" 
>
> The error log looks like:
>
> [root at box1 slony1-1.2.0]# make
> make[1]: Entering directory `/usr/local/src/slony1-1.2.0/src'
> make[2]: Entering directory `/usr/local/src/slony1-1.2.0/src/xxid'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/usr/local/src/slony1-1.2.0/src/xxid'
> make[2]: Entering directory `/usr/local/src/slony1-1.2.0/src/parsestatements'
> ./test-scanner < /dev/null > emptytestresult.log
> cmp ./emptytestresult.log emptytestresult.expected
> ./test-scanner < ./test_sql.sql > test_sql.log
> cmp ./test_sql.log ./test_sql.expected
> make[2]: Leaving directory `/usr/local/src/slony1-1.2.0/src/parsestatements'
> make[2]: Entering directory `/usr/local/src/slony1-1.2.0/src/slon'
> gcc -g -O2 -pthread -I../.. -I../../src/slon -o slon slon.o runtime_config.o
> local_listen.o remote_listen.o remote_worker.o sync_thread.o cleanup_thread.o
> scheduler.o dbutils.o conf-file.o confoptions.o misc.o ../parsestatements/
> scanner.o -pthread -L/usr/local/postgresql-8.3.7/lib/ -L/usr/local/
> postgresql-8.3.7/lib/ -lpq  -Wl,-rpath,/usr/local/postgresql-8.3.7/lib/
> confoptions.o: In function `build_conf_variables':
> /usr/local/src/slony1-1.2.0/src/slon/confoptions.c:103: undefined reference to
> `pg_qsort'
> collect2: ld returned 1 exit status
> make[2]: *** [slon] Error 1
> make[2]: Leaving directory `/usr/local/src/slony1-1.2.0/src/slon'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/local/src/slony1-1.2.0/src'
> make: *** [all] Error 2
>
> Please advice me to get over the error.

Try a recent version?

Version 1.2.0 was released in...  2006, at which time PostgreSQL 8.2 did
not yet exist, let alone 8.3 and 8.4.

The first version of Slony-I that considered PostgreSQL 8.3 to be
supported was version 1.2.10.  And you shouldn't use that when there are
subsequent fixes up to version 1.2.20 released.
-- 
output = ("cbbrowne" "@" "ca.afilias.info")
Christopher Browne
"Bother,"  said Pooh,  "Eeyore, ready  two photon  torpedoes  and lock
phasers on the Heffalump, Piglet, meet me in transporter room three"


More information about the Slony1-general mailing list