diff --git a/UbuntuInstallation.md b/UbuntuInstallation.md index 6f530dc..dd03b2e 100644 --- a/UbuntuInstallation.md +++ b/UbuntuInstallation.md @@ -16,15 +16,23 @@ If you are intending to install [Tilemill](http://mapbox.com/tilemill/) from a p Install Mapnik latest (3.x series) ``` +# you might have to update your outdated clang +sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test +sudo apt-get update -y +sudo apt-get install -y gcc-6 g++-6 clang-3.8 +export CXX="clang++-3.8" && export CC="clang-3.8" + +# install mapnik git clone https://github.com/mapnik/mapnik mapnik-3.x --depth 10 cd mapnik-3.x git submodule update --init sudo apt-get install python zlib1g-dev clang make pkg-config curl source bootstrap.sh -./configure CUSTOM_CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0" +./configure CUSTOM_CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0" CXX=${CXX} CC=${CC} make make test sudo make install + ``` ----