Re: [HACKERS] Windows on SuSE? 7.4

2003-08-14 Thread Tom Lane
elein <[EMAIL PROTECTED]> writes: > It sounds like Joe's guess on this was right. I've committed this fix in configure.in: *** *** 631,637 AC_CHECK_LIB(gen, main) AC_CHECK_LIB(PW, main) AC_CHECK_LIB(resolv, main) - AC_CHECK_LIB(wsock32, main) AC_SEARCH_LIBS

Re: [HACKERS] Windows on SuSE? 7.4

2003-08-14 Thread elein
cassert was on. Now debug is on, too. I updated from cvs-head just now. configure knows it is a linux box. Should it be trying to link to libwsock32.so or not? If this is a legitimate link, then the problem is different than if it is trying to link it in erroneously. --elein The is the top of

Re: [HACKERS] Windows on SuSE? 7.4

2003-08-14 Thread Tom Lane
elein <[EMAIL PROTECTED]> writes: > configure knows it is a linux box. > Should it be trying to link to libwsock32.so > or not? If this is a legitimate link, then > the problem is different than if it is trying > to link it in erroneously. configure is unconditionally including libwsock32 if it c

Re: [HACKERS] Windows on SuSE? 7.4

2003-08-14 Thread elein
I blame SuSE. Thank you for the fix and confirmation of the problem. elein On Mon, Aug 11, 2003 at 01:53:31PM -0400, Tom Lane wrote: > elein <[EMAIL PROTECTED]> writes: > > Yes, I actually have a libwsock32 because my > > system has wine on it. Wine is a windows > > emulator. > > And they

Re: [HACKERS] Windows on SuSE? 7.4

2003-08-14 Thread Tom Lane
elein <[EMAIL PROTECTED]> writes: > This is as far as I've gotten with 7.4. Would you rebuild with --enable-debug (perhaps also --enable-cassert) so that the gdb backtrace is more informative? Also, it seems likely that the issue is in or around the recently-added IPv6 support, so I'd suggest usi

Re: [HACKERS] Windows on SuSE? 7.4

2003-08-14 Thread Robert Treat
On Mon, 2003-08-11 at 13:44, elein wrote: > Yes, I actually have a libwsock32 because my > system has wine on it. Wine is a windows > emulator. > Wine Is Not an Emulator :-) Robert Treat -- PostgreSQL :: The Enterprise Open Source Database ---(end of broadcast)

Re: [HACKERS] Windows on SuSE? 7.4

2003-08-14 Thread Bruce Momjian
That line is certainly strange: #0 0x40099ac5 in dllname () from /usr/lib/libwsock32.so When you run configure, it says you are on Linux, right? My guess is that gdb is getting confused because there is no dllopen call in StreamServerPort(). ---

Re: [HACKERS] Windows on SuSE? 7.4

2003-08-14 Thread elein
Yes, I actually have a libwsock32 because my system has wine on it. Wine is a windows emulator. So the assumption that any system with that file is a windows system will break on systems with windows emulators. It sounds like Joe's guess on this was right. --elein On Mon, Aug 11, 2003 at

Re: [HACKERS] Windows on SuSE? 7.4

2003-08-14 Thread Tom Lane
elein <[EMAIL PROTECTED]> writes: > Yes, I actually have a libwsock32 because my > system has wine on it. Wine is a windows > emulator. And they drop windows-only libraries into /usr/lib? Yech. Anyway, I can't see a need to include libwsock32 on non-win32 platforms. Will modify configure.

Re: [HACKERS] Windows on SuSE? 7.4

2003-08-14 Thread Bruce Momjian
Yes, this is the right fix. I never suspected wsock32 would exist on a non-MS WIn machine. --- Tom Lane wrote: > elein <[EMAIL PROTECTED]> writes: > > It sounds like Joe's guess on this was right. > > I've committed this f

[HACKERS] Windows on SuSE? 7.4

2003-08-10 Thread elein
SuSE 7.3, PostgreSQL cvshead (7.4) This is as far as I've gotten with 7.4. It is built and configured like my 7.3 installation on the same machine. I have built from CVS previously. And the production sources always builds very nice and clean. Nothing runs. gbd output is below. It is balking