RE: postgresql on win2000 - Mailing list pgsql-cygwin

From Henshall, Stuart - WCP
Subject RE: postgresql on win2000
Date
Msg-id E2870D8CE1CCD311BAF50008C71EDE8E01F74647@MAIL_EXCHANGE
Whole thread Raw
In response to postgresql on win2000  ("Baron" <baron@jeecom-t.com>)
List pgsql-cygwin
Sounds like you don't have your path correctly set up (or you've missed
installing sed). Have a look at the FAQ for the paths needed (can't remember
of hand, but c:\cygwin\bin or similar will probably be needed).
Unless you have a strong need to do other wise I think trying to get the
pre-built binaries working would probably be the easiest route. You may have
to set a path to where ever the executable is and then do something like:
ipc-daemon &; initdb -D <data-dir>; postmaster -i -D <data-dir> &
I think there's a postgresql-README in the postgresql-7.1.2-3 packages used
by the cygwin setup. (puts it to /usr/doc/Cygwin/postgresql-7.1.2.README)
- Stuart
P.S. mail the list as well so that all may share

> -----Original Message-----
> From:    Baron [SMTP:baron@jeecom-t.com]
> Sent:    Thursday, July 26, 2001 12:16 PM
> To:    Henshall, Stuart - WCP
> Subject:    RE: [CYGWIN] postgresql on win2000
>
> There have below errors when I run ./config
>
> sed: not found
> configure: error: can not find sources in or ...
>
> Baron
>
> -----Original Message-----
> From: Henshall, Stuart - WCP
> [mailto:SHenshall@westcountrypublications.co.uk]
> Sent: Thursday, July 26, 2001 6:39 PM
> To: 'Baron'
> Cc: 'pgsql-cygwin@postgresql.org'
> Subject: RE: [CYGWIN] postgresql on win2000
>
>
> Just click on the cygwin Icon that appears after install (or
> start->menu->cygnus solutions->Cygwin BASH shell). This brings up a
> command
> prompt running the BASH shell
> - Stuart
>
> > -----Original Message-----
> > From:    Baron [SMTP:baron@jeecom-t.com]
> > Sent:    Thursday, July 26, 2001 11:21 AM
> > To:    Henshall, Stuart - WCP
> > Subject:    RE: [CYGWIN] postgresql on win2000
> >
> > Sorry for my many questions.
> > How can I start 'cygwin bash command line' ?
> >
> > Baron
> >
> > -----Original Message-----
> > From: Henshall, Stuart - WCP
> > [mailto:SHenshall@westcountrypublications.co.uk]
> > Sent: Thursday, July 26, 2001 5:31 PM
> > To: 'Baron'
> > Cc: 'pgsql-cygwin@postgresql.org'
> > Subject: RE: [CYGWIN] postgresql on win2000
> >
> >
> > 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

pgsql-cygwin by date:

Previous
From: "Henshall, Stuart - WCP"
Date:
Subject: FW: List Archives
Next
From: Jason Tishler
Date:
Subject: Cygwin PostgreSQL shutdown handling (was Re: Make Cygwin damons easier to use on Win9x.)