| From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
|---|---|
| To: | brilliantov(at)byterg(dot)ru, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Build libpq on Win7 failed with error "U1045: spawn failed" |
| Date: | 2014-10-28 14:24:35 |
| Message-ID: | 544FA723.2060902@aklaver.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(dot)klaver(at)aklaver(dot)com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Brilliantov Kirill Vladimirovich | 2014-10-28 14:37:25 | Re: Build libpq on Win7 failed with error "U1045: spawn failed" |
| Previous Message | Brilliantov Kirill Vladimirovich | 2014-10-28 14:10:06 | Build libpq on Win7 failed with error "U1045: spawn failed" |