Re: "make check" improvement for cygwin - Mailing list pgsql-patches

From Christopher Kings-Lynne
Subject Re: "make check" improvement for cygwin
Date
Msg-id 3FB04322.1040000@familyhealth.com.au
Whole thread Raw
In response to Re: "make check" improvement for cygwin  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: "make check" improvement for cygwin
List pgsql-patches
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:

pgsql-patches by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: "make check" improvement for cygwin
Next
From: Bruce Momjian
Date:
Subject: Re: [pgsql-hackers-win32] Other Win32 TODO items?