The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  вход/выход  слежка  RSS
"Проблема установки MAPSERVER из исходников"
Вариант для распечатки  
Пред. тема | След. тема 
Форум Программирование под UNIX (Компиляция)
Изначальное сообщение [ Отслеживать ]

"Проблема установки MAPSERVER из исходников"  +/
Сообщение от ЗЯТЬ on 18-Фев-14, 06:27 
Что-то не могу устанвоить mapserver на Fedora 14
скачал с mapserber.org архив mapserver-6.4.1.tar


далее распаковываю архив:
#tar xvzf mapserver-6.4.1.tar

смотрю в содержимое ...
значит придётся собирать из исходников и устанавливать в систему...раньше ка-то у меня это получалось...но тут попробовал-и почему-то не могу((

вообщем читаю http://mapserver.org/installation/unix.html
создал исполняемый файл configure

./configure  --with-sde=/usr/sde/sdeexe90 \
             --with-sde-version=90 \
             --with-ogr=/usr/local/bin/gdal-config \
             --with-gdal=/usr/local/bin/gdal-config \
             --with-httpd=/usr/sbin/httpd \
             --with-wfsclient \
             --with-wmsclient \
             --enable-debug \
             --with-curl-config=/usr/bin/curl-config \
             --with-proj=/usr/local \
             --with-tiff \
             --with-gd=/usr/local/ \
             --with-jpeg \
             --with-freetype=/usr/ \
             --with-oraclespatial=/usr/oracle \
             --with-threads \
             --with-wcs \
             --with-postgis=/usr/local/database/bin/pg_config \
             --with-libiconv=/usr \ # new in 4.8
             --with-geos=/usr/local/bin/geos-config \ # new in 4.8
             --with-xml2-config=/usr/bin/xml2-config \ # new in 4.10
             --with-sos \ # new in 4.10
             --with-agg=/path/to/agg-2.4 \ # not needed with >= 5.6


далее команда:
[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
/bin/sh: cmake: command not found
make: *** [cmakebuild] Error 127

Ошибка...cmakebuild


смотрю снова в http://mapserver.org/installation/unix.html
значит там говориться, что нужен cmake

качаю с http://www.cmake.org/ архив cmake-2.8.12.2.tar
также разархивирую:
#tar xvzf cmake-2.8.12.2.tar

смотрю в содержимое ...
есть файл configure

содержание configure:
-------------------------------------
#!/bin/sh
cmake_source_dir=`cd "\`dirname \"$0\"\`";pwd`
exec "${cmake_source_dir}/bootstrap" "$@"
-------------------------------------

пробую так:

[root@localhost cmake-2.8.12.2]# make
make: *** No targets specified and no makefile found.  Stop.

вообщем подскажите как установить в итоге mapserver ....ух уж эти исходники((( нет rpm пакета(((

беда((


Ответить | Правка | Cообщить модератору

Оглавление

Сообщения по теме [Сортировка по времени | RSS]


1. "Проблема установки MAPSERVER из исходников"  +/
Сообщение от ЗЯТЬ on 18-Фев-14, 06:40 
>[оверквотинг удален]
> #!/bin/sh
> cmake_source_dir=`cd "\`dirname \"$0\"\`";pwd`
> exec "${cmake_source_dir}/bootstrap" "$@"
> -------------------------------------
> пробую так:
> [root@localhost cmake-2.8.12.2]# make
> make: *** No targets specified and no makefile found.  Stop.
> вообщем подскажите как установить в итоге mapserver ....ух уж эти исходники((( нет
> rpm пакета(((
> беда((

на Ubunta прочитал статью http://abstractor1119.wordpress.com/2011/09/15/%D1%.../
но как её использовать для fedora((

Ответить | Правка | ^ к родителю #0 | Наверх | Cообщить модератору

2. "Проблема установки MAPSERVER из исходников"  +/
Сообщение от ЗЯТЬ on 18-Фев-14, 10:26 
из репозитория установил:

[root@localhost /]# yum -y install cmake
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package cmake.i686 0:2.8.4-1.fc14 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package         Arch           Version                 Repository         Size
================================================================================
Installing:
cmake           i686           2.8.4-1.fc14            updates           5.7 M

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 5.7 M
Installed size: 19 M
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 5.7 M
cmake-2.8.4-1.fc14.i686.rpm                              | 5.7 MB     00:07
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : cmake-2.8.4-1.fc14.i686                                  1/1

Installed:
  cmake.i686 0:2.8.4-1.fc14

Complete!
[root@localhost /]#

далее перехожу к mapserver исходникам...и пробую сделать make

[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]#

как видно что-то не получается((

Ответить | Правка | ^ к родителю #1 | Наверх | Cообщить модератору

Архив | Удалить

Рекомендовать для помещения в FAQ | Индекс форумов | Темы | Пред. тема | След. тема




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру