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@postnewspapers.com.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/