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