<div dir="ltr">Seems like a documentation issue. Why not just add something about requirements to <a href="https://mapserver.org/mapcache/install.html">https://mapserver.org/mapcache/install.html</a>. Should GEOS also be added to list of required software? --Steve</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 29, 2019 at 10:30 AM Jeff McKenna <<a href="mailto:jmckenna@gatewaygeomatics.com">jmckenna@gatewaygeomatics.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2019-11-29 12:13 PM, Even Rouault wrote:<br>
> On vendredi 29 novembre 2019 12:02:12 CET Jeff McKenna wrote:<br>
>> Regarding users compiling this, how would they know that GDAL+PROJ are<br>
>> required, if we remove WITH-GDAL and WITH-PROJ from the cmake syntax?<br>
>> (those cmake hints are a lifeline for compiling software I find).<br>
> <br>
> Exactly as they would figure out for other required dependencies we have<br>
> already (libpng, libjpeg, libfreetype). cmake will loudly and clearly complain<br>
> about what's wrong:<br>
> <br>
> -- Could NOT find PROJ (missing: PROJ_LIBRARY)<br>
> CMake Error at CMakeLists.txt:79 (message):<br>
> PROJ library/component could not be found and is a mandatory dependency<br>
> <br>
> HINT:<br>
> - add the PROJ install directory to the CMAKE_PREFIX_PATH variable (-<br>
> DCMAKE_PREFIX_PATH="/path/to/PROJ-install-dir;/path/to/other/dirs"<br>
> Call Stack (most recent call first):<br>
> CMakeLists.txt:390 (report_mandatory_not_found)<br>
> <br>
<br>
I meant besides battling through cmake errors. cmake command has a <br>
switch "-LA" that lists all available options (WITH_PHP, WITH_PIXMAN, <br>
etc) that is very useful when compiling a new software, and learning of <br>
all its dependencies. But it sounds like there is no way to tell users <br>
of these hidden requirements (at least not from my googling).<br>
<br>
-jeff<br>
<br>
_______________________________________________<br>
mapserver-dev mailing list<br>
<a href="mailto:mapserver-dev@lists.osgeo.org" target="_blank">mapserver-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-dev</a></blockquote></div>