Fri Mar 11 20:09:49 PST 2005
- Previous message: [Slony1-commit] By cbbrowne: New Directory
- Next message: [Slony1-commit] By cbbrowne: Changes to address problems found when running multiple
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message: ----------- Add in some preliminary Win32 support; makefiles that may be helpful for compiling xxid and backend functions. Added Files: ----------- slony1-engine/Win32: Makefile.backend (r1.1) Makefile.xxid (r1.1) README (r1.1) README.compiling (r1.1) -------------- next part -------------- --- /dev/null +++ Win32/Makefile.xxid @@ -0,0 +1,14 @@ +# $Id: Makefile.xxid,v 1.1 2005/03/11 20:09:47 cbbrowne Exp $ + +MODULES=xxid +slony_subdir = src/xxid +slony_top_builddir = ../.. +include $(slony_top_builddir)/Makefile.global + +ifdef USE_PGXS +PGXS = $(shell pg_config --pgxs) +include $(PGXS) +else +top_builddir = $(PGSOURCETREE) +include $(PGSOURCETREE)/contrib/contrib-global.mk +endif --- /dev/null +++ Win32/README.compiling @@ -0,0 +1,18 @@ +$Id: README.compiling,v 1.1 2005/03/11 20:09:47 cbbrowne Exp $ + +I created new makefiles for slony_funcs and xxid using the contrib +infrastructure, which makes them win32 compatible. IMHO the attached +versions should replace the current ones. + +After some short tests, Slony-I 1.0.5 seems to be able to replicate +with win32 servers using those modules correctly. + +The slon process currently refuses to link, the thread lib seems to be +the problem. + +Apparently slonik uses fork(), which would make porting it much more +expensive. I won't spent more time on that, pgAdmin will do that +anyway. + +Regards, +Andreas Pflug \ No newline at end of file --- /dev/null +++ Win32/Makefile.backend @@ -0,0 +1,15 @@ +# $Id: Makefile.backend,v 1.1 2005/03/11 20:09:47 cbbrowne Exp $ + +MODULES=slony1_funcs +slony_subdir = src/slony1_funcs +slony_top_builddir = ../.. +include $(slony_top_builddir)/Makefile.global +CFLAGS += -I$(slony_top_builddir) + +ifdef USE_PGXS +PGXS = $(shell pg_config --pgxs) +include $(PGXS) +else +top_builddir = $(PGSOURCETREE) +include $(PGSOURCETREE)/contrib/contrib-global.mk +endif --- /dev/null +++ Win32/README @@ -0,0 +1,45 @@ +Preliminary Win32 Support +------------------------------------ +$Id: README,v 1.1 2005/03/11 20:09:47 cbbrowne Exp $ + +As per the README.compiling documentation, Andreas Pflug has +contributed Makefiles that may be useful for those that wish to +compile Slony-I components on Win32. + +I haven't included his address. If you want to assist in providing +Win32 support, it may be worth contacting him. Otherwise, it seems +inappropriate to pester him about problems compiling this. + +There are two files provided: + + 1. Makefile.backend + + This makefile should be suitable for building the C components + found in the src/backend directory. + + 2. Makefile.xxid + + This should be suitable for building the C components found in + src/xxid. + +These files would replace those that ./configure would produce in +those directories. + +There are no makefiles for building slon or slonik: + + - In the case of slon, there appears to be some issue with linking + in a pthreads library. Someone who is familiar with the use of + pthreads on Win32 may be able to resolve this. + + In the absence of a slon that runs on Win32, you ought to be able + to run slon processes on Unix-like operating systems. + + - In the case of slonik, the use of fork() apparently makes the port + more challenging. + + Andreas has been working on adding Slony-I management tools to + pgAdmin III, which does run on Microsoft Windows(tm). That may be + an alternative to slonik. + +cbbrowne at acm.org +Christopher Browne \ No newline at end of file
- Previous message: [Slony1-commit] By cbbrowne: New Directory
- Next message: [Slony1-commit] By cbbrowne: Changes to address problems found when running multiple
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list