Re: pg_config.h on interix

From: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
To: "Sami Kuhmonen" <sami(at)iqs(dot)fi>
Cc: <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: pg_config.h on interix
Date: 2004-02-03 13:43:50
Message-ID: 303E00EBDD07B943924382E153890E5434AA77@cuthbert.rcsinc.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

Sami Kuhmonen wrote:
> For me the configure went well and I got Postgresql to compile, link
and
> even run. The only problem is that the encodings didn't go in that
well
> and there was no definition for sync() in the libraries. If someone
knows
> where to find it or how to change it to allow the syncing to work, I'd
> appreciate it.

#define sync()

;) ...The MinGW version has no sync either. The NT Kernel simply does
not have the capability. Ultimately the interix version will probably
inherit the same code as the SRA based sync. Hopefully, the recent
discussions about the bgwriter will bear fruit as this will mitigate the
lack of sync. Unfortunately, even with Interix, a production postgres
server will have to wait until 7.5/8.0.

> Some encodings did go in after trying twice (don't know why it needs
to be
> done that way...) but some won't. I'm checking this problem but
otherwise
> the server works great. Command line tools dump core, but that's a
minor
> problem anyway.

You are luckier than me...I just couldn't get through linking because of
encodings and other problems. I was planning on rebuilding sed and
giving it another shot.

Could you give a quick rundown of which build tools you updated and your
configure options? Also, how did you update config.guess etc.? (you
compiled the 7.4.1 source, right? or cvs?) I had to grab some of the
m4 stuff from the 7.2.2 port provided by interopsystems.

Regards,
Merlin

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Tom Lane 2004-02-03 15:05:34 Re: [pgsql-hackers-win32] Sync vs. fsync during checkpoint
Previous Message Sami Kuhmonen 2004-02-03 12:48:23 Re: pg_config.h on interix