Created /var/www/mapcache and copied mapcache.xml there. $ cat /etc/apache2/mods-enabled/mapcache.conf <IfModule mapcache_module> <Directory /var/www/mapcache> Require all granted </Directory> MapCacheAlias /mapcache "/var/www/mapcache/mapcache.xml" </IfModule>
$ sudo apachectl restart [sudo] password for eddie: AH00526: Syntax error on line 5 of /etc/apache2/mods-enabled/mapcache.conf: postgresql dimension support requires POSTGRESQL support to be built in Cheers, Eddie. On Fri, 14 Feb 2025 at 15:35, Big-Edd <big...@gmail.com> wrote: > By the way: This is version 24.04 of Ubuntu. > > Managed to get it going with this.. .. > > sudo apt install \ > git \ > cmake \ > apache2 \ > apache2-dev \ > libaprutil1-dev \ > libapr1-dev \ > libpng-dev \ > libjpeg-dev \ > libcurl4-gnutls-dev \ > libpcre3-dev \ > libpixman-1-dev \ > libfcgi-dev \ > libgdal-dev \ > libsqlite3-dev \ > libtiff-dev \ > libdb-dev \ > liblmdb-dev \ > -y > > > Saw this with make. Does it matter? .. .. > > $ make > [ 1%] Building C object CMakeFiles/mapcache.dir/lib/axisorder.c.o > .. [SNIP] .. > [ 21%] Building C object CMakeFiles/mapcache.dir/lib/cache_rest.c.o > /home/eddie/mapcache/lib/cache_rest.c: In function ‘_put_request’: > /home/eddie/mapcache/lib/cache_rest.c:240:3: warning: ‘CURLOPT_PUT’ is > deprecated: since 7.12.1. Use CURLOPT_UPLOAD [-Wdeprecated-declarations] > 240 | curl_easy_setopt(curl, CURLOPT_PUT, 1L); > | ^~~~~~~~~~~~~~~~ > In file included from /home/eddie/mapcache/lib/cache_rest.c:35: > /usr/include/x86_64-linux-gnu/curl/curl.h:1281:3: note: declared here > 1281 | CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54, > | ^~~~~~~~~~~~~~~~~ > [ 22%] Building C object CMakeFiles/mapcache.dir/lib/cache_riak.c.o > .. [SNIP] .. > [100%] Built target mapcache_detail > $ > > > Further along: I am now stuck on mapcache.conf (for Apache >= 2.4). > Instructions show this.. .. > > <IfModule mapcache_module> <Directory /path/to/directory> Require all > granted </Directory> MapCacheAlias /mapcache > "/path/to/directory/mapcache.xml"</IfModule> > > > Where is the "/path/to/directory" located? > Do I use one that is already one the system somewhere? > Or do I need to create one? Maybe like this?.. .. > /var/www/mapcache > > Cheers, > Eddie. > > > > On Fri, 14 Feb 2025 at 13:26, Big-Edd <big...@gmail.com> wrote: > >> Hello, >> >> I begun following instructions here.. .. >> https://mapserver.org/mapcache/install.html >> >> This is what I see when attempting to install the required, recommended >> and optional packages.. .. >> >> $ sudo apt install -y \ >> git \ >> cmake \ >> apache2-threaded-dev \ >> libpng12-dev \ >> libjpeg62-dev \ >> libcurl4-gnutls-dev \ >> libpcre3-dev \ >> libpixman-1-dev \ >> libfcgi-dev \ >> libgdal1-dev \ >> libsqlite3-dev \ >> libtiff4-dev \ >> libdb4.8-dev \ >> liblmdb-dev \ >> Reading package lists... Done >> Building dependency tree... Done >> Reading state information... Done >> Package libdb4.8-dev is not available, but is referred to by another >> package. >> This may mean that the package is missing, has been obsoleted, or >> is only available from another source >> >> Package libpng12-dev is not available, but is referred to by another >> package. >> This may mean that the package is missing, has been obsoleted, or >> is only available from another source >> >> Package libtiff4-dev is not available, but is referred to by another >> package. >> This may mean that the package is missing, has been obsoleted, or >> is only available from another source >> However the following packages replace it: >> libtiff-dev >> >> E: Unable to locate package apache2-threaded-dev >> E: Package 'libpng12-dev' has no installation candidate >> E: Unable to locate package libgdal1-dev >> E: Package 'libtiff4-dev' has no installation candidate >> E: Package 'libdb4.8-dev' has no installation candidate >> $ >> >> >> Cheers, >> Eddie. >> >> >> >> On Fri, 14 Feb 2025 at 09:38, Big-Edd <big...@gmail.com> wrote: >> >>> And where MapCache 1.14.1 is required, so we compile from source, are >>> all dependencies are covered? >>> >>> >>> On Fri, 14 Feb 2025 at 01:05, Richard Greenwood < >>> richard.greenw...@gmail.com> wrote: >>> >>>> Ubuntu 22.04 has MapCache 1.12.0 >>>> Ubuntu 24.04 has MapCache 1.14.0 >>>> >>>> On Thu, Feb 13, 2025 at 1:38 AM Big-Edd via MapServer-users < >>>> mapserver-users@lists.osgeo.org> wrote: >>>> >>>>> . >>>>> Hello, >>>>> >>>>> Which LTS versions of Ubuntu are known to run MapCache, without the >>>>> need to add third party repositories, or manually download packages? >>>>> >>>>> Cheers, >>>>> Eddie. >>>>> >>>>> >>>>> _______________________________________________ >>>>> MapServer-users mailing list >>>>> MapServer-users@lists.osgeo.org >>>>> https://lists.osgeo.org/mailman/listinfo/mapserver-users >>>>> >>>> >>>> >>>> -- >>>> Richard W. Greenwood >>>> www.greenwoodmap.com >>>> >>>
_______________________________________________ MapServer-users mailing list MapServer-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users