Re: [HACKERS] Another crack at doing a Win32 build under MINGW

Lists: pgsql-hackerspgsql-hackers-win32
From: "Dann Corbit" <DCorbit(at)connx(dot)com>
To: "Dann Corbit" <DCorbit(at)connx(dot)com>, <pgsql-hackers-win32(at)postgresql(dot)org>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] Another crack at doing a Win32 build under MINGW
Date: 2004-03-05 03:02:54
Message-ID: D90A5A6C612A39408103E6ECDD77B8299CA859@voyager.corporate.connx.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-hackers-win32

I am able to build now, and perform initdb. However, I cannot run the
postmaster. I don't know how far along the port is. What is the
current state of the port to Win32?

dcorbit(at)DANNFAST /usr/local/pgsql/bin
$ postmaster -D u:/pgdata
LOG: select() failed in postmaster: No such file or directory

dcorbit(at)DANNFAST /usr/local/pgsql/bin
$ FATAL: could not attach to proper memory at fixed address:
shmget(key=5432001, addr=00E10000) failed: No such file or directory


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Dann Corbit <DCorbit(at)connx(dot)com>
Cc: PostgreSQL Win32 port list <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: [HACKERS] Another crack at doing a Win32 build under MINGW
Date: 2004-03-05 03:20:28
Message-ID: 200403050320.i253KSH20883@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-hackers-win32

Dann Corbit wrote:
> I am able to build now, and perform initdb. However, I cannot run the
> postmaster. I don't know how far along the port is. What is the
> current state of the port to Win32?
>
> dcorbit(at)DANNFAST /usr/local/pgsql/bin
> $ postmaster -D u:/pgdata
> LOG: select() failed in postmaster: No such file or directory
>
> dcorbit(at)DANNFAST /usr/local/pgsql/bin
> $ FATAL: could not attach to proper memory at fixed address:
> shmget(key=5432001, addr=00E10000) failed: No such file or directory

[ email moved to win32 list.]

They have only a few regression tests failing, so we are very far along.

The message you are seeing looks like code that assumes that a child can
map to the same shared memory address as the postmaster. We haven't
seen that fail for anyone before, but it is an assumption we weren't
sure about. Of course this is all a guess.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073