Re: Call for port reports (Win32 Client)

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Call for port reports (Win32 Client)
Date: 2003-10-27 08:49:39
Message-ID: 03AF4E498C591348A42FC93DEA9661B84C5C65@mail.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Thanks, Dave.

> -----Original Message-----
> From: Bruce Momjian [mailto:pgman(at)candle(dot)pha(dot)pa(dot)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(at)candle(dot)pha(dot)pa(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
> + If your life is a hard drive, | 13 Roberts Road
> + Christ can be your backup. | Newtown Square,
> Pennsylvania 19073
>

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Adam Witney 2003-10-27 08:54:21 Re: shared memory on OS X - 7.4beta4
Previous Message Kevin Brown 2003-10-27 08:23:46 Re: Still a few flaws in configure's default CFLAGS selection