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

Paragon Corporation lr at pcorp.us
Mon Jul 13 09:34:59 PDT 2009


We get a path not found error too when doing make clean.
In our case says rm cannot be found.

When do 

$PATH 

In mingw, gives a truncated path and error No such file or directory

Below is the make clean log

make -C liblwgeom clean
make[1]: Entering directory `/c/thesrc/postgis-1.4.0rc2/liblwgeom'
rm -f measures.o box2d.o ptarray.o lwgeom_api.o lwgeom.o lwpoint.o lwline.o
lwpoly.o lwmpoint.o lwmline.o lwmpoly.o lwcollection.o lwcircstring.o
lwcompound.o lwcurvepoly.o lwmcurve.o lwmsurface.o lwutil.o lwalgorithm.o
lwgunparse.o lwgparse.o lwsegmentize.o wktparse.tab.o lex.yy.o vsprintf.o

rm -f liblwgeom.a 
make[1]: Leaving directory `/c/thesrc/postgis-1.4.0rc2/liblwgeom'
make -C postgis clean
make[1]: Entering directory `/c/thesrc/postgis-1.4.0rc2/postgis'
rm -f postgis-1.4.dll   libpostgis-1.4.a libpostgis-1.4dll.def
rm -f postgis.sql uninstall_postgis.sql postgis_upgrade.sql
rm -f lwgeom_pg.o lwgeom_debug.o lwgeom_accum.o lwgeom_spheroid.o
lwgeom_ogc.o lwgeom_functions_analytic.o lwgeom_inout.o lwgeom_estimate.o
lwgeom_functions_basic.o lwgeom_gist.o lwgeom_btree.o lwgeom_transform.o
lwgeom_box.o lwgeom_box3d.o lwgeom_box2dfloat4.o lwgeom_chip.o lwgeom_geos.o
lwgeom_geos_prepared.o lwgeom_svg.o lwgeom_gml.o lwgeom_kml.o
lwgeom_geojson.o lwgeom_triggers.o lwgeom_dump.o lwgeom_functions_lrs.o
long_xact.o lwgeom_sqlmm.o lwgeom_rtree.o
rm -f postgis.sql.in uninstall_postgis.sql.in
make[1]: Leaving directory `/c/thesrc/postgis-1.4.0rc2/postgis'
make -C loader clean
make[1]: Entering directory `/c/thesrc/postgis-1.4.0rc2/loader'
make[1]: Leaving directory `/c/thesrc/postgis-1.4.0rc2/loader'
make -C doc clean
make[1]: Entering directory `/c/thesrc/postgis-1.4.0rc2/doc'
make[1]: Leaving directory `/c/thesrc/postgis-1.4.0rc2/doc'
make -C regress clean
make[1]: Entering directory `/c/thesrc/postgis-1.4.0rc2/regress'
rm -f postgis.sql 
make[1]: rm: Command not found
make[1]: *** [clean] Error 127
make[1]: Leaving directory `/c/thesrc/postgis-1.4.0rc2/regress'
make: *** [test-clean] Error 2



Leo 

-----Original Message-----
From: postgis-devel-bounces at postgis.refractions.net
[mailto:postgis-devel-bounces at postgis.refractions.net] On Behalf Of Mark
Cave-Ayland
Sent: Monday, July 13, 2009 7:26 AM
To: PostGIS Development Discussion
Subject: Re: [postgis-devel] problem with makefile in MinGW in trunk

nicklas.aven at jordogskog.no wrote:

> Then it seems to give exactly the same error-messages as in branch 1.4
>  
> is it something strange with my mingw-installation or is it the same 
> thing for you Regina?
> or anyone else compiling with MinGW
>  
> /Nicklas

How strange. What does PATH look like in a plain MSYS shell? Can you type
"make" on its own within that? And what are the exact errors you are seeing?


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






More information about the postgis-devel mailing list