Problem with ./configure script?

From: "Tony Culshaw" <tculshaw(at)bigpond(dot)net(dot)au>
To: <pgsql-cygwin(at)postgresql(dot)org>
Subject: Problem with ./configure script?
Date: 2001-09-18 11:47:23
Message-ID: FPEPLCCMCFNABGKBLOKIEEBACCAA.tculshaw@bigpond.net.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

I've been a good boy, following the instructions, but I'm a newbie and might
be missing something obvious.

I installed cygwin onto Win2000 - no worries.
I downloaded and *** compiled *** the cygipc source without errors, and
installed as a service - no worries.

I downloaded pqsql 7.1.3 and unzipped into the cygwin root preserving the
directory structure.

I then tied to run ./configure and got the following:

**********************************
$ cd /postgresql-7.1.3

tony(at)CULTECH1 /postgresql-7.1.3
$ ./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.

tony(at)CULTECH1 /postgresql-7.1.3
$

**********************************

Here's the config.log file:

**********************************
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:629: checking host system type
configure:655: checking which template to use
configure:818: checking whether to build with locale support
configure:847: checking whether to build with recode support
configure:877: checking whether to build with multibyte character support
configure:929: checking whether to build with Unicode conversion support
configure:960: checking for default port number
configure:994: checking for default soft limit on number of connections
configure:1118: checking for gcc
configure:1231: checking whether the C compiler (gcc ) works
configure:1247: gcc -o conftest conftest.c 1>&5
configure:1273: checking whether the C compiler (gcc ) is a cross-compiler
configure:1278: checking whether we are using GNU C
configure:1287: gcc -E conftest.c
configure:1306: checking whether gcc accepts -g
configure:1349: checking whether the C compiler (gcc -O2 ) works
configure:1365: gcc -o conftest -O2 conftest.c -lcygipc 1>&5
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld:
cannot find -lcygipc
collect2: ld returned 1 exit status
configure: failed program was:

#line 1360 "configure"
#include "confdefs.h"

main(){return(0);}

**********************************

I'm well and truly lost here, but if someone could point me in the right
direction I'd be eternally grateful.

Cheers!

Tony.

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Henshall, Stuart - WCP 2001-09-18 13:20:05 Re: Problem with ./configure script?
Previous Message Jason Tishler 2001-09-17 16:12:00 Re: "pgbench -c 13" causes backend hangup.