<div dir="ltr"><div>Concerning (executed in either git download directory or build):</div><div>~/gdal$ git describe<br>v3.3.0-2898-gba4e7c404b</div><div><br></div><div>Condition: was building and stopped with</div><div>[ 89%] Built target gcore_mdreader<br>CMakeFiles/GDAL.dir/build.make:2661: *** target pattern contains no '%'.  Stop.<br>make[1]: *** [CMakeFiles/Makefile2:4871: CMakeFiles/GDAL.dir/all] Error 2<br>make: *** [Makefile:146: all] Error 2</div><div><br></div><div>As we were building objects in gcore, the 'CMakeFiles/GDAL.dir/build.make:2661:'</div><div>refers to ~/gdal/build/gcore/CMakeFiles/GDAL.dir/build.make, line 2661 that is in the neighborhood of a problem at line 2667:</div><div>GEOS::geos_c-NOT FOUND</div><div>Well, that could be bad, and says the problem is local rather than with the git.</div><div>Perhaps a sudo ldconfig is called for. Done.</div><div>In ~/gdal/build rm CMakeCache.txt</div><div>Run cmake .. again</div><div>Copy and paste all output to editor and down at bottom find</div><div>IMPORTED_LOCATION not set for imported target "GEOS::geos_c" configuration<br>  "Release".</div><div>OK, so not something that ldconfig fixes. Pass in libgeos...how?</div><div>Resorting to ccmake ..</div><div>Pg 25 of 44</div><div>GEOS_DIR  /usr/local/lib/cmake/GEOS</div><div>contains:</div><div>ls /usr/local/lib/cmake/GEOS<br>geos-config.cmake  geos-config-version.cmake  geos-targets.cmake  local.cmake</div><div>So, nothing looking very useful, change to /usr/local/lib and try again<br></div><div>change to /usr/local/lib/libgeos_c.so</div><div>And try:</div><div>build$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DGEOS_DIR=/usr/local/lib/libgeos_c</div><div>And finally, this is where I am stuck.</div><div>Chris<br></div><div><br></div></div>