[postgis-devel] problem with makefile in MinGW in trunk

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Mon Jul 13 02:25:50 PDT 2009


nicklas.aven at jordogskog.no wrote:
> 
> in postgis 1.5 trunk from MinGW
> When I run make clean in regress-folder I get an error message:
> $ make clean
> rm -f postgis.sql
> make: rm: Command not found
> make: *** [clean] Error 127
>  
> if I comment away all this in the makefile make clean works :
> srcdir=$(shell pwd)
> #
> # Put path from pg_config into front of search path
> #
> PATH := $(PGSQL_BINDIR):$(PATH)
> export PATH
>  
> But I still have problems with make check. The cunit-tests work great. 
> then I get:
>  
> make -C regress check
> make[1]: Entering directory `/c/thesrc/pg15/regress'
> sed 's,$libdir/postgis,/../postgis/libpostgis,g' ../postgis/postgis.sql 
>  > postgis.sql
> ./run_test: line 385: psql: command not found
> Creating spatial db postgis_reg
> ./run_test: line 392: createdb: command not found
> ./run_test: line 393: createlang: command not found
> ./run_test: line 412: psql: command not found
>  Something went wrong (no postgis installed in postgis_reg).
>  For details, check /tmp/pgis_reg_2616/regress_log
> make[1]: *** [check] Error 1
> make[1]: Leaving directory `/c/thesrc/pg15/regress'
> make: *** [check] Error 2
>  
>  
> Thanks
> Nicklas

Hmmm that definitely sounds as if PATH is messed up :(  Do you see the 
same with 1.4 branch?


ATB,

Mark.

-- 
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063



More information about the postgis-devel mailing list