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

From atanu roy
Subject Re: Problem installing postgresql with cygwin
Date
Msg-id 20020827083910.10263.qmail@webmail15.rediffmail.com
Whole thread Raw
In response to Problem installing postgresql with cygwin  ("atanu roy" <atanu_ray@rediffmail.com>)
Responses Re: Problem installing postgresql with cygwin
List pgsql-cygwin
Hi,
Thanks for your reply.
I need to install from source.
However, when I try to install from the binary with cygwin, then
also I encounter the following problem.
I am consulting the
J:\cygwin\usr\doc\Cygwin\postgresql-7.2.1.README document.
When I try to install in the basic mode by running initdb I get
the following error:
----
The program
     '/usr/bin/postgres'
needed by initdb does not belong to PostgreSQL version 7.2.1, or
there may be a configuration problem.

This was the error message issued by that program:
/usr/bin/postgres: invalid current euid 500
-----

When I go for NT services Cygwin PostgreSQL installation
procedure:I cannot locate lusrmgr.msc & secpol.msc files in my
cygwin distribution.

Please help.

Atanu Roy



On Tue, 27 Aug 2002 mugwumpj wrote :
>is there a reason you need to build from source?  if not, just
>install the
>binary that's part of the cygwin distro.
>
>On 27 Aug 2002, atanu  roy wrote:
>
> > 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: mugwumpj
Date:
Subject: Re: Problem installing postgresql with cygwin
Next
From: Jason Tishler
Date:
Subject: Re: Problem installing postgresql with cygwin