How to Build NLS Files - Mailing list pgsql-general

From Mark Hill
Subject How to Build NLS Files
Date
Msg-id BN8PR05MB6657CDFBEBD39D5E0E114F3DEE479@BN8PR05MB6657.namprd05.prod.outlook.com
Whole thread Raw
List pgsql-general

I’m building Postgres 14.5 on Windows and want to build the nls files that go in share/locale.

According to this page I need the gettext software:

Gettext is required to build with NLS support, and can be downloaded from http://gnuwin32.sourceforge.net. Note that binaries, dependencies and developer files are all needed.

I’ve downloaded the Binaries, Dependencies, Developer files, and Sources zip files from this page:   http://gnuwin32.sourceforge.net/packages/gettext.htm
and unzipped in C:\gettext.   Is that sufficient or do I need to build the source and/or anything else? 

I’m building Postgres via the msvc tools in postgresql-14.5/src/tools/msvc with the build.bat script.  The build succeeds until I try to build
the nls files by adding the following to the config.pl script:
$main::config->{'nls'}="C:/gettext";
my $nls =   $main::config->{'nls'};

Anybody have experience with this?

Thanks, Mark


 

pgsql-general by date:

Previous
From: Christophe Pettus
Date:
Subject: Re: Is it possible to stop sessions killing eachother when they all authorize as the same role?
Next
From: Adrian Klaver
Date:
Subject: Re: Postgresql acid components