Re: Simplifying Cygwin PosgreSQL Installation

From: Jason Tishler <jason(at)tishler(dot)net>
To: Glenn Murray <gmurray(at)mines(dot)edu>
Cc: cygwin(at)cygwin(dot)com, pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Simplifying Cygwin PosgreSQL Installation
Date: 2002-10-22 19:29:13
Message-ID: 20021022192912.GC1764@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)cygwin(dot)com(dot) 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

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Glenn Murray 2002-10-22 22:46:51 Re: Simplifying Cygwin PosgreSQL Installation
Previous Message Glenn Murray 2002-10-22 17:14:36 Simplifying Cygwin PosgreSQL Installation