forked from mapnik/mapnik
-
Notifications
You must be signed in to change notification settings - Fork 1
FreeBSDInstallation
Dane Springmeyer edited this page Jan 12, 2014
·
2 revisions
In most cases the FreeBSD port of Mapnik (located in /usr/ports/graphics/mapnik) will work. However, if the port is broken, or you'd like to install another version the following instructions will help.
You will need to install the following ports/packages to ensure that mapnik will compile for you:
graphics/png
graphics/tiff
graphics/jpeg
graphics/proj
devel/icu
print/freetype2
graphics/cairo
graphics/cairomm
devel/pkg-config
graphics/py-cairo
devel/boost-python-libs
devel/libtool22
devel/libltdl22
If you want postgres support, ensure that the postgres libs are installed:
database/postgresqlXX-client (where XX is the version of Postgres libs you'd like to install)
Once these libs are installed, you should be able to compile/install source by doing:
python scons/scons.py configure
python scons/scons.py install
- discussion of installing TileMill: http://support.mapbox.com/discussions/tilemill/2776-tilemill-installation-on-freebsd#comment_21576061