<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 28, 2011, at 10:10 PM, Steve Singer wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On 11-02-25 04:56 AM, Sachin Srivastava wrote:<br><blockquote type="cite"><br></blockquote><br><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I'm leaning towards (b) with the attached patch (untested)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Sachin, the slony binaries enterprise db distributes with the<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">one-click installers, are they built with visual studio or MinGW<br></blockquote></blockquote><blockquote type="cite">MinGW, I believe there isnt a VC port available for slony.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><br>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. &nbsp;Does anyone else think this would be a good idea?<br></div></blockquote>Yes thats a good idea.<br><blockquote type="cite"><div><br><br><blockquote type="cite"><blockquote type="cite">I should spend some time getting a proper Win32 slony built<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">environment setup (but I won't get to that in the next few weeks)<br></blockquote></blockquote><br>When I apply that patch I sent &nbsp;+ 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.<br><br>When I try to build against 9.0.3 I can't get configure to finish. &nbsp;It complains on "#error must have a 64-bit integer datatype" from postgres.h<br></div></blockquote>Have you build your PG 9.0.3 also using MinGW? If not, then you need to.<br><blockquote type="cite"><div><br>Do I need a specific version of mingw?<br></div></blockquote>I have MinGW-Get version 0.1-alpha-5.1<br><blockquote type="cite"><div><br>When you applied the patch I sent did you have better luck?<br></div></blockquote>Yes sort of, but it still failed at:</div><div><br></div><div><div>c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libmingwex.a(getopt.o):getopt.c:(.text+0xb40): multiple definition of `getopt'&nbsp;</div><div>c:/pgsql-9.0.3/lib/libpgport.a(getopt.o):getopt.c:(.text+0x0): first defined here</div><div>collect2: ld returned 1 exit status</div><div>make[2]: *** [slon.exe] Error 1</div><div>make[2]: Leaving directory `/c/slony1-2.0.6/src/slon'</div><div>make[1]: *** [all] Error 2</div><div>make[1]: Leaving directory `/c/slony1-2.0.6/src'</div><div>make: *** [all] Error 2</div><div><br></div><div><br></div><div><br></div><blockquote type="cite"><div><br><br><br><br><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">/collect2: ld returned 1 exit status/<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">/make[2]: *** [slon.exe] Error 1/<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">/make[2]: Leaving directory `/c/slony1-2.0.6/src/slon'/<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">/make[1]: *** [all] Error 2/<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">/make[1]: Leaving directory `/c/slony1-2.0.6/src'/<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">/make: *** [all] Error 2/<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">/<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">/<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">/<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">/<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">In PostgreSQL 9.0.3 they have included (which was not there in 9.0.2 and<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">thus slony builds fine there.):<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">#mingw has adopted a GNU-centric interpretation of optind/optreset,<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"># so always use our version on Windows.<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">if test "$PORTNAME" = "win32"; then<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">case " $LIBOBJS " in<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">*" getopt.$ac_objext "* ) ;;<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">*) LIBOBJS="$LIBOBJS getopt.$ac_objext"<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">;;<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">esac<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Any help to make me go forward with this would be highly appreciated.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Thanks a lot.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">/<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">/<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">/<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">/<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">/<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">/<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">/<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">/<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">--Regards,<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Sachin Srivastava<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">EnterpriseDB &lt;<a href="http://www.enterprisedb.com">http://www.enterprisedb.com</a>&gt;, the Enterprise PostgreSQL<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">&lt;<a href="http://www.enterprisedb.com">http://www.enterprisedb.com</a>&gt; company.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Slony1-general mailing list<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><a href="mailto:Slony1-general@lists.slony.info">Slony1-general@lists.slony.info</a> &lt;<a href="mailto:Slony1-general@lists.slony.info">mailto:Slony1-general@lists.slony.info</a>&gt;<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><a href="http://lists.slony.info/mailman/listinfo/slony1-general">http://lists.slony.info/mailman/listinfo/slony1-general</a><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;slon_terminate_worker.diff&gt;<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">--<br></blockquote><blockquote type="cite">Regards,<br></blockquote><blockquote type="cite">Sachin Srivastava<br></blockquote><blockquote type="cite">EnterpriseDB &lt;<a href="http://www.enterprisedb.com">http://www.enterprisedb.com</a>&gt;, the Enterprise PostgreSQL<br></blockquote><blockquote type="cite">&lt;<a href="http://www.enterprisedb.com">http://www.enterprisedb.com</a>&gt; company.<br></blockquote><blockquote type="cite"><br></blockquote><br></div></blockquote></div><br><div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>--</div><div>Regards,</div><div>Sachin Srivastava</div><div><a href="http://www.enterprisedb.com">EnterpriseDB</a>, the&nbsp;<a href="http://www.enterprisedb.com">Enterprise PostgreSQL</a>&nbsp;company.</div></div></div></span></div></span></div></span></div></span></div>
</div>
<br></body></html>