Thread: Installing PostgreSQL on winNT

Installing PostgreSQL on winNT

From
"vikas vkgupta gupta"
Date:
Hi,
I am trying to install PostgreSQL on winNT platform.

These are the steps I performed:

1. Installed Cygwin.
2. Installed cygipc.
3. Now while running ./configure I am getting following error:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
$ ./configure
loading cache ./config.cache
checking host system type... i686-pc-cygwin
checking which template to use... win
checking whether to build with locale support... no
checking whether to build with recode support... no
checking whether to build with multibyte character support... no
checking whether to build with Unicode conversion support... no
checking for default port number... 5432
checking for default soft limit on number of connections... 32
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
using CFLAGS=-O2
checking whether the C compiler (gcc -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot creat
e executables.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Isn't gcc the c compiler which comes with Cygwin? Do I need some other C compiler?

Thanks
Vikas


Make a difference, help support the relief efforts in the U.S.
http://clubs.lycos.com/live/events/september11.asp

Re: Installing PostgreSQL on winNT

From
Marko Kreen
Date:
On Thu, Oct 18, 2001 at 04:58:22PM -0700, vikas vkgupta gupta wrote:
> checking whether the C compiler (gcc -O2 ) works... no
> configure: error: installation or configuration problem: C compiler cannot creat
> e executables.

gcc does not find cygipc for some reason

--
marko


Re: Installing PostgreSQL on winNT

From
"Robert J. Sanford, Jr."
Date:
if you download the cygwin (http://cygwin.com) toolkit it comes with 7.1.3
prebuilt for you and you don't have to go through the pain of building it
yourself. after installing cygwin (i recommend the FULL install unless you
know exactly what you are doing) you can read the postgres readme in
/usr/doc/cygwin for instructions on installing cygipc as well as running
both cygipc and postgres as win2k services.

rjsjr


> -----Original Message-----
> From: pgsql-general-owner@postgresql.org
> [mailto:pgsql-general-owner@postgresql.org]On Behalf Of Marko Kreen
> Sent: Friday, October 19, 2001 1:25 PM
> To: vikas vkgupta gupta
> Cc: pgsql-general@postgresql.org
> Subject: Re: [GENERAL] Installing PostgreSQL on winNT
>
>
> On Thu, Oct 18, 2001 at 04:58:22PM -0700, vikas vkgupta gupta wrote:
> > checking whether the C compiler (gcc -O2 ) works... no
> > configure: error: installation or configuration problem: C
> compiler cannot creat
> > e executables.
>
> gcc does not find cygipc for some reason
>
> --
> marko
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>