Re: Call for port reports (Win32 Client)

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


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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Brown 2003-10-27 02:53:39 Re: Still a few flaws in configure's default CFLAGS selection
Previous Message Christopher Browne 2003-10-27 02:45:20 Re: Dreaming About Redesigning SQL