Problem with ./configure script? - Mailing list pgsql-cygwin
From | Tony Culshaw |
---|---|
Subject | Problem with ./configure script? |
Date | |
Msg-id | FPEPLCCMCFNABGKBLOKIEEBACCAA.tculshaw@bigpond.net.au Whole thread Raw |
Responses |
Re: Problem with ./configure script?
|
List | 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@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@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.
pgsql-cygwin by date: