Setting Up TileMill Round 1: Centos 5.6

In addition to all the fantastic work they’ve done with Drupal modules in the past, the guys over at Development Seed have been working on MapBox for a while. These guys have shifted their impressive creative machine in the direction of mapping and come up with a fantastic product. Add the folks they’re partnering with and DevSeed is pretty much a bunch of awesome do-gooders. Definitely go take a look at their demo projects.

Given that most of my development servers are running CentOS and I generally use Fedora, I spent some trying to get TileMill up and running on CentOS. This is still in process and I’m sorting a couple things out.

Roughly following: Kris Arnold to get Mapnik, one of TileMill’s dependencies installed.

Install or check Python 2.6

yum info python26
vi ~/.bashrc ; alias python='python26'

Easy dependencies

yum install freetype-devel libtool-ltdl-devel libpng-devel libtiff-devel libjpeg-devel gcc-c++ libicu-devel bzip2-devel libxml2-devel


Install ICU
Annoyingly, the install documentation is in an html file, so download the regular zip to check that out here. You can download the latest from here then do:

./configure Linux
sudo make install

Install Boost
download 1.46 from here

./bjam install

sudo cp -rfv stage/lib/* /usr/lib/
sudo cp -rf boost /usr/include
sudo vi /etc/
sudo /sbin/ldconfig

Update sqlite and sqlite-devel to >3.6

Install Mapnik2

# sudo python26 scons/ configure
# sudo python26 scons/ install

Install Node.js

export GIT_SSL_NO_VERIFY=true
git clone
cd node
git checkout v0.4.12
sudo make install