-
Notifications
You must be signed in to change notification settings - Fork 826
FreeBSDInstallation
Paul Norman edited this page May 26, 2015
·
5 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
print/harfbuzz
devel/pkg-config
graphics/py-cairo
devel/boost-python-libs
devel/libtool22
devel/libltdl22
There may be other ports/packages that need installing
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:
./configure HB_INCLUDES=/usr/local/include HB_LIBS=/usr/local/lib
gmake
gmake install