building postgres.exe ./configure dies

From: Jerry Asher <jerry(at)hollyjerry(dot)org>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: building postgres.exe ./configure dies
Date: 2001-05-29 20:28:43
Message-ID: 4.3.2.7.2.20010529131548.00cca3d0@hollyjerry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Hi folks,

I'm trying to build postgres 7.1.1 (or 7.1.2) on Windows NTW4SP6 using the
latest cygwin. The machine I am compiling on has a dual processor, PIII
configuration.

In the very first step, ./configure errors out!

>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
>create executables.

This is using gcc version 2.95.3-4 (cygwin special). The exact same
problem occurs with postgres 7.1.2

Having never seen configure die like this, I am not sure what to do....

Is this a problem in the ./configure script (and if so what can I do), or
is this a problem with gcc (???) as the configure script would claim?

Where is this problem best reported? Here on the cygwin digest, or
somewhere in postgres land?

Thank you,

Jerry Asher

P.S. The complete configure output is here:

>./configure
>creating 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
>create executables.
>Administrator(at)DUALBERT:c:/cygnus/usr/src/postgresql-7.1.1$ which gcc
>/usr/bin/gcc
>Administrator(at)DUALBERT:c:/cygnus/usr/src/postgresql-7.1.1$ gcc -v
>Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-4/specs
>gcc version 2.95.3-4 (cygwin special)
>Administrator(at)DUALBERT:c:/cygnus/usr/src/postgresql-7.1.1$

=====================================================
Jerry Asher jerry(at)hollyjerry(dot)org
1678 Shattuck Avenue Suite 161 Tel: (510) 549-2980
Berkeley, CA 94709 Fax: (877) 311-8688

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2001-05-30 02:25:44 Re: building postgres.exe ./configure dies
Previous Message Jason Tishler 2001-05-29 17:53:38 Re: Start up and shutdown scripts for postgres on cygwin