Thread: Re: running postgresql7.3.4 under windows

Re: running postgresql7.3.4 under windows

From
"Chigurupati, Prasad"
Date:
Hi Jason,
as i told in my last mail, i downloaded the latest cygwin which comes with
postgresql version 7.3.4-1 only. but when i follow the postgis installation
for windows document, am facing compiler error. if these r prebuilt , then
is there any document for installation under windows for this prebuilt
packages?.

please help me in this..

Rgds,
Prasad.CH

-----Original Message-----
From: Jason Tishler [mailto:jason@tishler.net]
Sent: Wednesday, August 27, 2003 2:21 AM
To: Chigurupati, Prasad
Cc: 'pgsql-cygwin@postgresql.org'
Subject: Re: [CYGWIN] running postgresql7.3.4 under windows


Prasad,

On Tue, Aug 26, 2003 at 05:01:31PM +0800, Chigurupati, Prasad wrote:
> I am trying to install Postgresql7.3.4 under windows using  latest
> cygwin.  I downloaded and installed the cygwin in to my machine win
> 2000 under e:\cygwin folder. I am sure that gcc also comes with
> cygwin.so it means GCC also installed under my machine.  after that
> when i tries to install and configure postgresql7.3.4 i am getting
> error msg as
> "checking for C compiler default output... configure: error: C compiler
> cannot create executables"
> this error msf am getting when i used "./configure --enable-multibyte
> --with-CXX --prefix=/usr --sysconfdir=/etc
> --docdir=/usr/doc/postgresql-$version" command.
> since am new to unix/lynx environment am getting confused to where
> this gcc will sit under e:\cygwin.I searched this folder. at different
> locations the gcc related files were located. so could any body help
> to where this GCC will site under home directory of cygwin. and what
> may be the reason for above error.  and where to set the path vaiable
> for this gcc.?  could any body can clear my problem issue..

Given the above, why not just use the pre-built version that is part of
the standard Cygwin distribution?

    http://cygwin.com/ml/cygwin-announce/2003-08/msg00001.html

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

Re: running postgresql7.3.4 under windows

From
Stuart
Date:
Chigurupati, Prasad wrote:

> Hi Jason,
> as i told in my last mail, i downloaded the latest cygwin which comes with
> postgresql version 7.3.4-1 only. but when i follow the postgis installation
> for windows document, am facing compiler error. if these r prebuilt , then
> is there any document for installation under windows for this prebuilt
> packages?.
>
> please help me in this..
>
> Rgds,
> Prasad.CH
>
> -----Original Message-----
> From: Jason Tishler [mailto:jason@tishler.net]
> Sent: Wednesday, August 27, 2003 2:21 AM
> To: Chigurupati, Prasad
> Cc: 'pgsql-cygwin@postgresql.org'
> Subject: Re: [CYGWIN] running postgresql7.3.4 under windows
>
>
> Prasad,
>
> On Tue, Aug 26, 2003 at 05:01:31PM +0800, Chigurupati, Prasad wrote:
>
>>I am trying to install Postgresql7.3.4 under windows using  latest
>>cygwin.  I downloaded and installed the cygwin in to my machine win
>>2000 under e:\cygwin folder. I am sure that gcc also comes with
>>cygwin.so it means GCC also installed under my machine.  after that
>>when i tries to install and configure postgresql7.3.4 i am getting
>>error msg as
>>"checking for C compiler default output... configure: error: C compiler
>>cannot create executables"
>>this error msf am getting when i used "./configure --enable-multibyte
>>--with-CXX --prefix=/usr --sysconfdir=/etc
>>--docdir=/usr/doc/postgresql-$version" command.
>>since am new to unix/lynx environment am getting confused to where
>>this gcc will sit under e:\cygwin.I searched this folder. at different
>>locations the gcc related files were located. so could any body help
>>to where this GCC will site under home directory of cygwin. and what
>>may be the reason for above error.  and where to set the path vaiable
>>for this gcc.?  could any body can clear my problem issue..
>
>
> Given the above, why not just use the pre-built version that is part of
> the standard Cygwin distribution?
>
>     http://cygwin.com/ml/cygwin-announce/2003-08/msg00001.html
>
> Jason
>
If you have cygipc installed then it should just be something like:
ipc-daemon &
initdb -D /usr/local/pgdata
postmaster -i -D /usr/local/pgdata &
hth,
- Stuart


Re: running postgresql7.3.4 under windows

From
"Hubert Wong"
Date:
Hi All

I am new to CYGWIN and Postgresql and trying to install the postgresql as
service in windows XP, so that each time the window startup the Postgresql
can start automatically.  Please give me a direction of how to do it.

Regards and Thanks
Hubert Wong

----- Original Message -----
From: "Stuart" <deststar@blueyonder.co.uk>
To: "Chigurupati, Prasad" <Prasad.Chigurupati@intergraph.com.sg>;
<pgsql-cygwin@postgresql.org>
Sent: Thursday, August 28, 2003 5:47 AM
Subject: Re: [CYGWIN] running postgresql7.3.4 under windows


> Chigurupati, Prasad wrote:
>
> > Hi Jason,
> > as i told in my last mail, i downloaded the latest cygwin which comes
with
> > postgresql version 7.3.4-1 only. but when i follow the postgis
installation
> > for windows document, am facing compiler error. if these r prebuilt ,
then
> > is there any document for installation under windows for this prebuilt
> > packages?.
> >
> > please help me in this..
> >
> > Rgds,
> > Prasad.CH
> >
> > -----Original Message-----
> > From: Jason Tishler [mailto:jason@tishler.net]
> > Sent: Wednesday, August 27, 2003 2:21 AM
> > To: Chigurupati, Prasad
> > Cc: 'pgsql-cygwin@postgresql.org'
> > Subject: Re: [CYGWIN] running postgresql7.3.4 under windows
> >
> >
> > Prasad,
> >
> > On Tue, Aug 26, 2003 at 05:01:31PM +0800, Chigurupati, Prasad wrote:
> >
> >>I am trying to install Postgresql7.3.4 under windows using  latest
> >>cygwin.  I downloaded and installed the cygwin in to my machine win
> >>2000 under e:\cygwin folder. I am sure that gcc also comes with
> >>cygwin.so it means GCC also installed under my machine.  after that
> >>when i tries to install and configure postgresql7.3.4 i am getting
> >>error msg as
> >>"checking for C compiler default output... configure: error: C compiler
> >>cannot create executables"
> >>this error msf am getting when i used "./configure --enable-multibyte
> >>--with-CXX --prefix=/usr --sysconfdir=/etc
> >>--docdir=/usr/doc/postgresql-$version" command.
> >>since am new to unix/lynx environment am getting confused to where
> >>this gcc will sit under e:\cygwin.I searched this folder. at different
> >>locations the gcc related files were located. so could any body help
> >>to where this GCC will site under home directory of cygwin. and what
> >>may be the reason for above error.  and where to set the path vaiable
> >>for this gcc.?  could any body can clear my problem issue..
> >
> >
> > Given the above, why not just use the pre-built version that is part of
> > the standard Cygwin distribution?
> >
> >     http://cygwin.com/ml/cygwin-announce/2003-08/msg00001.html
> >
> > Jason
> >
> If you have cygipc installed then it should just be something like:
> ipc-daemon &
> initdb -D /usr/local/pgdata
> postmaster -i -D /usr/local/pgdata &
> hth,
> - Stuart
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)


Re: running postgresql7.3.4 under windows

From
Jason Tishler
Date:
Prasad,

On Wed, Aug 27, 2003 at 02:18:20PM +0800, Chigurupati, Prasad wrote:
> as i told in my last mail, i downloaded the latest cygwin which comes
> with postgresql version 7.3.4-1 only. but when i follow the postgis
> installation for windows document, am facing compiler error. if these
> r prebuilt , then is there any document for installation under windows
> for this prebuilt packages?.
>
> please help me in this..

See the following (entire) mailing thread:

    http://archives.postgresql.org/pgsql-cygwin/2003-04/msg00003.php

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

Re: running postgresql7.3.4 under windows

From
Jason Tishler
Date:
Hubert,

On Thu, Aug 28, 2003 at 09:03:51AM +0800, Hubert Wong wrote:
> I am new to CYGWIN and Postgresql and trying to install the postgresql
> as service in windows XP, so that each time the window startup the
> Postgresql can start automatically.  Please give me a direction of how
> to do it.

Please read the README:

    http://www.tishler.net/jason/software/postgresql/postgresql-7.3.4.README

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6