Re: Cygwin PostgreSQL Distribution

From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Pgsql-Ports <pgsql-ports(at)postgresql(dot)org>
Subject: Re: Cygwin PostgreSQL Distribution
Date: 2001-04-09 03:08:35
Message-ID: 20010408230835.G4459@dothill.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Peter,

On Fri, Apr 06, 2001 at 11:10:36PM +0200, Peter Eisentraut wrote:
> Jason Tishler writes:
>
> > > I don't know about the Cygwin file system conventions, but do people have
> > > to alter their PATH and MANPATH (and LD_LIBRARY_PATH?) setting for each
> > > new package they install?
> >
> > No.
>
> But if every package is installed into their own /usr/<package>, then
> they'll have to.

So far no package until my PostgreSQL 7.1RC2 required users to alter
their PATH, MANPATH, etc. I made a mistake which I will rectify when I
package 7.1RC3.

> > With more information and some reflection, I would like to configure
> > Cygwin PostgreSQL as follows:
> >
> > configure --with-CXX --prefix=/usr --sysconfdir=/etc/postgresql \
> > --mandir=/usr/man --docdir=/usr/doc/postgresql-$version \
> > --includedir=/usr/include/postgresql --datadir=/usr/share/postgresql
>
> Looks reasonable, but it really depends on what file system conventions
> you need to follow. Btw., you could equivalently write
>
> configure --with-CXX --prefix=/usr --sysconfdir=/etc
> --docdir='/usr/doc/postgresql-${VERSION}' #(automatically track version changes)

Thanks for the above. This configuration matches perfectly with Cygwin's
file system conventions.

BTW, I am sticking with --docdir=/usr/doc/postgresql-$version with $version
supplied by my build script because --docdir='/usr/doc/postgresql-${VERSION}'
causes pg_config a bit of trouble. Specifically, pg_config --configure
displays the following if configured as above:

$ pg_config --configure
--with-CXX --prefix=/usr --sysconfdir=/etc --docdir=/usr/doc/postgresql-

Thanks,
Jason

--
Jason Tishler
Director, Software Engineering Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp. Fax: +1 (732) 264-8798
82 Bethany Road, Suite 7 Email: Jason(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Matthieu Guyonnet-Duluc 2001-04-09 13:18:21 Problem in step "./configure"
Previous Message Jason Tishler 2001-04-09 02:50:18 Re: 'ATAL1:badabstime error on Windows 2000, also interested in binary to dwld