You didn't mention which operating system you use. I assume this is Debian or Ubuntu from the reported paths.

Have a look at https://github.com/MapServer/MapServer/blob/b43fd4f2a5edb0e1f882ff256c257ad5c5c44930/ci/travis/before_install.sh#L15 for the dependencies you need to install. In your case  from the error messages, what is missing is: protobuf-c-compiler, libprotobuf-c-dev,libfcgi-dev

Le 27/11/2023 à 16:10, Raivo Rebane a écrit :
Hi,

here is output of cmake :

raivo@Hydra:~$ cd mapserver-8.0.1/
raivo@Hydra:~/mapserver-8.0.1$ cd build/
raivo@Hydra:~/mapserver-8.0.1/build$ cmake ..
-- Requiring C++11
-- Requiring C++11 - done
-- Requiring C99
-- Requiring C99 - done
-- Could NOT find ProtobufC (missing: PROTOBUFC_LIBRARY PROTOBUFC_COMPILER PROTOBUFC_INCLUDE_DIR)
CMake Error at CMakeLists.txt:93 (message):
  PROTOBUFC library/component/dependency could not be found.

    HINTS:
    - disable PROTOBUFC support by adding -DWITH_PROTOBUFC=0
    - add the PROTOBUFC install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/PROTOBUFC-install-dir;/path/to/other/dirs"
Call Stack (most recent call first):
  CMakeLists.txt:339 (report_optional_not_found)


-- Found Proj 9.4
-- Could NOT find FCGI (missing: FCGI_LIBRARY FCGI_INCLUDE_DIR)
CMake Error at CMakeLists.txt:93 (message):
  FCGI library/component/dependency could not be found.

    HINTS:
    - disable FCGI support by adding -DWITH_FCGI=0
    - add the FCGI install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/FCGI-install-dir;/path/to/other/dirs"
Call Stack (most recent call first):
  CMakeLists.txt:598 (report_optional_not_found)


-- * Summary of configured options for this build
--  * Mandatory components
--   * GDAL: /usr/local/lib/libgdal.so
--   * PROJ: /usr/local/lib/libproj.so
--   * png: /usr/lib/x86_64-linux-gnu/libpng.so
--   * jpeg: /usr/lib/x86_64-linux-gnu/libjpeg.so
--   * freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so
--  * Optional components
--   * GIF: /usr/lib/x86_64-linux-gnu/libgif.so
--   * MYSQL: disabled
--   * FRIBIDI: /usr/lib/x86_64-linux-gnu/libfribidi.so
--   * HARFBUZZ: /usr/lib/x86_64-linux-gnu/libharfbuzz.so
--   * GIF: /usr/lib/x86_64-linux-gnu/libgif.so
--   * CAIRO: /usr/lib/x86_64-linux-gnu/libcairo.so
--   * SVGCAIRO: disabled
--   * RSVG: disabled
--   * CURL: disabled
--   * PIXMAN: disabled
--   * LIBXML2: /usr/lib/x86_64-linux-gnu/libxml2.so
--   * POSTGIS: /usr/lib/libpq.so
--   * GEOS: /usr/local/lib/libgeos_c.so
--   * FastCGI: disabled
--   * PROTOBUFC: disabled
--   * Oracle Spatial: disabled
--   * Exempi XMP: disabled
--  * Optional features
--   * WMS SERVER: ENABLED
--   * WFS SERVER: ENABLED
--   * WCS SERVER: ENABLED
--   * SOS SERVER: disabled
--   * OGCAPI SERVER: ENABLED
--   * WMS CLIENT: disabled
--   * WFS CLIENT: disabled
--   * ICONV: ENABLED
--   * Thread-safety support: disabled
--   * KML output: disabled
--   * XML Mapfile support: disabled
--  * Mapscripts
--   * Python: disabled
--   * PHPNG: disabled
--   * PERL: disabled
--   * RUBY: disabled
--   * JAVA: disabled
--   * C#: disabled
--   * V8 Javascript: disabled
--   * Apache Module (Experimental): disabled
--   * Python MapScript Annotations: disabled

--
http://www.spatialys.com
My software is free, but my time generally not.

_______________________________________________
MapServer-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to