Re: installing from source in Windows

From: "Turner, John J" <JJTurner(at)statestreet(dot)com>
To: "Craig Ringer" <craig(at)postnewspapers(dot)com(dot)au>, "Rob Sargent" <robjsargent(at)gmail(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: installing from source in Windows
Date: 2010-10-17 03:41:55
Message-ID: C150472B41070648A2935266FE8D7B290B78C1FE@INCG2002A.corp.statestr.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postnewspapers(dot)com(dot)au]
Sent: Saturday, October 16, 2010 9:28 PM
To: Rob Sargent
Cc: Turner, John J; pgsql-general(at)postgresql(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Farber 2010-10-17 06:47:01 Re: Constraint: string length must be 32 chars
Previous Message Craig Ringer 2010-10-17 01:28:16 Re: installing from source in Windows