<div dir="ltr">Hi everyone<div><br></div><div>I am a new entrant here and attempting to set up a tile server for the first time.</div><div style>I am following the tutorial at <a href="http://switch2osm.org/serving-tiles/manually-building-a-tile-server-12-04/">http://switch2osm.org/serving-tiles/manually-building-a-tile-server-12-04/</a> and having some difficulty with the installation of mod_tile.</div>
<div style>Specifically when I try to make mod_tile I get this:</div><div style><br></div><div style><div>make[2]: Entering directory `/usr/src/mod_tile'</div><div>g++ -DHAVE_CONFIG_H -I.  -I/usr/include/freetype2 -pthread -I/usr/include  -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12     -g -O2 -MT gen_tile.o -MD -MP -MF .deps/gen_tile.Tpo -c -o gen_tile.o gen_tile.cpp</div>
<div><b>gen_tile.cpp:1:30: fatal error: mapnik/version.hpp: No such file or directory</b></div><div>compilation terminated.</div><div><br></div><div style>I looked in my mapnik directory, which was generated using the Github installation instructions at <a href="https://github.com/mapnik/mapnik/wiki/UbuntuInstallation">https://github.com/mapnik/mapnik/wiki/UbuntuInstallation</a>:</div>
<div style><strong style="color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:15px;line-height:25px"><br></strong></div><div style><strong style="color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:15px;line-height:25px">Mapnik v2.1.0</strong></div>
<div style><p style="margin:15px 0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:15px;line-height:25px">This is the latest in the 2.1.x series.</p><div class="" style="color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:15px;line-height:25px">
<pre style="font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:13px;white-space:pre-wrap;margin-top:15px;margin-bottom:15px;background-color:rgb(248,248,248);border:1px solid rgb(221,221,221);line-height:19px;overflow:auto;padding:6px 10px;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px">
sudo add-apt-repository ppa:mapnik/v2.1.0
sudo apt-get update
sudo apt-get install libmapnik mapnik-utils python-mapnik</pre></div></div><div style><br></div><div style>and indeed the file is not there. <br></div><div style><br></div><div style>I googled the error and found nothing helpful (not entirely true as I found this list...)</div>
</div><div style><br></div><div style>Can anybody help me understand what I need to do to resolve this?</div><div><br><div><div>_________________________________________<br>malcolm stanley<br><br>google.voice:  215.821.6252        <div>
Cell: 267.251.9479   <------------- new<br>email: <a href="mailto:a.malcolm.stanley@gmail.com" target="_blank">a.malcolm.stanley@gmail.com</a><br>twitter / linkedin: amstanley<br>Read my blog at <a href="http://soaringhorse.blogspot.com" target="_blank">http://soaringhorse.blogspot.com</a><br>
_________________________________________</div></div>
</div></div></div>