Re: Windows build issues

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Windows build issues
Date: 2011-04-06 17:34:31
Message-ID: BANLkTim20D7qQo8QV4bv73Rk5pgk-db63Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Apr 6, 2011 at 6:27 PM, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
>
>      * I have some doubts about whether the SDK is at all needed or
>        whether it would suffice by itself.  I went with Visual Studio
>        Express 2008.

The SDK is needed with 2008 Express, but not the non-express version.
The SDK on it's own should be enough for command line compilation.

>      * The major difficulty was figuring out the right path setting to
>        all the tools.  The documentation is a bit hand-wavy about that.
>        In particular, it needed to find both vcbuild.exe and
>        msbuild.exe, which are conveniently hidden in C:\Program Files
>        \Microsoft Visual Studio 9.0\VC\vcpackages and C:\Windows
>        \Microsoft.NET\Framework\v2.0.50727 respectively.  I'm not sure
>        if there is a pattern there that could be documented, but it
>        would really be helpful to at least give better hints about
>        this.

The SDK and/or Visual Studio should have created some shortcuts on the
menu to start command prompt windows with the appropriate environment
variables setup for you. On my system (which has Visual Studio 2008
Pro), there are shortcuts for 32 bit and 64 bit build environments.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2011-04-06 17:38:17 Re: .ini support for .pgpass
Previous Message Peter Eisentraut 2011-04-06 17:33:02 Re: Should psql support URI syntax?