[postgis-users] Question about the regression tests on Windows

Mark Cave-Ayland m.cave-ayland at webbased.co.uk
Fri Apr 21 00:38:30 PDT 2006

> -----Original Message-----
> From: postgis-users-bounces at postgis.refractions.net [mailto:postgis-users-
> bounces at postgis.refractions.net] On Behalf Of DANTE ALEXANDRA
> Sent: 21 April 2006 07:51
> To: postgis-users at postgis.refractions.net
> Subject: [postgis-users] Question about the regression tests on Windows
> Hello List,
> I got a question about the PostGIS regression tests.
> Using MinGW and Msys, I have compiled PostGreSQL 8.1.3, Geos 2.2.1, Proj
> 4.4.9 and PostGIS 1.1.2 on Windows 2000 Professionnel.
> As my system is a french one, "initdb" has built the database cluster
> using as locale support "French_France.1252". So to run the regression
> tests, I have done :
> - stop the postmaster
> - modify the "postgresql.conf" file to set :
> # These settings are initialized by initdb -- they might be changed
> lc_messages = 'C'#'French_France.1252'                  # locale for
> system error message strings
> lc_monetary = 'C'#'French_France.1252'                  # locale for
> monetary formatting
> lc_numeric = 'C'#'French_France.1252'                   # locale for
> number formatting
> lc_time = 'C'#'French_France.1252'                      # locale for
> time formatting
> - restart the postmaster
> - go to the repertory of the PostGIS sources which is
> "/home/dantea/sources/PostGIS/postgis-1.1.2/" (that is to say
> "C:\msys\1.0\home\dantea\sources\PostGIS\postgis-1.1.2"), directory
> where PostGIS was compiled
> - launch the "make test" command.


> Have you already encounter this problem of "path" in the lwpostgis.sql
> file ?
> Why do this file, stored in the "regress" directory, contain this path ?
> Have you already passed the regression tests ?
> Thank you for your help.
> Regards,
> Alexandra DANTE

Hi Alexandra,

Yes, I discovered this issue while preparing the Win32 builds at
http://www.webbased.co.uk/mca/ and posted a patch to the postgis-devel list
l. This patch has now been applied to CVS, so the regression tests for
1.1.3/CVS should run without a problem. 

Also, if you are building from source, you may be interested the see the
win32build.sh script I use as part of the Win32 installer which can be
downloaded as part of the installer source
This includes the above patch in the patches/ directory, but you'll need to
manually apply it and run ./autogen.sh before starting the build.

Kind regards,


WebBased Ltd
17 Research Way

T: +44 (0)1752 797131
F: +44 (0)1752 791023


This email and any attachments are confidential to the intended recipient
and may also be privileged. If you are not the intended recipient please
delete it from your system and notify the sender. You should not copy it or
use it for any purpose nor disclose or distribute its contents to any other

More information about the postgis-users mailing list