Added instructions for outdated clang, see https://github.com/mapnik/mapnik/issues/3591#issuecomment-299469997
parent
648c697ebc
commit
277caa11f3
1 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
||||
```
|
||||
|
||||
----
|
||||
|
|
Loading…
Reference in a new issue