[geos-devel] Can't build using 3.8.0rc1 tarball and CMake

Paul Ramsey pramsey at cleverelephant.ca
Thu Oct 3 07:20:27 PDT 2019


Apparently there are some cmake files that aren’t included in the autotools ‘make dist’ target, one of the many joys of our dual-build system

P

> On Oct 3, 2019, at 7:18 AM, Regina Obe <lr at pcorp.us> wrote:
> 
> I’m having some trouble trying to build 3.8.0rc1 using CMake and the http://download.osgeo.org/geos/geos-3.8.0rc1.tar.bz2tarball .
> I don’t have the same issue building from git master.  
>  
>  
> -- GEOS: Using default build type: Release
> -- GEOS: Run-time output: C:/Projects/sources/build/bin
> -- GEOS: Archives output: C:/Projects/sources/build/lib
> -- The C compiler identification is GNU 8.1.0
> -- The CXX compiler identification is GNU 8.1.0
> -- Check for working C compiler: C:/ming64gcc81/mingw64/bin/gcc.exe
> -- Check for working C compiler: C:/ming64gcc81/mingw64/bin/gcc.exe -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler: C:/ming64gcc81/mingw64/bin/g++.exe
> -- Check for working CXX compiler: C:/ming64gcc81/mingw64/bin/g++.exe -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- GEOS: Version 3.8.0rc1
> -- GEOS: C API Version 1.13.1
> -- GEOS: JTS port 1.13.0
> -- GEOS: Require C++11
> CMake Error at CMakeLists.txt:267 (add_subdirectory):
>   The source directory
>  
>     C:/Projects/sources/geos-3.8.0rc1/doc
>  
>   does not contain a CMakeLists.txt file.
>  
>  
> CMake Error: File C:/Projects/sources/geos-3.8.0rc1/tools/geos-config.cmake does not exist.
> CMake Error at tools/CMakeLists.txt:15 (configure_file):
>   configure_file Problem configuring file
>  
>  
> -- GEOS: Configured 'dist' target
> CMake Warning at CMakeLists.txt:375 (find_package):
>   By not providing "FindMakeDistCheck.cmake" in CMAKE_MODULE_PATH this
>   project has asked CMake to find a package configuration file provided by
>   "MakeDistCheck", but CMake did not find one.
>  
>   Could not find a package configuration file provided by "MakeDistCheck"
>   with any of the following names:
>  
>     MakeDistCheckConfig.cmake
>     makedistcheck-config.cmake
>  
>   Add the installation prefix of "MakeDistCheck" to CMAKE_PREFIX_PATH or set
>   "MakeDistCheck_DIR" to a directory containing one of the above files.  If
>   "MakeDistCheck" provides a separate development package or SDK, be sure it
>   has been installed.
>  
>  
> CMake Error at CMakeLists.txt:376 (AddMakeDistCheck):
>   Unknown CMake command "AddMakeDistCheck".
>  
>  
> -- Configuring incomplete, errors occurred!
> See also "C:/Projects/sources/build/CMakeFiles/CMakeOutput.log".
> make: *** No targets specified and no makefile found.  Stop.
> make: *** No rule to make target 'install'.  Stop.
> make: *** No rule to make target 'test'.  Stop.
> make: *** No rule to make target 'check'.  Stop.
> C:\ming64gcc81\mingw64\bin\strip.exe: 'C:/ming64gcc81/projects/geos/rel-3.8.0rc1w64gcc81/bin/*.dll': No such file
>  
> _______________________________________________
> geos-devel mailing list
> geos-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geos-devel



More information about the geos-devel mailing list