Re: installing from source in Windows

Поиск
Список
Период
Сортировка
От Turner, John J
Тема Re: installing from source in Windows
Дата
Msg-id C150472B41070648A2935266FE8D7B290B78C1FE@INCG2002A.corp.statestr.com
обсуждение исходный текст
Ответ на Re: installing from source in Windows  (Craig Ringer <craig@postnewspapers.com.au>)
Ответы Re: installing from source in Windows  ("Daniel Verite" <daniel@manitou-mail.org>)
Re: installing from source in Windows  ("Turner, John J" <JJTurner@statestreet.com>)
Re: installing from source in Windows  (Greg Smith <greg@2ndquadrant.com>)
Список pgsql-general
Yup - after hunting around a bit I realized MSYS was missing, so I
installed it.

Good news:  I now have a Bash interface and ./configure ran successfully

Bad news:  Now the install process bombs out when I attempt to "make"
(it gets Error 1 and Error 2 and backs out of the /c/program
files/postgresql-9.0.0/src directory)

I'm reluctant at this point to wipe out my MinGW and MSYS and start from
scratch with Windows SDK and/or VS-ee...

Any insight or advice on this subsequent "make" stumbling block would be
most appreciated.

Thanks,
John

-----Original Message-----
From: Craig Ringer [mailto:craig@postnewspapers.com.au]
Sent: Saturday, October 16, 2010 9:28 PM
To: Rob Sargent
Cc: Turner, John J; pgsql-general@postgresql.org
Subject: Re: [GENERAL] installing from source in Windows

On 10/17/2010 12:25 AM, Rob Sargent wrote:
> No at all familiar with MinGW, but I've done some "./configure"s in my
> time.
>
> ./configure scripts 1) check to see what the local build environment
> contains and 2) which special feature you wish to toggle.
>
> But the pretty much assume a unix-like env. Could you put cygwin on
> rather than just mingw?

While I can't speak for PostgreSQL specifically, msys rather than cygwin

is typically used for most autotools-based builds of software on
Windows.

Personally I'd recommend that the OP just grab Visual Studio Express
Edition and/or the Windows SDK and compile PostgreSQL that way. See the
instructions here:

http://developer.postgresql.org/pgdocs/postgres/install-windows-full.htm
l

It's astonishingly easy for a Windows build of any kind, let alone of a
portable autotools-based open source database.

--
Craig Ringer

В списке pgsql-general по дате отправления:

Предыдущее
От: Mike Christensen
Дата:
Сообщение: Need some help setting up pgAgent
Следующее
От: Rob Sargent
Дата:
Сообщение: Re: Constraint: string length must be 32 chars