[root@localhost mapserver-6.4.1]# make
if test ! -s build/Makefile; then mkdir -p build ; cd build ; cmake .. -DCMAKE_C_FLAGS="--coverage" -DCMAKE_CXX_FLAGS="--coverage" -DCMAKE_SHARED_LINKER_FLAGS="-lgcov" -DWITH_GD=1 -DWITH_CLIENT_WMS=1 -DWITH_CLIENT_WFS=1 -DWITH_KML=1 -DWITH_SOS=1 -DWITH_PHP=1 -DWITH_PYTHON=1 -DWITH_JAVA=1 -DWITH_THREAD_SAFETY=1 -DWITH_FRIBIDI=0 -DWITH_FCGI=0 -DWITH_EXEMPI=1 -DCMAKE_BUILD_TYPE=Release -DWITH_RSVG=1 -DWITH_CURL=1; fi
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found. Please set CMAKE_C_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Looking for strrstr
CMake Error at /usr/share/cmake/Modules/CMakeCInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Looking for strrstr - not found
-- Looking for strcasecmp
CMake Error at /usr/share/cmake/Modules/CMakeCInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Looking for strcasecmp - not found
-- Looking for strcasestr
CMake Error at /usr/share/cmake/Modules/CMakeCInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Looking for strcasestr - not found
-- Looking for strdup
CMake Error at /usr/share/cmake/Modules/CMakeCInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Looking for strdup - not found
-- Looking for strlcat
CMake Error at /usr/share/cmake/Modules/CMakeCInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Looking for strlcat - not found
-- Looking for strlcpy
CMake Error at /usr/share/cmake/Modules/CMakeCInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Looking for strlcpy - not found
-- Looking for strlen
CMake Error at /usr/share/cmake/Modules/CMakeCInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Looking for strlen - not found
-- Looking for strncasecmp
CMake Error at /usr/share/cmake/Modules/CMakeCInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Looking for strncasecmp - not found
-- Looking for vsnprintf
CMake Error at /usr/share/cmake/Modules/CMakeCInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Looking for vsnprintf - not found
-- Looking for lrintf
CMake Error at /usr/share/cmake/Modules/CMakeCInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Looking for lrintf - not found
-- Looking for lrint
CMake Error at /usr/share/cmake/Modules/CMakeCInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Looking for lrint - not found
-- Looking for dlfcn.h
CMake Error at /usr/share/cmake/Modules/CMakeCInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Looking for dlfcn.h - not found
-- Performing Test HAVE_SYNC_FETCH_AND_ADD
CMake Error at /usr/share/cmake/Modules/CMakeCInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Performing Test HAVE_SYNC_FETCH_AND_ADD - Failed
CMake Warning (dev) at CMakeLists.txt:165 (message):
Unable to determine default CMAKE_INSTALL_LIBDIR directory because no
target architecture is known. Please enable at least one language before
including GNUInstallDirs.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR ZLIB_LIBRARY)
-- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
CMake Error at CMakeLists.txt:55 (message):
PNG library/component could not be found and is a mandatory dependency
HINT:
- add the PNG install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/PNG-install-dir;/path/to/other/dirs"
Call Stack (most recent call first):
CMakeLists.txt:281 (report_mandatory_not_found)
-- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
CMake Error at CMakeLists.txt:55 (message):
JPEG library/component could not be found and is a mandatory dependency
HINT:
- add the JPEG install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/JPEG-install-dir;/path/to/other/dirs"
Call Stack (most recent call first):
CMakeLists.txt:290 (report_mandatory_not_found)
-- Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIR)
CMake Error at CMakeLists.txt:55 (message):
FREETYPE library/component could not be found and is a mandatory dependency
HINT:
- add the FREETYPE install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/FREETYPE-install-dir;/path/to/other/dirs"
Call Stack (most recent call first):
CMakeLists.txt:295 (report_mandatory_not_found)
-- Could NOT find PROJ (missing: PROJ_LIBRARY PROJ_INCLUDE_DIR)
CMake Error at CMakeLists.txt:49 (message):
PROJ library/component/dependency could not be found.
HINTS:
- disable PROJ support by adding -DWITH_PROJ=0
- add the PROJ install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/PROJ-install-dir;/path/to/other/dirs"
Call Stack (most recent call first):
CMakeLists.txt:304 (report_optional_not_found)
CMake Error at CMakeLists.txt:60 (message):
WMS support requires PROJ support, however PROJ support has been disabled.
HINTS:
- re-run with -DWITH_PROJ=1 (or without -DWITH_PROJ=0)
- disable WMS support by adding -DWITH_WMS=0
Call Stack (most recent call first):
CMakeLists.txt:316 (report_dependency_error)
CMake Error at CMakeLists.txt:49 (message):
GD library/component/dependency could not be found.
HINTS:
- disable GD support by adding -DWITH_GD=0
- add the GD install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/GD-install-dir;/path/to/other/dirs"
Call Stack (most recent call first):
CMakeLists.txt:324 (report_optional_not_found)
-- Looking for iconv
CMake Error at /usr/share/cmake/Modules/CMakeCInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Looking for iconv - not found
CMake Error at CMakeLists.txt:49 (message):
ICONV library/component/dependency could not be found.
HINTS:
- disable ICONV support by adding -DWITH_ICONV=0
- add the ICONV install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/ICONV-install-dir;/path/to/other/dirs"
Call Stack (most recent call first):
CMakeLists.txt:365 (report_optional_not_found)
-- checking for module 'cairo'
-- package 'cairo' not found
-- Could NOT find CAIRO (missing: CAIRO_LIBRARY CAIRO_INCLUDE_DIR)
CMake Error at CMakeLists.txt:49 (message):
CAIRO library/component/dependency could not be found.
HINTS:
- disable CAIRO support by adding -DWITH_CAIRO=0
- add the CAIRO install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/CAIRO-install-dir;/path/to/other/dirs"
Call Stack (most recent call first):
CMakeLists.txt:381 (report_optional_not_found)
-- Could NOT find GEOS (missing: GEOS_LIBRARY GEOS_INCLUDE_DIR)
CMake Error at CMakeLists.txt:49 (message):
GEOS library/component/dependency could not be found.
HINTS:
- disable GEOS support by adding -DWITH_GEOS=0
- add the GEOS install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/GEOS-install-dir;/path/to/other/dirs"
Call Stack (most recent call first):
CMakeLists.txt:493 (report_optional_not_found)
CMake Warning at cmake/FindPostgreSQL.cmake:21 (message):
pg_config not found, will try some defaults
Call Stack (most recent call first):
CMakeLists.txt:498 (find_package)
-- Could NOT find POSTGRESQL (missing: POSTGRESQL_LIBRARY POSTGRESQL_INCLUDE_DIR)
CMake Error at CMakeLists.txt:49 (message):
POSTGIS library/component/dependency could not be found.
HINTS:
- disable POSTGIS support by adding -DWITH_POSTGIS=0
- add the POSTGIS install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/POSTGIS-install-dir;/path/to/other/dirs"
Call Stack (most recent call first):
CMakeLists.txt:512 (report_optional_not_found)
-- Could NOT find GDAL (missing: GDAL_LIBRARY GDAL_INCLUDE_DIR)
CMake Error at CMakeLists.txt:49 (message):
GDAL library/component/dependency could not be found.
HINTS:
- disable GDAL support by adding -DWITH_GDAL=0
- add the GDAL install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/GDAL-install-dir;/path/to/other/dirs"
Call Stack (most recent call first):
CMakeLists.txt:523 (report_optional_not_found)
-- Could NOT find RSVG (missing: RSVG_LIBRARY RSVG_INCLUDE_DIR)
-- Could NOT find GOBJECT (missing: GOBJECT_LIBRARY GOBJECT_INCLUDE_DIR)
CMake Error at CMakeLists.txt:49 (message):
RSVG library/component/dependency could not be found.
HINTS:
- disable RSVG support by adding -DWITH_RSVG=0
- add the RSVG install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/RSVG-install-dir;/path/to/other/dirs"
Call Stack (most recent call first):
CMakeLists.txt:553 (report_optional_not_found)
-- Could NOT find GDAL (missing: GDAL_LIBRARY GDAL_INCLUDE_DIR)
CMake Error at CMakeLists.txt:567 (message):
GDAL library could not be found and is needed for OGR support.
HINTS:
- disable OGR support by adding -DWITH_OGR=0
- add the GDAL install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/-install-dir;/path/to/other/dirs"
-- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
CMake Error at CMakeLists.txt:49 (message):
CURL library/component/dependency could not be found.
HINTS:
- disable CURL support by adding -DWITH_CURL=0
- add the CURL install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/CURL-install-dir;/path/to/other/dirs"
Call Stack (most recent call first):
CMakeLists.txt:586 (report_optional_not_found)
CMake Error at CMakeLists.txt:60 (message):
CLIENT_WFS support requires CURL support, however CURL support has been
disabled.
HINTS:
- re-run with -DWITH_CURL=1 (or without -DWITH_CURL=0)
- disable CLIENT_WFS support by adding -DWITH_CLIENT_WFS=0
Call Stack (most recent call first):
CMakeLists.txt:593 (report_dependency_error)
CMake Error at CMakeLists.txt:60 (message):
CLIENT_WMS support requires CURL support, however CURL support has been
disabled.
HINTS:
- re-run with -DWITH_CURL=1 (or without -DWITH_CURL=0)
- disable CLIENT_WMS support by adding -DWITH_CLIENT_WMS=0
Call Stack (most recent call first):
CMakeLists.txt:596 (report_dependency_error)
CMake Error at CMakeLists.txt:60 (message):
CLIENT_WMS support requires GDAL support, however GDAL support has been
disabled.
HINTS:
- re-run with -DWITH_GDAL=1 (or without -DWITH_GDAL=0)
- disable CLIENT_WMS support by adding -DWITH_CLIENT_WMS=0
Call Stack (most recent call first):
CMakeLists.txt:606 (report_dependency_error)
CMake Error at CMakeLists.txt:60 (message):
CLIENT_WMS support requires PROJ support, however PROJ support has been
disabled.
HINTS:
- re-run with -DWITH_PROJ=1 (or without -DWITH_PROJ=0)
- disable CLIENT_WMS support by adding -DWITH_CLIENT_WMS=0
Call Stack (most recent call first):
CMakeLists.txt:609 (report_dependency_error)
CMake Error at CMakeLists.txt:60 (message):
CLIENT_WFS support requires OGR support, however OGR support has been
disabled.
HINTS:
- re-run with -DWITH_OGR=1 (or without -DWITH_OGR=0)
- disable CLIENT_WFS support by adding -DWITH_CLIENT_WFS=0
Call Stack (most recent call first):
CMakeLists.txt:619 (report_dependency_error)
CMake Error at CMakeLists.txt:60 (message):
CLIENT_WFS support requires PROJ support, however PROJ support has been
disabled.
HINTS:
- re-run with -DWITH_PROJ=1 (or without -DWITH_PROJ=0)
- disable CLIENT_WFS support by adding -DWITH_CLIENT_WFS=0
Call Stack (most recent call first):
CMakeLists.txt:622 (report_dependency_error)
CMake Error at CMakeLists.txt:60 (message):
WFS support requires OGR support, however OGR support has been disabled.
HINTS:
- re-run with -DWITH_OGR=1 (or without -DWITH_OGR=0)
- disable WFS support by adding -DWITH_WFS=0
Call Stack (most recent call first):
CMakeLists.txt:633 (report_dependency_error)
CMake Error at CMakeLists.txt:60 (message):
WFS support requires PROJ support, however PROJ support has been disabled.
HINTS:
- re-run with -DWITH_PROJ=1 (or without -DWITH_PROJ=0)
- disable WFS support by adding -DWITH_WFS=0
Call Stack (most recent call first):
CMakeLists.txt:636 (report_dependency_error)
CMake Error at CMakeLists.txt:60 (message):
WCS support requires GDAL support, however GDAL support has been disabled.
HINTS:
- re-run with -DWITH_GDAL=1 (or without -DWITH_GDAL=0)
- disable WCS support by adding -DWITH_WCS=0
Call Stack (most recent call first):
CMakeLists.txt:646 (report_dependency_error)
CMake Error at CMakeLists.txt:60 (message):
WCS support requires PROJ support, however PROJ support has been disabled.
HINTS:
- re-run with -DWITH_PROJ=1 (or without -DWITH_PROJ=0)
- disable WCS support by adding -DWITH_WCS=0
Call Stack (most recent call first):
CMakeLists.txt:649 (report_dependency_error)
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
CMake Error at CMakeLists.txt:49 (message):
LIBXML2 library/component/dependency could not be found.
HINTS:
- disable LIBXML2 support by adding -DWITH_LIBXML2=0
- add the LIBXML2 install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/LIBXML2-install-dir;/path/to/other/dirs"
Call Stack (most recent call first):
CMakeLists.txt:664 (report_optional_not_found)
CMake Error at CMakeLists.txt:60 (message):
SOS support requires LIBXML2 support, however LIBXML2 support has been
disabled.
HINTS:
- re-run with -DWITH_LIBXML2=1 (or without -DWITH_LIBXML2=0)
- disable SOS support by adding -DWITH_SOS=0
Call Stack (most recent call first):
CMakeLists.txt:680 (report_dependency_error)
CMake Error at CMakeLists.txt:60 (message):
SOS support requires PROJ support, however PROJ support has been disabled.
HINTS:
- re-run with -DWITH_PROJ=1 (or without -DWITH_PROJ=0)
- disable SOS support by adding -DWITH_SOS=0
Call Stack (most recent call first):
CMakeLists.txt:683 (report_dependency_error)
CMake Error at CMakeLists.txt:60 (message):
KML support requires LIBXML2 support, however LIBXML2 support has been
disabled.
HINTS:
- re-run with -DWITH_LIBXML2=1 (or without -DWITH_LIBXML2=0)
- disable KML support by adding -DWITH_KML=0
Call Stack (most recent call first):
CMakeLists.txt:696 (report_dependency_error)
-- Looking for include files CMAKE_HAVE_PTHREAD_H
CMake Error at /usr/share/cmake/Modules/CMakeCInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Looking for include files CMAKE_HAVE_PTHREAD_H - not found.
-- Could NOT find Threads (missing: Threads_FOUND)
-- Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR)
CMake Error at CMakeLists.txt:49 (message):
GIF library/component/dependency could not be found.
HINTS:
- disable GIF support by adding -DWITH_GIF=0
- add the GIF install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/GIF-install-dir;/path/to/other/dirs"
Call Stack (most recent call first):
CMakeLists.txt:739 (report_optional_not_found)
-- Could NOT find LIBEXEMPI (missing: LIBEXEMPI_LIBRARY LIBEXEMPI_INCLUDE_DIR)
CMake Error at CMakeLists.txt:49 (message):
EXEMPI library/component/dependency could not be found.
HINTS:
- disable EXEMPI support by adding -DWITH_EXEMPI=0
- add the EXEMPI install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/EXEMPI-install-dir;/path/to/other/dirs"
Call Stack (most recent call first):
CMakeLists.txt:750 (report_optional_not_found)
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindSWIG.cmake:66 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
mapscript/python/CMakeLists.txt:1 (FIND_PACKAGE)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
FREETYPE_LIBRARY (ADVANCED)
linked by target "mapserver" in directory /shara/mapserver-6.4.1
-- Configuring incomplete, errors occurred!
make: *** [cmakebuild] Error 1
[root@localhost mapserver-6.4.1]#