[postgis-devel] problem with makefile in MinGW in trunk
Mark Cave-Ayland
mark.cave-ayland at siriusit.co.uk
Fri Jul 17 04:07:16 PDT 2009
nicklas.aven at jordogskog.no wrote:
> now something happened (your first alternative)
>
> and the answer is:
>
> make -C regress check
> make[1]: Entering directory `/c/thesrc/pg15_ny/regress'
> sed
> 's,$libdir/postgis,/c/thesrc/pg15_ny/regress/../postgis/libpostgis,g'
> ../postgis/postgis.sql > postgis.sql
> echo /c/POSTGR~3/bin /c/thesrc/pg15_ny/regress /c/POSTGR~3/bin
> /c/thesrc/pg15_ny/regress
> /c/POSTGR~3/bin /c/thesrc/pg15_ny/regress /c/POSTGR~3/bin
> /c/thesrc/pg15_ny/regress
> ./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_5864/regress_log
> make[1]: *** [check] Error 1
> make[1]: Leaving directory `/c/thesrc/pg15_ny/regress'
> make: *** [check] Error 2
>
> should the same thing be repeated like that in the path?
> and why is opstgres in uppercase. the name of the folder is
> c:\postgres84
>
> /Nicklas
That's really weird - what does a plain "env | grep PATH" return in an
MSYS session? For some reason, your individual paths above are separated
by spaces - they need to be separated by colons, as per Unix, e.g.
echo $PATH
/usr/local/bin:.:/path/to/postgres
Don't worry about the short folder names - these are internal Windows
names for folders on filesystems that can't/won't support long filenames.
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