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>
Cc: "List, Postgres" <pgsql-general(at)postgresql(dot)org>
Subject: Re: installing from source in Windows
Date: 2010-10-25 15:43:05
Message-ID: C150472B41070648A2935266FE8D7B290BBE5DF0@INCG2002A.corp.statestr.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Apologies in advance as I'm compelled to resurrect this topic:

I've posted my latest issue to the novice list
(http://archives.postgresql.org/pgsql-novice/2010-10/msg00137.php)
.. to no avail

And just to re-state the issue - "make check" doesn't work as it fails
to start the Postmaster (within 60 seconds).

After doing some homework, my hunch is that I need to translate "su"
type Unix commands into something the MSYS bash interface can understand
in order to be running the tests under a proper "unprivileged" user
account...

I tried running the bash using several different variations of the
"runas" command, again to no avail.

So I'll be much obliged for any further advice or suggestions - even if
only to let me know whether I might be way off base or need to do some
more homework.

Thanks,
John

-----Original Message-----
From: Craig Ringer [mailto:craig(at)postnewspapers(dot)com(dot)au]
Sent: Tuesday, October 19, 2010 12:23 AM
To: Turner, John J
Cc: List, Postgres
Subject: Re: [GENERAL] installing from source in Windows

On 19/10/10 11:58, Turner, John J wrote:
> I began to suspect my version of WinZip was lousing up the pg source
> files when it dropped files from a zlib.tar I was trying to install.

Hmm, ok. Thanks for the heads-up, then. "Winzip mangles tar archives"
goes into the list of possible fault causes...

> So, now it's a hot mess of something - looks a far cry from the binary
> version I originally downloaded, but supposedly it's installed

Yep. It's really quite easy to use the installs built from source or
obtained as a binary zip, thankfully. You use initdb to create a data
directory, then pg_ctl to start the server once initdb has run. initdb
even prints out the pg_ctl command to use.

Installing it as a Windows service is a bit trickier, though.

--
Craig Ringer

Tech-related writing: http://soapyfrogs.blogspot.com/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sairam Krishnamurthy 2010-10-25 17:11:11 Query precision issue
Previous Message Tahir Tamba 2010-10-25 15:24:50 Binary packages installing issue