[postgis-devel] [PostGIS] #1794: make check under mingw doesn't work

PostGIS trac at osgeo.org
Mon Apr 30 17:59:48 PDT 2012


#1794: make check under mingw doesn't work
----------------------+-----------------------------------------------------
  Reporter:  pramsey  |       Owner:  pramsey      
      Type:  defect   |      Status:  closed       
  Priority:  medium   |   Milestone:  PostGIS 1.5.4
 Component:  postgis  |     Version:  1.5.X        
Resolution:  fixed    |    Keywords:               
----------------------+-----------------------------------------------------

Comment(by robe):

 confirmed you change breaks my ability to regress.  Though now I can't
 seem to get it back into a state I can compile.

 The issue before is the old mingw doesn't like this line in
 regress/Makefile.in:

 {{{
 srcdir=$(shell bash -c "pwd -W")

 }}}

 So I would have a hacked script that has this instead:


 {{{
 srcdir=$(shell pwd -W)
 }}}

 but even that isn't working for me either:(

 It's giving me a:


 {{{
 sed 's,$libdir,c:/projects/postgis/branches/1.5/regress/00-regress-
 install/lib,g' ../postgis/postgis.sql > postgis.sql
 /bin/sh: ./run_test: No such file or directory
 make[1]: *** [check] Error 127
 make[1]: Leaving directory `/c/projects/postgis/branches/1.5/regress'
 make: *** [check] Error 2

 }}}

 I have to also change the run_test from


 {{{
 #!/bin/bash
 }}}

 to


 {{{
 #!/bin/sh
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1794#comment:6>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list