<div>Hello Team,</div><div><br></div><div>I am trying to install Slony (slony1-1.2.0) on a Linux 64bit Operating System.</div><div><br></div><div>The Configure option looks like:-</div><div>./configure --prefix=<bin dir> --with-pgconfigdir=<bin dir> --with-perltools=<bin dir></div>
<div><br></div><div>I ran into problems while running the "make" </div><div><br></div><div>The error log looks like:</div><div><br></div><div>[root@box1 slony1-1.2.0]# make</div><div>make[1]: Entering directory `/usr/local/src/slony1-1.2.0/src'</div>
<div>make[2]: Entering directory `/usr/local/src/slony1-1.2.0/src/xxid'</div><div>make[2]: Nothing to be done for `all'.</div><div>make[2]: Leaving directory `/usr/local/src/slony1-1.2.0/src/xxid'</div><div>make[2]: Entering directory `/usr/local/src/slony1-1.2.0/src/parsestatements'</div>
<div>./test-scanner < /dev/null > emptytestresult.log</div><div>cmp ./emptytestresult.log emptytestresult.expected</div><div>./test-scanner < ./test_sql.sql > test_sql.log</div><div>cmp ./test_sql.log ./test_sql.expected</div>
<div>make[2]: Leaving directory `/usr/local/src/slony1-1.2.0/src/parsestatements'</div><div>make[2]: Entering directory `/usr/local/src/slony1-1.2.0/src/slon'</div><div>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/</div>
<div>confoptions.o: In function `build_conf_variables':</div><div>/usr/local/src/slony1-1.2.0/src/slon/confoptions.c:103: undefined reference to `pg_qsort'</div><div>collect2: ld returned 1 exit status</div><div>make[2]: *** [slon] Error 1</div>
<div>make[2]: Leaving directory `/usr/local/src/slony1-1.2.0/src/slon'</div><div>make[1]: *** [all] Error 2</div><div>make[1]: Leaving directory `/usr/local/src/slony1-1.2.0/src'</div><div>make: *** [all] Error 2</div>
<div><br></div><div>Please advice me to get over the error.</div><div><br></div><div>Thanks n Regards</div><div>Hari Kiran P.</div><div>EntepriseDB</div>