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

nicklas.aven at jordogskog.no nicklas.aven at jordogskog.no
Fri Jul 17 02:11:23 PDT 2009


I don't know if I understod you right, but I tried to put "echo $(PATH)" in different places in Makefile The resulting error was: make -C regress check
make[1]: Entering directory `/c/thesrc/pg15/regress'
Makefile:16: *** target pattern contains no `%'.  Stop.
make[1]: Leaving directory `/c/thesrc/pg15/regress'
make: *** [check] Error 2
 /Nicklas

2009-07-17 Mark Cave-Ayland wrote:

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
>_______________________________________________
>postgis-devel mailing list
>postgis-devel at postgis.refractions.net
>http://postgis.refractions.net/mailman/listinfo/postgis-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20090717/401fb291/attachment.html>


More information about the postgis-devel mailing list