Re: "make check" improvement for cygwin

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Jason Tishler <jason(at)tishler(dot)net>, PG Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: "make check" improvement for cygwin
Date: 2003-11-12 04:14:44
Message-ID: 200311120414.hAC4EiH11610@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Patch applied to CVS HEAD and 7.4CVS. Thanks.

---------------------------------------------------------------------------

Christopher Kings-Lynne wrote:
> Here's some improvements. I just ended up referring people to Jason's
> website for install as service, because it's a quite a long and complex
> process.
>
> Is that README included with the cygwin package, Jason? Because I
> couldn't find it in mine...?
>
> Chris
>
> Bruce Momjian wrote:
>
> > Jason Tishler wrote:
> >
> >>Peter,
> >>
> >>On Mon, Nov 10, 2003 at 03:48:07PM +0100, Peter Eisentraut wrote:
> >>
> >>>Jason Tishler writes:
> >>>
> >>>>>>! 1. Set your path to use the Cygwin bin directory before the Windows
> >>>>>>! utilities. Cygwin sort must be used in preference to Windows sort.exe.
> >>>>
> >>>>Is the above needed during runtime too?
> >>>
> >>>Can anyone see *any* use of "sort" that would warrant the above step?
> >>
> >>Not in practice. I just dragged it along because it was in older
> >>versions of the FAQ.
> >
> >
> > Would someone send a patch to modify the MSWIN FAQ, if required?
> >

> Index: doc/FAQ_MSWIN
> ===================================================================
> RCS file: /projects/cvsroot/pgsql-server/doc/FAQ_MSWIN,v
> retrieving revision 1.16
> diff -c -r1.16 FAQ_MSWIN
> *** doc/FAQ_MSWIN 9 Nov 2003 03:47:51 -0000 1.16
> --- doc/FAQ_MSWIN 11 Nov 2003 01:59:40 -0000
> ***************
> *** 1,9 ****
> How to install PostgreSQL on Windows
> ====================================
> $Date: 2003/11/09 03:47:51 $
>
> ! PostgreSQL requires the Cygwin set of libraries to be installed in
> ! order that it functions under Windows.
>
> This document assumes that you do not have Cygwin already installed
> on your system. If that is not the case, then you will need to
> --- 1,10 ----
> How to install PostgreSQL on Windows
> ====================================
> +
> $Date: 2003/11/09 03:47:51 $
>
> ! PostgreSQL requires the appropriate subset of Cygwin DLLs to be
> ! installed in order that it functions under Windows.
>
> This document assumes that you do not have Cygwin already installed
> on your system. If that is not the case, then you will need to
> ***************
> *** 16,22 ****
>
> 2. Proceed through the Cygwin install wizard. Choose 'Install from
> Internet', specify a Local Package Directory and choose a mirror
> ! site that's close to you. Leave everything else as-is.
>
> When you come to the point of choosing which packages to install,
> expand the 'Database' section and click 'Skip' next to PostgreSQL
> --- 17,24 ----
>
> 2. Proceed through the Cygwin install wizard. Choose 'Install from
> Internet', specify a Local Package Directory and choose a mirror
> ! site that's close to you. Answer the other installer questions
> ! appropriately for your configuration.
>
> When you come to the point of choosing which packages to install,
> expand the 'Database' section and click 'Skip' next to PostgreSQL
> ***************
> *** 24,34 ****
> Cygwin.
>
> 3. Once the download and install process is complete, open a Cygwin
> ! shell and do the following:
>
> ! 3a. Start ipc-daemon2 for shared memory support. Use
> ! "net start ipc-daemon2", if you want ipc-daemon2 installed
> ! as a service; otherwise, use "ipc-daemon2 &". This program
> needs to be running anytime you start the PostgreSQL server
> (postmaster) or initialize a database (initdb).
>
> --- 26,35 ----
> Cygwin.
>
> 3. Once the download and install process is complete, open a Cygwin
> ! shell and do the following for a basic installation:
>
> ! 3a. Start ipc-daemon2 for shared memory support. To do this,
> ! enter the command "ipc-daemon2 &". This program
> needs to be running anytime you start the PostgreSQL server
> (postmaster) or initialize a database (initdb).
>
> ***************
> *** 52,57 ****
> --- 53,64 ----
>
> 4. You are now running a PostgreSQL server on your Windows machine.
>
> + 5. It is possible to install ipc-daemon2 and the postmaster as
> + Windows NT services. For information on how to do this, please
> + refer to one of the README documents here:
> +
> + http://www.tishler.net/jason/software/postgresql/
> +
> Building from source
> --------------------
>
> ***************
> *** 59,65 ****
> PostgreSQL from source:
>
> 1. Set your path to use the Cygwin bin directory before the Windows
> ! utilities. Cygwin sort must be used in preference to Windows sort.exe.
>
> 2. Proceed according to the INSTALL file (i.e., ./configure; make; etc.)
> noting the following Cygwin specific differences:
> --- 66,72 ----
> PostgreSQL from source:
>
> 1. Set your path to use the Cygwin bin directory before the Windows
> ! utilities. This will help prevent problems with compilation.
>
> 2. Proceed according to the INSTALL file (i.e., ./configure; make; etc.)
> noting the following Cygwin specific differences:

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2003-11-12 04:46:34 Re: ALTER TABLE modifications
Previous Message Bruce Momjian 2003-11-12 04:08:24 Re: Small Doc Patch