Обсуждение: Problems with latest Cygwin build
I tried the 2001-03-21 snapshot of cygwin1.dll and it aborts initdb, both on 7.0.3 and 7.1RC1. Anybody had the same problem? With an older snapshot of cygwin1.dll (2001-02-10), it works ok.
Eduardo, On Sun, Mar 25, 2001 at 04:23:43PM -0300, Eduardo Stern wrote: > I tried the 2001-03-21 snapshot of cygwin1.dll and it aborts initdb, both on > 7.0.3 and 7.1RC1. > > Anybody had the same problem? With an older snapshot of cygwin1.dll > (2001-02-10), it works ok. I just tried PostgreSQL 7.1RC1 under the Cygwin 2001-03-25 snapshot without any problems. make installcheck ran without any errors too. Please try the 2001-03-25 snapshot. Does it fix your initdb problem? If not, please report your exact error messages. Thanks, Jason -- 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.Tishler@dothill.com Hazlet, NJ 07730 USA WWW: http://www.dothill.com
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. I will make some more tests and report to you. []s Jason Tishler <Jason.Tishler@dothill.com> escreveu nas not�cias de mensagem:20010326113243.H291@dothill.com... > Eduardo, > > On Sun, Mar 25, 2001 at 04:23:43PM -0300, Eduardo Stern wrote: > > I tried the 2001-03-21 snapshot of cygwin1.dll and it aborts initdb, both on > > 7.0.3 and 7.1RC1. > > > > Anybody had the same problem? With an older snapshot of cygwin1.dll > > (2001-02-10), it works ok. > > I just tried PostgreSQL 7.1RC1 under the Cygwin 2001-03-25 snapshot without > any problems. make installcheck ran without any errors too. > > Please try the 2001-03-25 snapshot. Does it fix your initdb problem? > If not, please report your exact error messages. > > Thanks, > Jason > > -- > 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.Tishler@dothill.com > Hazlet, NJ 07730 USA WWW: http://www.dothill.com > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://www.postgresql.org/search.mpl
Eduardo, 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 -- 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.Tishler@dothill.com Hazlet, NJ 07730 USA WWW: http://www.dothill.com
Вложения
Eduardo, On Tue, Mar 27, 2001 at 05:37:00PM -0500, Jason Tishler wrote: > 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. This problem has been corrected in the latest Cygwin CVS. If interested, see the following for details: http://www.cygwin.com/ml/cygwin-patches/2001-q1/msg00257.html The suggested Cygwin setups are as following: 1. use Cygwin 1.1.8-2 with only cygwin1.dll replace by one from a snapshot 2. use a Cygwin snapshot *after* 2001-03-25 (when available) 3. use (i.e., install) the latest Cygwin CVS > 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. I forgot to mention in my previous email, that this problem causes initdb to fail to first time that it executes postgres. This occurs right after initdb displays: Initializing pg_shadow. Obviously, this will happen during a make check too. Jason -- 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.Tishler@dothill.com Hazlet, NJ 07730 USA WWW: http://www.dothill.com