Re: Problem installing postgresql with cygwin

Поиск
Список
Период
Сортировка
От atanu roy
Тема Re: Problem installing postgresql with cygwin
Дата
Msg-id 20020827083910.10263.qmail@webmail15.rediffmail.com
обсуждение исходный текст
Ответ на Problem installing postgresql with cygwin  ("atanu roy" <atanu_ray@rediffmail.com>)
Ответы Re: Problem installing postgresql with cygwin
Список 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 по дате отправления:

Предыдущее
От: mugwumpj
Дата:
Сообщение: Re: Problem installing postgresql with cygwin
Следующее
От: Jason Tishler
Дата:
Сообщение: Re: Problem installing postgresql with cygwin