Mon Feb 28 08:40:22 PST 2011
- Previous message: [Slony1-general] Slony1-2.0.6 with PostgreSQL 9.0.3 on windows
- Next message: [Slony1-general] controlled switchover
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 11-02-25 04:56 AM, Sachin Srivastava wrote: > >> >> I'm leaning towards (b) with the attached patch (untested) >> >> Sachin, the slony binaries enterprise db distributes with the >> one-click installers, are they built with visual studio or MinGW > MinGW, I believe there isnt a VC port available for slony. > >> Everytime I try to do a MinGW build I wonder if I shouldn't just bite the bullet and write a parallel set of nmake files so we can do a VC build. Does anyone else think this would be a good idea? >> I should spend some time getting a proper Win32 slony built >> environment setup (but I won't get to that in the next few weeks) When I apply that patch I sent + modify remoteWorkerThread_main to 'return 0;' + munge the Makefile.port that gets generated I am able to get to the linking stage against 8.4 but I get all these undefined symbols complaining about stuff pgport wants being undefined. When I try to build against 9.0.3 I can't get configure to finish. It complains on "#error must have a 64-bit integer datatype" from postgres.h Do I need a specific version of mingw? When you applied the patch I sent did you have better luck? >> >> >> >> >> >>> /collect2: ld returned 1 exit status/ >>> /make[2]: *** [slon.exe] Error 1/ >>> /make[2]: Leaving directory `/c/slony1-2.0.6/src/slon'/ >>> /make[1]: *** [all] Error 2/ >>> /make[1]: Leaving directory `/c/slony1-2.0.6/src'/ >>> /make: *** [all] Error 2/ >>> / >>> / >>> / >>> / >>> In PostgreSQL 9.0.3 they have included (which was not there in 9.0.2 and >>> thus slony builds fine there.): >>>> #mingw has adopted a GNU-centric interpretation of optind/optreset, >>>> # so always use our version on Windows. >>>> if test "$PORTNAME" = "win32"; then >>>> case " $LIBOBJS " in >>>> *" getopt.$ac_objext "* ) ;; >>>> *) LIBOBJS="$LIBOBJS getopt.$ac_objext" >>>> ;; >>>> esac >>> >>> Any help to make me go forward with this would be highly appreciated. >>> >>> Thanks a lot. >>> >>> >>> / >>> / >>> / >>> / >>> / >>> / >>> / >>> / >>> --Regards, >>> Sachin Srivastava >>> EnterpriseDB <http://www.enterprisedb.com>, the Enterprise PostgreSQL >>> <http://www.enterprisedb.com> company. >>> >>> >>> >>> _______________________________________________ >>> Slony1-general mailing list >>> Slony1-general at lists.slony.info <mailto:Slony1-general at lists.slony.info> >>> http://lists.slony.info/mailman/listinfo/slony1-general >> >> <slon_terminate_worker.diff> > > -- > Regards, > Sachin Srivastava > EnterpriseDB <http://www.enterprisedb.com>, the Enterprise PostgreSQL > <http://www.enterprisedb.com> company. >
- Previous message: [Slony1-general] Slony1-2.0.6 with PostgreSQL 9.0.3 on windows
- Next message: [Slony1-general] controlled switchover
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list