Yup, that works fine (just a few warnings about ERROR being redefined). 

Thanks, Dave.

> -----Original Message-----
> From: Bruce Momjian [mailto:pgman@candle.pha.pa.us] 
> Sent: 27 October 2003 02:50
> To: Dave Page
> Cc: PostgreSQL-development
> Subject: Re: [HACKERS] Call for port reports (Win32 Client)
> 
> 
> This is all fixed in CVS --- would you try that?
> 
> --------------------------------------------------------------
> -------------
> 
> Dave Page wrote:
> >  
> > 
> > > -----Original Message-----
> > > From: Bruce Momjian [mailto:pgman@candle.pha.pa.us]
> > > Sent: 26 October 2003 01:35
> > > To: Dave Page
> > > Cc: PostgreSQL-development
> > > Subject: Re: [HACKERS] Call for port reports
> > > 
> > > > NMAKE : fatal error U1077: 
> > > 'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' :
> > > > return co
> > > > de '0x2'
> > > > Stop.
> > > 
> > > I am confused why strings.h is being included because there is a 
> > > test around it:
> > > 	
> > > 	#ifdef HAVE_STRINGS_H
> > > 	#include <strings.h>
> > > 	#endif
> > > 
> > > Any ideas?
> > 
> > Yesh I forgot to remove the cygwin pg_config.h before 
> compiling. Sorry
> > :-)
> > 
> > Anyway, I now get the error below which is not surprising 
> as Windows 
> > doesn't have pthreads, or pwd.h as standard.
> > 
> > Regards, Dave.
> > 
> > C:\cygwin\usr\local\src\postgresql-7.4beta5\src>nmake /f win32.mak
> > 
> > Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
> > Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
> > 
> >         cd include
> >         if not exist pg_config.h copy pg_config.h.win32 pg_config.h
> >         cd ..
> >         cd interfaces\libpq
> >         nmake /f win32.mak
> > 
> > Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
> > Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
> > 
> > Building the Win32 static library...
> > 
> >         cl.exe @C:\DOCUME~1\dpage\LOCALS~1\Temp\nma03408.
> > getaddrinfo.c
> >         cl.exe @C:\DOCUME~1\dpage\LOCALS~1\Temp\nmb03408.
> > inet_aton.c
> >         cl.exe @C:\DOCUME~1\dpage\LOCALS~1\Temp\nmc03408.
> > crypt.c
> >         cl.exe @C:\DOCUME~1\dpage\LOCALS~1\Temp\nmd03408.
> > path.c
> >         cl.exe @C:\DOCUME~1\dpage\LOCALS~1\Temp\nme03408.
> > dllist.c
> >         cl.exe @C:\DOCUME~1\dpage\LOCALS~1\Temp\nmf03408.
> > md5.c
> >         cl.exe @C:\DOCUME~1\dpage\LOCALS~1\Temp\nmg03408.
> > ip.c
> >         cl.exe @C:\DOCUME~1\dpage\LOCALS~1\Temp\nmh03408.
> > thread.c
> > ..\..\include\utils/elog.h(37) : warning C4005: 'ERROR' : macro 
> > redefinition
> >         C:\PROGRA~1\MICROS~3\VC98\INCLUDE\wingdi.h(93) : 
> see previous 
> > definition  of 'ERROR'
> > ..\..\port\thread.c(17) : fatal error C1083: Cannot open 
> include file:
> > 'pthread.
> > h': No such file or directory
> > NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
> > Stop.
> > NMAKE : fatal error U1077: 
> 'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' :
> > return co
> > de '0x2'
> > Stop.
> > 
> > C:\cygwin\usr\local\src\postgresql-7.4beta5\src>
> > 
> > ---------------------------(end of 
> > broadcast)---------------------------
> > TIP 4: Don't 'kill -9' the postmaster
> > 
> 
> -- 
>   Bruce Momjian                        |  http://candle.pha.pa.us
>   pgman@candle.pha.pa.us               |  (610) 359-1001
>   +  If your life is a hard drive,     |  13 Roberts Road
>   +  Christ can be your backup.        |  Newtown Square, 
> Pennsylvania 19073
> 

Mon, 27 Oct 2003 08:49:39 -0000
"Dave Page" <dpage@vale-housing.co.uk>
Re: Call for port reports (Win32 Client)

Windows client port list updated:

  http://momjian.postgresql.org/main/writings/pgsql/sgml/supported-platforms.html

---------------------------------------------------------------------------
Dave Page wrote:
> Yup, that works fine (just a few warnings about ERROR being redefined). 
> 
> Thanks, Dave.
> 
> > -----Original Message-----
> > From: Bruce Momjian [mailto:pgman@candle.pha.pa.us] 
> > Sent: 27 October 2003 02:50
> > To: Dave Page
> > Cc: PostgreSQL-development
> > Subject: Re: [HACKERS] Call for port reports (Win32 Client)
> > 
> > 
> > This is all fixed in CVS --- would you try that?
> > 
> > --------------------------------------------------------------
> > -------------
> > 
> > Dave Page wrote:
> > >  
> > > 
> > > > -----Original Message-----
> > > > From: Bruce Momjian [mailto:pgman@candle.pha.pa.us]
> > > > Sent: 26 October 2003 01:35
> > > > To: Dave Page
> > > > Cc: PostgreSQL-development
> > > > Subject: Re: [HACKERS] Call for port reports
> > > > 
> > > > > NMAKE : fatal error U1077: 
> > > > 'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' :
> > > > > return co
> > > > > de '0x2'
> > > > > Stop.
> > > > 
> > > > I am confused why strings.h is being included because there is a 
> > > > test around it:
> > > > 	
> > > > 	#ifdef HAVE_STRINGS_H
> > > > 	#include <strings.h>
> > > > 	#endif
> > > > 
> > > > Any ideas?
> > > 
> > > Yesh I forgot to remove the cygwin pg_config.h before 
> > compiling. Sorry
> > > :-)
> > > 
> > > Anyway, I now get the error below which is not surprising 
> > as Windows 
> > > doesn't have pthreads, or pwd.h as standard.
> > > 
> > > Regards, Dave.
> > > 
> > > C:\cygwin\usr\local\src\postgresql-7.4beta5\src>nmake /f win32.mak
> > > 
> > > Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
> > > Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
> > > 
> > >         cd include
> > >         if not exist pg_config.h copy pg_config.h.win32 pg_config.h
> > >         cd ..
> > >         cd interfaces\libpq
> > >         nmake /f win32.mak
> > > 
> > > Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
> > > Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
> > > 
> > > Building the Win32 static library...
> > > 
> > >         cl.exe @C:\DOCUME~1\dpage\LOCALS~1\Temp\nma03408.
> > > getaddrinfo.c
> > >         cl.exe @C:\DOCUME~1\dpage\LOCALS~1\Temp\nmb03408.
> > > inet_aton.c
> > >         cl.exe @C:\DOCUME~1\dpage\LOCALS~1\Temp\nmc03408.
> > > crypt.c
> > >         cl.exe @C:\DOCUME~1\dpage\LOCALS~1\Temp\nmd03408.
> > > path.c
> > >         cl.exe @C:\DOCUME~1\dpage\LOCALS~1\Temp\nme03408.
> > > dllist.c
> > >         cl.exe @C:\DOCUME~1\dpage\LOCALS~1\Temp\nmf03408.
> > > md5.c
> > >         cl.exe @C:\DOCUME~1\dpage\LOCALS~1\Temp\nmg03408.
> > > ip.c
> > >         cl.exe @C:\DOCUME~1\dpage\LOCALS~1\Temp\nmh03408.
> > > thread.c
> > > ..\..\include\utils/elog.h(37) : warning C4005: 'ERROR' : macro 
> > > redefinition
> > >         C:\PROGRA~1\MICROS~3\VC98\INCLUDE\wingdi.h(93) : 
> > see previous 
> > > definition  of 'ERROR'
> > > ..\..\port\thread.c(17) : fatal error C1083: Cannot open 
> > include file:
> > > 'pthread.
> > > h': No such file or directory
> > > NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
> > > Stop.
> > > NMAKE : fatal error U1077: 
> > 'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' :
> > > return co
> > > de '0x2'
> > > Stop.
> > > 
> > > C:\cygwin\usr\local\src\postgresql-7.4beta5\src>
> > > 
> > > ---------------------------(end of 
> > > broadcast)---------------------------
> > > TIP 4: Don't 'kill -9' the postmaster
> > > 
> > 
> > -- 
> >   Bruce Momjian                        |  http://candle.pha.pa.us
> >   pgman@candle.pha.pa.us               |  (610) 359-1001
> >   +  If your life is a hard drive,     |  13 Roberts Road
> >   +  Christ can be your backup.        |  Newtown Square, 
> > Pennsylvania 19073
> > 
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Mon, 27 Oct 2003 10:35:22 -0500 (EST)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: Call for port reports (Win32 Client)