Re: Build libpq on Win7 failed with error "U1045: spawn failed" - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Build libpq on Win7 failed with error "U1045: spawn failed"
Date
Msg-id 544FA723.2060902@aklaver.com
Whole thread Raw
In response to Build libpq on Win7 failed with error "U1045: spawn failed"  (Brilliantov Kirill Vladimirovich <brilliantov@byterg.ru>)
Responses Re: Build libpq on Win7 failed with error "U1045: spawn failed"
List pgsql-general
On 10/28/2014 07:10 AM, Brilliantov Kirill Vladimirovich wrote:
> Hello!
> I try build postgresql-9.3.5 on Windows7 x64 with VisualStudioExpess2013.
>
> c:\postgresql-9.3.5\src>nmake -f win32.mak CPU=AMD64
>
> Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>          cd include
>          if not exist pg_config.h copy pg_config.h.win32 pg_config.h
> NMAKE : fatal error U1045: spawn failed : Invalid argument
> Stop.
>

>
> Can you help me solve this problem?
> Thank you and excuse me for my bad english.

First let me say I have not built Postgres on Windows. I did find this:

http://www.postgresql.org/docs/9.3/interactive/install-windows-full.html

One thing that stands out is:

"All commands should be run from the src\tools\msvc directory."

You might want to read through the above documentation, as I suspect you
are getting a 32/64 mismatch.



--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: Brilliantov Kirill Vladimirovich
Date:
Subject: Build libpq on Win7 failed with error "U1045: spawn failed"
Next
From: Brilliantov Kirill Vladimirovich
Date:
Subject: Re: Build libpq on Win7 failed with error "U1045: spawn failed"