[mapserver-users] Mapcache building question

Иван Иванов mr.ulchich at gmail.com
Sun Aug 30 23:44:08 PDT 2020


Hi everyone!
I have a trouble while trying to cmake mapcache. I've resolved all
dependencies problems, except one about APACHE, here is the output of cmake
command:

```
- Could NOT find APACHE (missing:  APACHE_INCLUDE_DIR)
CMake Error at CMakeLists.txt:45 (message):
  APACHE library/component could not be found and is a mandatory dependency

    HINT:
    - add the APACHE install directory to the CMAKE_PREFIX_PATH variable
(-DCMAKE_PREFIX_PATH="/path/to/APACHE-install-dir;/path/to/other/dirs"
Call Stack (most recent call first):
```

Next i've added suggested parameter: ```cmake
-DCMAKE_PREFIX_PATH="/etc/apache2" ..```
But nothing have changed - the same error remains.

The contents of ```/etc/apache2``` are:

```
-rw-r--r-- 1 root root  7263 июн 20  2018 apache2.conf
drwxr-xr-x 2 root root  4096 авг 18 10:27 conf-available
drwxr-xr-x 2 root root  4096 авг 18 10:28 conf-enabled
-rw-r--r-- 1 root root  1782 июн 20  2018 envvars
-rw-r--r-- 1 root root 31063 июн 20  2018 magic
drwxr-xr-x 2 root root 12288 авг 18 11:52 mods-available
drwxr-xr-x 2 root root  4096 авг 18 11:52 mods-enabled
-rw-r--r-- 1 root root   344 авг 18 11:58 ports.conf
drwxr-xr-x 2 root root  4096 авг 18 13:54 sites-available
drwxr-xr-x 2 root root  4096 авг 18 13:54 sites-enabled
```

What should i do to fix this problem?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20200831/58c53f30/attachment.htm>


More information about the MapServer-users mailing list