[mapserver-users] Compiling mapserver with options

2019-08-17 Thread Jeremy JK
Hello all, OKMy supervisor wants me to compile mapserver version 6.2.1 like so ./configure --prefix=/usr --with-gdal --with-proj=/usr/local --with-jpeg --with-freetype --with-postgis=/usr/bin/pg_config --with-wmsclient --with-geos=/usr/local/bin/geos-config --with-fastcgi=/usr/lib --with-gif=no --with-gd --with-png now gdal, proj, freetype, postgis and fastcgi have all been installed on RHEL 7.3 server ButI want to use the latest mapserver 7.4.1but that uses cmakehow compile mapserver 7 with the configuration like 6 above?Thanks for the guidance Jeremy KadirDepartment of Geomatics Eng. & Land Mgmt.The University of the West Indies(868) 309 9123   
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Mapserver no longer reading pgpass file?

2019-08-17 Thread Thomas Horner
Hi List,

My MapServer mapfiles have been set up to read a Postgres connection with

`PG:host=... post=... dbname=...` etc for some time now.

I upgraded the packages on my linux box and the mapfiles no longer work
(error when connecting to postgres). However, running gdalinfo "PG:host...
..." using the exact same connection string works fine.

I realized that it's an authentication issue as the mapfiles work fine
again when I add password=... to the connection string.

I have a pgpass file in the cgi-bin, and one in my home directory which is
referenced with the PGPASS environment variable. Why would mapserver
suddenly not provide the correct password or consume the pgpass file
anymore? Does it need to be somewhere else? Why does it work fine with
gdalinfo without the password?

Thanks,
Thomas
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users