Re: Simplifying Cygwin PosgreSQL Installation - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: Simplifying Cygwin PosgreSQL Installation
Date
Msg-id 20021022192912.GC1764@tishler.net
Whole thread Raw
In response to Simplifying Cygwin PosgreSQL Installation  (Glenn Murray <gmurray@mines.edu>)
Responses Re: Simplifying Cygwin PosgreSQL Installation  (Glenn Murray <gmurray@mines.edu>)
launch a request  (Florian Litot <flitot@besancon.sema.slb.com>)
List pgsql-cygwin
Glenn,

On Tue, Oct 22, 2002 at 11:14:36AM -0600, Glenn Murray wrote:
> It seems that the best solution would be to provide a self-contained
> Cygwin PostgreSQL installation that works independently of a
> previously existing installation.

The above is not possibly because it violates the one Cygwin DLL per
system restriction.

> Comments or solutions?

Suggestion #1:
=============

1. Package your software as a Cygwin setup.exe installable tarball.

2. Automate the installation steps in the Cygwin PostgreSQL README:

    http://www.tishler.net/jason/software/postgresql/postgresql-7.2.3.README

as a shell script and post it to cygwin@cygwin.com.  I will add this
script to the Cygwin PostgreSQL distribution as a postinstall script, if
done properly.

3. Create a minimal Cygwin mirror plus your package and cygipc using
upset to generate a setup.ini file that matches your mirror.  Search
cygwin-apps@ for info regarding upset.  Search the pgsql-cygwin@
archives for the (incomplete) work done to determine the minimum Cygwin
packages required by PostgreSQL.

4. Point your Windows users to your mirror and instruct them to use
Cygwin's setup.exe to install the software.

Suggestion #2:
=============

1. Same as above

2. Same as above

3. Contribute your package to the standard Cygwin distribution.

4. Same as above but point your Windows users to any Cygwin mirror.

Suggestion #3:
=============

1. Same as above

2. Same as above

3. Same as above but create a (partial) mirror that only contains your
package and cygipc.

4. Same as above but point your Windows users to any Cygwin mirror plus
your mirror.  Note that Cygwin's setup.exe can install from multiple
mirrors simultaneously.

Although the above suggestions may be more work than desired, it will
guarantee that your software will always coexist nicely with the
standard Cygwin distribution.

Jason

pgsql-cygwin by date:

Previous
From: Glenn Murray
Date:
Subject: Simplifying Cygwin PosgreSQL Installation
Next
From: Glenn Murray
Date:
Subject: Re: Simplifying Cygwin PosgreSQL Installation