Re: Cygwin PostgreSQL Distribution

Поиск
Список
Период
Сортировка
От Jason Tishler
Тема Re: Cygwin PostgreSQL Distribution
Дата
Msg-id 20010408230835.G4459@dothill.com
обсуждение исходный текст
Ответ на Re: Cygwin PostgreSQL Distribution  (Peter Eisentraut <peter_e@gmx.net>)
Список 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.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

В списке pgsql-ports по дате отправления:

Предыдущее
От: Jason Tishler
Дата:
Сообщение: Re: 'ATAL1:badabstime error on Windows 2000, also interested in binary to dwld
Следующее
От: "Matthieu Guyonnet-Duluc"
Дата:
Сообщение: Problem in step "./configure"