Thanks all... I resolved the issue by installing slony1-1.2.20.<div><br></div><div>Regards</div><div>Hari Kiran<br><br><div class="gmail_quote">On Fri, Mar 19, 2010 at 12:07 AM, Christopher Browne <span dir="ltr"><<a href="mailto:cbbrowne@ca.afilias.info">cbbrowne@ca.afilias.info</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hari Kiran <<a href="mailto:hari.kiran@enterprisedb.com">hari.kiran@enterprisedb.com</a>> writes:<br>
> I am trying to install Slony (slony1-1.2.0) on a Linux 64bit Operating System.<br>
><br>
> The Configure option looks like:-<br>
> ./configure --prefix=<bin dir> --with-pgconfigdir=<bin dir> --with-perltools=<br>
> <bin dir><br>
><br>
> I ran into problems while running the "make" <br>
><br>
> The error log looks like:<br>
><br>
> [root@box1 slony1-1.2.0]# make<br>
> make[1]: Entering directory `/usr/local/src/slony1-1.2.0/src'<br>
> make[2]: Entering directory `/usr/local/src/slony1-1.2.0/src/xxid'<br>
> make[2]: Nothing to be done for `all'.<br>
> make[2]: Leaving directory `/usr/local/src/slony1-1.2.0/src/xxid'<br>
> make[2]: Entering directory `/usr/local/src/slony1-1.2.0/src/parsestatements'<br>
> ./test-scanner < /dev/null > emptytestresult.log<br>
> cmp ./emptytestresult.log emptytestresult.expected<br>
> ./test-scanner < ./test_sql.sql > test_sql.log<br>
> cmp ./test_sql.log ./test_sql.expected<br>
> make[2]: Leaving directory `/usr/local/src/slony1-1.2.0/src/parsestatements'<br>
> make[2]: Entering directory `/usr/local/src/slony1-1.2.0/src/slon'<br>
> gcc -g -O2 -pthread -I../.. -I../../src/slon -o slon slon.o runtime_config.o<br>
> local_listen.o remote_listen.o remote_worker.o sync_thread.o cleanup_thread.o<br>
> scheduler.o dbutils.o conf-file.o confoptions.o misc.o ../parsestatements/<br>
> scanner.o -pthread -L/usr/local/postgresql-8.3.7/lib/ -L/usr/local/<br>
> postgresql-8.3.7/lib/ -lpq -Wl,-rpath,/usr/local/postgresql-8.3.7/lib/<br>
> confoptions.o: In function `build_conf_variables':<br>
> /usr/local/src/slony1-1.2.0/src/slon/confoptions.c:103: undefined reference to<br>
> `pg_qsort'<br>
> collect2: ld returned 1 exit status<br>
> make[2]: *** [slon] Error 1<br>
> make[2]: Leaving directory `/usr/local/src/slony1-1.2.0/src/slon'<br>
> make[1]: *** [all] Error 2<br>
> make[1]: Leaving directory `/usr/local/src/slony1-1.2.0/src'<br>
> make: *** [all] Error 2<br>
><br>
> Please advice me to get over the error.<br>
<br>
Try a recent version?<br>
<br>
Version 1.2.0 was released in... 2006, at which time PostgreSQL 8.2 did<br>
not yet exist, let alone 8.3 and 8.4.<br>
<br>
The first version of Slony-I that considered PostgreSQL 8.3 to be<br>
supported was version 1.2.10. And you shouldn't use that when there are<br>
subsequent fixes up to version 1.2.20 released.<br>
<font color="#888888">--<br>
output = ("cbbrowne" "@" "<a href="http://ca.afilias.info" target="_blank">ca.afilias.info</a>")<br>
Christopher Browne<br>
"Bother," said Pooh, "Eeyore, ready two photon torpedoes and lock<br>
phasers on the Heffalump, Piglet, meet me in transporter room three"<br>
</font></blockquote></div><br></div>