Skip site navigation (1) Skip section navigation (2)

Re: Re: Problems with latest Cygwin build

From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: Eduardo Stern <eduardo(at)stern(dot)com(dot)br>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: Re: Problems with latest Cygwin build
Date: 2001-03-27 22:37:00
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-ports

On Tue, Mar 27, 2001 at 11:11:12AM -0300, Eduardo Stern wrote:
> Well, Jason, the problem only occured if I used the full
> cygwin-inst-20010325.tar.bz2, and then compiled postgresql. If I only change
> the cygwin1.dll, everything works.

You are correct.  I have isolated the problem and I am submitting a
patch to Cygwin to fix it.

In case you are wondering, FindExec() in src/backend/utils/init/findbe.c
is failing due to a change in Cygwin's stat implementation.  Try the
attached program *built* with 1.1.8-2 and then the 2001-03-25 snapshot
to see the difference.

With the snapshot, you will get the following:

    $ vb /usr/local/pgsql/bin/postgres.exe
    ValidateBinary: "/usr/local/pgsql/bin/postgres.exe" is not user read/execute
    ValidateBinary() = -1

Thanks for the heads up.


Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp.               Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA                 WWW:

In response to


pgsql-ports by date

Next:From: Bruce MomjianDate: 2001-03-27 23:41:23
Subject: pgmonitor and Solaris
Previous:From: Peter EisentrautDate: 2001-03-27 16:43:52
Subject: Re: 7.1RC1 regression results: anyone want them ?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group