Hiroshi Saito z-saito at guitar.ocn.ne.jp
Sat Oct 4 18:59:09 PDT 2008
Hi.

First,
patch which I submitted by RC1 seems not to apply it. :-(

$ make
make[1]: Entering directory `/home/HIROSHI/slony1-2.0.0-rc2/src'
make[2]: Entering directory `/home/HIROSHI/slony1-2.0.0-rc2/src/parsestatements'
./test-scanner < /dev/null > emptytestresult.log
cmp ./emptytestresult.log emptytestresult.expected.win32
./test-scanner < ./test_sql.sql > test_sql.log
cmp ./test_sql.log ./test_sql.expected.win32
./test_sql.log ./test_sql.expected.win32 differ: char 2038, line 62
make[2]: *** [test] Error 1
make[2]: Leaving directory `/home/HIROSHI/slony1-2.0.0-rc2/src/parsestatements'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/HIROSHI/slony1-2.0.0-rc2/src'
make: *** [all] Error 2

and next, as for rc2,
It is necessary to adjust slon_terminate_worker which is not used by windows.

gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -I../.. -I../../src/slon -o
slon.exe 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 port/pipe.o port/win32service.o
win32ver.o  -lpgport -L/usr/local/pgsql/lib -L/usr/local/pgsql/lib -lpq -lintl -lpthreadgc2
-lwsock32
remote_worker.o: In function `copy_set':
C:/MinGW/home/HIROSHI/slony1-2.0.0-rc2/src/slon/remote_worker.c:2470: undefined reference to
`_slon_terminate_worker'
collect2: ld returned 1 exit status
make[2]: *** [slon.exe] Error 1
make[2]: Leaving directory `/home/HIROSHI/slony1-2.0.0-rc2/src/slon'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/HIROSHI/slony1-2.0.0-rc2/src'
make: *** [all] Error 2

Please take these two into consideration.
Thanks!

Regards,
Hiroshi Saito
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slon_win32_patch
Type: application/octet-stream
Size: 841 bytes
Desc: not available
Url : http://lists.slony.info/pipermail/slony1-general/attachments/20081005/7dc38188/slon_win32_patch.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testsqlexpected_win32_patch
Type: application/octet-stream
Size: 1209 bytes
Desc: not available
Url : http://lists.slony.info/pipermail/slony1-general/attachments/20081005/7dc38188/testsqlexpected_win32_patch.obj


More information about the Slony1-general mailing list