Re: Problem installing postgresql with cygwin - Mailing list pgsql-cygwin

From joek hondius
Subject Re: Problem installing postgresql with cygwin
Date
Msg-id 000301c24dd7$4356e1f0$28884fc1@voyager
Whole thread Raw
In response to Problem installing postgresql with cygwin  ("atanu roy" <atanu_ray@rediffmail.com>)
List pgsql-cygwin
a) If you install cygipc, the libs will be there too.

b) You can get cygipc from:
http://www.neuro.gatech.edu/users/cwilson/cygutils/cygipc/index.html
under NEWS, be sure to get v.1.11, not v1.12

c) Use the following command to install the cygipc package:
$ tar -C / -xjf cygipc-${version}.tar.bz2
where "${version}" is the version (e.g., 1.11-1).

d) I am NOT a guru. I read http://www.ca.postgresql.org/docs/faq-mswin.html
be sure to read it.

Greetings Joek



-----Oorspronkelijk bericht-----
Van: atanu roy [mailto:atanu_ray@rediffmail.com]
Verzonden: dinsdag 27 augustus 2002 13:50
Aan: joek hondius
Onderwerp: Re: RE: [CYGWIN] Problem installing postgresql with cygwin


Hi Joek,
You are spot on. The config.log file is giving exactly the same
error as you suspected. I am providing a copy of the config.log
below. Could you please elaborate on how to fix this
problem.......like where I'll find cygipc libs and where to place
it............

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

configure:635: checking host system type
configure:661: checking which template to use
configure:824: checking whether to build with locale support
configure:853: checking whether to build with recode support
configure:883: checking whether to build with multibyte character
support
configure:937: checking whether NLS is wanted
configure:972: checking for default port number
configure:1006: checking for default soft limit on number of
connections
configure:1130: checking for gcc
configure:1243: checking whether the C compiler (gcc  ) works
configure:1259: gcc -o conftest    conftest.c  1>&5
configure:1285: checking whether the C compiler (gcc  ) is a
cross-compiler
configure:1290: checking whether we are using GNU C
configure:1299: gcc -E conftest.c
configure:1318: checking whether gcc accepts -g
configure:1361: checking whether the C compiler (gcc -O2 ) works
configure:1377: gcc -o conftest -O2   conftest.c -lcygipc 1>&5
/usr/lib/gcc-lib/i686-pc-cygwin/3.1.1/../../../../i686-pc-cygwin/bin/ld:
cannot find -lcygipc
collect2: ld returned 1 exit status
configure: failed program was:

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

main(){return(0);}
----------End of config.log------------------------------------

Regards,
Atanu Roy



On Tue, 27 Aug 2002 joek hondius wrote :
>You have to have the cygipc libs.
>The config.log of ./compile will probably tell you something
>like: could not
>find lcygipc
>
>Greetings Joek Hondius
>
>
>-----Oorspronkelijk bericht-----
>Van: pgsql-cygwin-owner@postgresql.org
>[mailto:pgsql-cygwin-owner@postgresql.org]Namens atanu roy
>Verzonden: dinsdag 27 augustus 2002 8:07
>Aan: pgsql-cygwin@postgresql.org
>Onderwerp: [CYGWIN] Problem installing postgresql with cygwin
>
>
>Hi,
>
>I am trying to install postgresql on Windows2000. I have
>installed
>cygwin, cygipc. I have installed ipc-daemon as a service and
>started it.
>
>I downloaded the postgresql-7.2.1 distribution under cygwin
>distribution's
>/usr/src/postgresql-7.2.1/
>
>As the first step to install postgresql when I run the ./config
>script
>I get the 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 NLS is wanted... 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.
>
>I am completely at a loss as I have to meet some deadline.
>
>Regards
>Atanu Roy
>
>
>---------------------------(end of
>broadcast)---------------------------
>TIP 1: subscribe and unsubscribe commands go to
>majordomo@postgresql.org
>

pgsql-cygwin by date:

Previous
From: Jason Tishler
Date:
Subject: Re: Problem installing postgresql with cygwin
Next
From: "joek hondius"
Date:
Subject: HELP < 63 users