Re: Compiling Postgres 8.3.7 MSVC 2005

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Santosh Ahuja <codesifu(at)yahoo(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Compiling Postgres 8.3.7 MSVC 2005
Date: 2009-07-30 13:35:24
Message-ID: 9837222c0907300635w6dff365fq9bcbb6b266815ddb@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jul 30, 2009 at 12:17, Santosh Ahuja<codesifu(at)yahoo(dot)com> wrote:
> Compilation fails with the following errors.
>
>
>        C:\Program Files\Microsoft Visual Studio 8\VC\include\sys/types.h(23): fatal error C1189: #error :  ERROR: Only Win32 target supported!
>
> This seems something very trivial but I have'nt been able to figure it out yet

How exactly did you run the build? Just ran build.bat, or do something else?

> I use MSVC 2005 M$ Plaform SDK v6.0 ... I have updated the LIB, PATH and INCLUDE . echo'ing from the VC command prompt shows that its in the path. Bison version 2.1 and Flex 2.5.4

It doesn't look like this should be the error - possibly that it's
including something else (non-pg and non-platformsdk) *before* it
reaches the proper files.

--
Magnus Hagander
Self: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Brendan Jurd 2009-07-30 14:35:49 Re: WIP: to_char, support for EEEE format
Previous Message Boszormenyi Zoltan 2009-07-30 12:47:31 Re: SELECT ... FOR UPDATE [WAIT integer | NOWAIT] for 8.5