<div dir="ltr">Created /var/www/mapcache and copied mapcache.xml there. <div><br></div><div><font face="monospace" color="#38761d">$ cat /etc/apache2/mods-enabled/mapcache.conf<br><IfModule mapcache_module><br> <Directory /var/www/mapcache><br> Require all granted<br> </Directory><br> MapCacheAlias /mapcache "/var/www/mapcache/mapcache.xml"<br></IfModule></font></div><div><font face="monospace" color="#38761d"><br></font></div><div><font face="monospace" color="#38761d">$ sudo apachectl restart<br>[sudo] password for eddie:<br>AH00526: Syntax error on line 5 of /etc/apache2/mods-enabled/mapcache.conf:<br>postgresql dimension support requires POSTGRESQL support to be built in</font></div><div><br></div><div><br></div><div>Cheers, </div><div>Eddie. </div><div> </div><div><br></div><div><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, 14 Feb 2025 at 15:35, Big-Edd <<a href="mailto:bigedd@gmail.com">bigedd@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">By the way: This is version 24.04 of Ubuntu. <br><br>Managed to get it going with this.. .. <br><br><font face="monospace" color="#6aa84f">sudo apt install \<br>git \<br>cmake \<br>apache2 \<br>apache2-dev \<br>libaprutil1-dev \<br>libapr1-dev \<br>libpng-dev \<br>libjpeg-dev \<br>libcurl4-gnutls-dev \<br>libpcre3-dev \<br>libpixman-1-dev \<br>libfcgi-dev \<br>libgdal-dev \<br>libsqlite3-dev \<br>libtiff-dev \<br>libdb-dev \<br>liblmdb-dev \<br>-y</font><br><div><br></div><div><br></div><div>Saw this with make. Does it matter? .. .. <br><br><font face="monospace" color="#6aa84f">$ make<br>[ 1%] Building C object CMakeFiles/mapcache.dir/lib/axisorder.c.o<br>.. [SNIP] .. <br>[ 21%] Building C object CMakeFiles/mapcache.dir/lib/cache_rest.c.o<br>/home/eddie/mapcache/lib/cache_rest.c: In function ‘_put_request’:<br>/home/eddie/mapcache/lib/cache_rest.c:240:3: warning: ‘CURLOPT_PUT’ is deprecated: since 7.12.1. Use CURLOPT_UPLOAD [-Wdeprecated-declarations]<br> 240 | curl_easy_setopt(curl, CURLOPT_PUT, 1L);<br> | ^~~~~~~~~~~~~~~~<br>In file included from /home/eddie/mapcache/lib/cache_rest.c:35:<br>/usr/include/x86_64-linux-gnu/curl/curl.h:1281:3: note: declared here<br> 1281 | CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54,<br> | ^~~~~~~~~~~~~~~~~<br>[ 22%] Building C object CMakeFiles/mapcache.dir/lib/cache_riak.c.o<br>.. [SNIP] .. <br>[100%] Built target mapcache_detail<br>$</font></div><div><br></div><div><br></div><div>Further along: I am now stuck on mapcache.conf (for Apache >= 2.4). <br>Instructions show this.. .. <br><pre id="m_6566086034230512799gmail-codecell5" style="line-height:1.2em;overflow:auto hidden;clear:both;padding:10px;border:1px solid rgb(198,201,203);margin-top:0px;margin-bottom:0px;font-family:Consolas,Menlo,"DejaVu Sans Mono","Bitstream Vera Sans Mono";font-size:12.8px"><span style="color:rgb(6,40,115);font-weight:bold"><IfModule</span><span style="color:rgb(187,187,187)"> </span><span style="color:rgb(64,112,160)">mapcache_module</span><span style="color:rgb(6,40,115);font-weight:bold">></span>
<span style="color:rgb(187,187,187)"> </span><span style="color:rgb(6,40,115);font-weight:bold"><Directory</span><span style="color:rgb(187,187,187)"> </span><span style="color:rgb(64,112,160)">/path/to/directory</span><span style="color:rgb(6,40,115);font-weight:bold">></span>
<span style="color:rgb(187,187,187)"> </span><span style="color:rgb(0,112,32)">Require</span><span style="color:rgb(187,187,187)"> </span><span style="color:rgb(0,112,32);font-weight:bold">all</span><span style="color:rgb(187,187,187)"> </span>granted
<span style="color:rgb(187,187,187)"> </span><span style="color:rgb(6,40,115);font-weight:bold"></Directory></span>
<span style="color:rgb(187,187,187)"> </span><span style="color:rgb(0,112,32)">MapCacheAlias</span><span style="color:rgb(187,187,187)"> </span><span style="color:rgb(198,93,9)">/mapcache</span><span style="color:rgb(187,187,187)"> </span><span style="color:rgb(64,112,160)">"/path/to/directory/mapcache.xml"</span>
<span style="color:rgb(6,40,115);font-weight:bold"></IfModule></span></pre></div><div><br></div><div>Where is the "<span style="color:rgb(64,112,160);font-family:Consolas,Menlo,"DejaVu Sans Mono","Bitstream Vera Sans Mono";font-size:12.8px">/path/to/directory</span>" located? </div><div>Do I use one that is already one the system somewhere? </div><div>Or do I need to create one? Maybe like this?.. .. <br>/var/www/mapcache<br><br>Cheers, </div><div>Eddie. </div><div> </div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 14 Feb 2025 at 13:26, Big-Edd <<a href="mailto:bigedd@gmail.com" target="_blank">bigedd@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello, <div><br></div><div>I begun following instructions here.. .. <a href="https://mapserver.org/mapcache/install.html" target="_blank">https://mapserver.org/mapcache/install.html</a><br><br>This is what I see when attempting to install the required, recommended and optional packages.. .. <br><br><font face="monospace" color="#38761d">$ sudo apt install -y \<br>git \<br>cmake \<br>apache2-threaded-dev \<br>libpng12-dev \<br>libjpeg62-dev \<br>libcurl4-gnutls-dev \<br>libpcre3-dev \<br>libpixman-1-dev \<br>libfcgi-dev \<br>libgdal1-dev \<br>libsqlite3-dev \<br>libtiff4-dev \<br>libdb4.8-dev \<br>liblmdb-dev \<br>Reading package lists... Done<br>Building dependency tree... Done<br>Reading state information... Done<br>Package libdb4.8-dev is not available, but is referred to by another package.<br>This may mean that the package is missing, has been obsoleted, or<br>is only available from another source<br><br>Package libpng12-dev is not available, but is referred to by another package.<br>This may mean that the package is missing, has been obsoleted, or<br>is only available from another source<br><br>Package libtiff4-dev is not available, but is referred to by another package.<br>This may mean that the package is missing, has been obsoleted, or<br>is only available from another source<br>However the following packages replace it:<br> libtiff-dev<br><br>E: Unable to locate package apache2-threaded-dev<br>E: Package 'libpng12-dev' has no installation candidate<br>E: Unable to locate package libgdal1-dev<br>E: Package 'libtiff4-dev' has no installation candidate<br>E: Package 'libdb4.8-dev' has no installation candidate<br>$</font></div><div><br><br>Cheers, </div><div>Eddie. </div><div> </div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 14 Feb 2025 at 09:38, Big-Edd <<a href="mailto:bigedd@gmail.com" target="_blank">bigedd@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">And where MapCache 1.14.1 is required, so we compile from source, are all dependencies are covered? </div><div dir="ltr"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 14 Feb 2025 at 01:05, Richard Greenwood <<a href="mailto:richard.greenwood@gmail.com" target="_blank">richard.greenwood@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Ubuntu 22.04 has MapCache 1.12.0<div>Ubuntu 24.04 has MapCache 1.14.0</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 13, 2025 at 1:38 AM Big-Edd via MapServer-users <<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span style="color:rgb(0,0,0)">. </span><div style="color:rgb(0,0,0)">Hello, </div><div style="color:rgb(0,0,0)"><br></div><div style="color:rgb(0,0,0)">Which LTS versions of Ubuntu are known to run MapCache, without the need to add third party repositories, or manually download packages? </div><div style="color:rgb(0,0,0)"><br></div><div style="color:rgb(0,0,0)">Cheers, </div><div style="color:rgb(0,0,0)">Eddie. </div><div style="color:rgb(0,0,0)"></div><div style="color:rgb(0,0,0)"> </div><div style="color:rgb(0,0,0)"><br></div></div>
_______________________________________________<br>
MapServer-users mailing list<br>
<a href="mailto:MapServer-users@lists.osgeo.org" target="_blank">MapServer-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr">Richard W. Greenwood<br><a href="http://www.greenwoodmap.com" target="_blank">www.greenwoodmap.com</a></div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>