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

nicklas.aven at jordogskog.no nicklas.aven at jordogskog.no
Mon Jul 13 02:38:36 PDT 2009


I downloaded 1.4 branch and tested. "make clean" gives exactly the same error as the trunk  "make check" gives this after a successfull cunit-test: make -C regress check
make[1]: Entering directory `/c/thesrc/pg14/regress'
make -C ../postgis
make[1]: make: Command not found
make[1]: *** [../postgis/postgis.so] Error 127
make[1]: Leaving directory `/c/thesrc/pg14/regress'
make: *** [check] Error 2
 

2009-07-13 Mark Cave-Ayland wrote:

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
>_______________________________________________
>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/20090713/b43c3c20/attachment.html>


More information about the postgis-devel mailing list