[MapServer-dev] mapserver compiling errors

Jeff McKenna jmckenna at gatewaygeomatics.com
Mon Oct 31 07:41:08 PDT 2022

Put another way: don't get stuck reading the CMake error log file (I've 
been down that rabbit hole before, and that log file mentions errors 
that do not affect the MapServer build process) - instead look in your 
terminal at the output of the cmake command, there at bottom you should 
see the MapServer error (such as related to PNG MapScript, etc.)

Hope that helps,


Jeff McKenna
GatewayGeo: Developers of MS4W, MapServer Consulting and Training
co-founder of FOSS4G

On 2022-10-31 11:36 a.m., Jeff McKenna wrote:
> Hi Martin,
> I searched the mailing list archives for your same question, and found 
> your exact question, with the solution: search this mailing list archive 
> at https://marc.info/?l=mapserver-dev
> In summary: those str* are just checks and likely the fatal CMake error 
> is later in your logs.  Recommend to "rm -rf" that build directory and 
> re-try (for example, it could be that you are failing on some part of 
> the CMake build process such as enabling PHPNG MapScript).
> -jeff

More information about the MapServer-dev mailing list