Lists: | pgsql-ports |
---|
From: | "Eduardo Stern" <eduardo(at)stern(dot)com(dot)br> |
---|---|
To: | pgsql-ports(at)postgresql(dot)org |
Subject: | Problems with latest Cygwin build |
Date: | 2001-03-25 19:23:43 |
Message-ID: | 99lgkf99lgkf$1cn1$1@news.tht.netcn199lgkf$1cn1$1@news.tht.net@news.tht.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-ports |
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.
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: Problems with latest Cygwin build |
Date: | 2001-03-26 16:32:43 |
Message-ID: | 20010326113243.H291@dothill.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-ports |
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(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com
From: | "Eduardo Stern" <eduardo(at)stern(dot)com(dot)br> |
---|---|
To: | pgsql-ports(at)postgresql(dot)org |
Subject: | Re: Problems with latest Cygwin build |
Date: | 2001-03-27 14:11:12 |
Message-ID: | 99q727eiu99q727$2eiu$1@news.tht.net@news.tht.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-ports |
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(dot)Tishler(at)dothill(dot)com> escreveu nas notcias de
mensagem:20010326113243(dot)H291(at)dothill(dot)com(dot)(dot)(dot)
> 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(dot)Tishler(at)dothill(dot)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
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: | 20010327173700.W465@dothill.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-ports |
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(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com
Attachment | Content-Type | Size |
---|---|---|
vb.c | text/plain | 3.2 KB |
From: | Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com> |
---|---|
To: | Eduardo Stern <eduardo(at)stern(dot)com(dot)br>, pgsql-ports(at)postgresql(dot)org |
Subject: | Re: Re: Problems with latest Cygwin build |
Date: | 2001-03-28 16:55:42 |
Message-ID: | 20010328115542.D465@dothill.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | Postg토토 사이트 |
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(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com