Re: windows build docs

Lists: pgsql-hackers
From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: windows build docs
Date: 2011-01-31 17:14:18
Message-ID: 4D46EDEA.8000203@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


Following recent discussions and the enabling of 64 bit Mingw builds, I
propose to make the attached changes to the docs. I don't see any great
reason for us to advise against building with Mingw, especially now that
we have 64 bit support for it, so I removed that, amd also clarified
where Cygwin is useful and where it's not, as well as adding some detail
about how to make 64 bit builds.

cheers

andrew

Attachment Content-Type Size
windocs.patch text/x-patch 3.0 KB

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: windows build docs
Date: 2011-01-31 17:17:07
Message-ID: AANLkTi=Y6-8CJpZkD5=XNkrQPrR8hJJFpnKqs_BMFR6k@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Mon, Jan 31, 2011 at 18:14, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
>
> Following recent discussions and the enabling of 64 bit Mingw builds, I
> propose to make the attached changes to the docs. I don't see any great
> reason for us to advise against building with Mingw, especially now that we
> have 64 bit support for it, so I removed that, amd also clarified where
> Cygwin is useful and where it's not, as well as adding some detail about how
> to make 64 bit builds.

Agreed, and looks good to me.

Do you know if cygwin psql works in non-US locales these days? It used
to be that it didn't, and if we recommend it we should probably
include a notice if it doesn't.

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: windows build docs
Date: 2011-01-31 18:34:13
Message-ID: 4D4700A5.4040201@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 01/31/2011 12:17 PM, Magnus Hagander wrote:
> On Mon, Jan 31, 2011 at 18:14, Andrew Dunstan<andrew(at)dunslane(dot)net> wrote:
>> Following recent discussions and the enabling of 64 bit Mingw builds, I
>> propose to make the attached changes to the docs. I don't see any great
>> reason for us to advise against building with Mingw, especially now that we
>> have 64 bit support for it, so I removed that, amd also clarified where
>> Cygwin is useful and where it's not, as well as adding some detail about how
>> to make 64 bit builds.
> Agreed, and looks good to me.
>
> Do you know if cygwin psql works in non-US locales these days? It used
> to be that it didn't, and if we recommend it we should probably
> include a notice if it doesn't.

I just tested by setting my machine to fr_FR, and also setting
LANG=fr_FR.utf8 under Cygwin. The build failed. The I set Cygwin back to
LANG=C.utf8 and the build/install succeeded. After that, I switched back
to LANG=fr_FR.utf8, and initdb, pg_ctl start and psql all behaved as
expected. I'm adding a note accordingly.

Some day I'll try to work out why the build went boom, but now I need to
move on to other things.

cheers

andrew


From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: windows build docs
Date: 2011-01-31 18:51:54
Message-ID: AANLkTimUN7-5UU8=P6DpTh9DhUVxUo8n3e1=_7Qf3L=a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Mon, Jan 31, 2011 at 19:34, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
>
>
> On 01/31/2011 12:17 PM, Magnus Hagander wrote:
>>
>> On Mon, Jan 31, 2011 at 18:14, Andrew Dunstan<andrew(at)dunslane(dot)net>  wrote:
>>>
>>> Following recent discussions and the enabling of 64 bit Mingw builds, I
>>> propose to make the attached changes to the docs. I don't see any great
>>> reason for us to advise against building with Mingw, especially now that
>>> we
>>> have 64 bit support for it, so I removed that, amd also clarified where
>>> Cygwin is useful and where it's not, as well as adding some detail about
>>> how
>>> to make 64 bit builds.
>>
>> Agreed, and looks good to me.
>>
>> Do you know if cygwin psql works in non-US locales these days? It used
>> to be that it didn't, and if we recommend it we should probably
>> include a notice if it doesn't.
>
>
> I just tested by setting my machine to fr_FR, and also setting
> LANG=fr_FR.utf8 under Cygwin. The build failed. The I set Cygwin back to
> LANG=C.utf8 and the build/install succeeded. After that, I switched back to
> LANG=fr_FR.utf8, and initdb, pg_ctl start and psql all behaved as expected.
> I'm adding a note accordingly.
>
> Some day I'll try to work out why the build went boom, but now I need to
> move on to other things.

The thing that *didn't* work for me previously was running it with
*windows* in a different locale. Meaning setting "regional settings"
in the control panel to something like, say, Swedish :-) Or for that
matter, french.

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: windows build docs
Date: 2011-01-31 19:02:28
Message-ID: 4D470744.1060804@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 01/31/2011 01:51 PM, Magnus Hagander wrote:
>>
>>
>> I just tested by setting my machine to fr_FR, and also setting
>> LANG=fr_FR.utf8 under Cygwin. The build failed. The I set Cygwin back to
>> LANG=C.utf8 and the build/install succeeded. After that, I switched back to
>> LANG=fr_FR.utf8, and initdb, pg_ctl start and psql all behaved as expected.
>> I'm adding a note accordingly.
>>
>> Some day I'll try to work out why the build went boom, but now I need to
>> move on to other things.
> The thing that *didn't* work for me previously was running it with
> *windows* in a different locale. Meaning setting "regional settings"
> in the control panel to something like, say, Swedish :-) Or for that
> matter, french.

Oh. Well, that worked fine for me just now. Maybe it's been fixed.

cheers

andrew


From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: windows build docs
Date: 2011-01-31 19:04:40
Message-ID: AANLkTi=W65A6XnBL=tWnD4AMMgNgJJfZo0SQR7T-=qoy@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

>>> I just tested by setting my machine to fr_FR, and also setting
>>> LANG=fr_FR.utf8 under Cygwin. The build failed. The I set Cygwin back to
>>> LANG=C.utf8 and the build/install succeeded. After that, I switched back
>>> to
>>> LANG=fr_FR.utf8, and initdb, pg_ctl start and psql all behaved as
>>> expected.
>>> I'm adding a note accordingly.
>>>
>>> Some day I'll try to work out why the build went boom, but now I need to
>>> move on to other things.
>>
>> The thing that *didn't* work for me previously was running it with
>> *windows* in a different locale. Meaning setting "regional settings"
>> in the control panel to something like, say, Swedish :-) Or for that
>> matter, french.
>
> Oh. Well, that worked fine for me just now. Maybe it's been fixed.

Great. Doesn't surprise me if it is, it was years ago...

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/