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

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Fri Jul 17 01:55:01 PDT 2009


nicklas.aven at jordogskog.no wrote:

> It still won't work for me.
> But one difference, the compiler returns the linenumber with error :-)
>  
> now it looks like this:
>  
> make -C regress check
> make[1]: Entering directory `/c/thesrc/pg15/regress'
> sed 's,$libdir/postgis,/c/thesrc/pg15/regress/../postgis/libpostgis,g' 
> ../postgis/postgis.sql > postgis.sql
> ./run_test: line 386: psql: command not found
> Creating spatial db postgis_reg
> ./run_test: line 393: createdb: command not found
> ./run_test: line 394: createlang: command not found
> ./run_test: line 413: psql: command not found
>  Something went wrong (no postgis installed in postgis_reg).
>  For details, check /tmp/pgis_reg_5252/regress_log
> make[1]: *** [check] Error 1
> make[1]: Leaving directory `/c/thesrc/pg15/regress'
> make: *** [check] Error 2
> /Nicklas

Hmmm. If you add an "echo $(PATH)" at the top of the "make check" rule, 
does it correctly have an MSYS-style path to PGSQL_BINDIR at the front 
of the PATH?


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