Re: Build libpq on Win7 failed with error "U1045: spawn failed"

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Build libpq on Win7 failed with error "U1045: spawn failed"
Дата
Msg-id 544FA723.2060902@aklaver.com
обсуждение исходный текст
Ответ на Build libpq on Win7 failed with error "U1045: spawn failed"  (Brilliantov Kirill Vladimirovich <brilliantov@byterg.ru>)
Ответы Re: Build libpq on Win7 failed with error "U1045: spawn failed"  (Brilliantov Kirill Vladimirovich <brilliantov@byterg.ru>)
Список 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 по дате отправления:

Предыдущее
От: Brilliantov Kirill Vladimirovich
Дата:
Сообщение: Build libpq on Win7 failed with error "U1045: spawn failed"
Следующее
От: Brilliantov Kirill Vladimirovich
Дата:
Сообщение: Re: Build libpq on Win7 failed with error "U1045: spawn failed"