Hello,
You need to be in the directory you expanded the postgresql source
into (and at the cygwin bash command line). I tend to go to /usr/src and
tar-zxvf postgresql-7.1.2.tar.gz then go into postgresql-7.1.2 and type
./configure. However if you can use the pre-compiled postgresql you may as
well (you'll probably need to do initdb before you can start the postmaster,
and for both you need ipc-daemon to be running).
As to the packages you need to compile postgresql I tend to just
select the latest of all of them bar readline, of which I pick the prev 4.1
version (4.2 is missing a declaration postgresql uses, although there's a
postgresql patch floating around somewhere to handle this).
- Stuart
> -----Original Message-----
> From: Baron [SMTP:baron@jeecom-t.com]
> Sent: Thursday, July 26, 2001 10:28 AM
> To: Henshall, Stuart - WCP
> Subject: RE: [CYGWIN] postgresql on win2000
>
> Thanks.
> The cygwin ipc daemon service is running now.
> But I cannot run ./configure because win2000 seems cannot recognize this
> command.
> Can you give me any ideas?
>
> By the way. What packages I need to select when I am installing cygwin?
>
> Baron
>
>
> -----Original Message-----
> From: Henshall, Stuart - WCP
> [mailto:SHenshall@westcountrypublications.co.uk]
> Sent: Thursday, July 26, 2001 4:30 PM
> To: 'Baron'; pgsql-cygwin@postgresql.org
> Subject: RE: [CYGWIN] postgresql on win2000
>
>
> ./configure
> make
> make install
> initdb -D <data-dir>
>
> Make sure the cygipc stuff is up and running (ipc-daemon &) before
> anything
> else. Also you may not realise it but the latest versions of cygwin come
> with postgresql precompiled. You still need to get cygipc however, its at:
> http://www.neuro.gatech.edu/users/cwilson/cygutils/V1.1/cygipc/
> For more info there is a FAQ at:
> http://postgresql.bteg.net/docs/faq-mswin
> For more info look to www.postgresql.org which also has searchable mailing
> list for pgsql-cygwin and also techdocs.postgresql.org
> hope this help
> - Stuart
>
>
>
> > -----Original Message-----
> > From: Baron [SMTP:baron@jeecom-t.com]
> > Sent: Thursday, July 26, 2001 9:21 AM
> > To: pgsql-cygwin@postgresql.org
> > Subject: [CYGWIN] postgresql on win2000
> >
> > Hi,
> >
> > Could you please tell me how to run 'configure' command on win2000
> > after I unzip postgresql-7.1.2.tar.gz? Thanks.
> >
> > Baron
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 3: if posting/reading through Usenet, please send an appropriate
> > subscribe-nomail command to majordomo@postgresql.org so that your
> > message can get through to the mailing list cleanly