I don't have mapnik-config on my system. I modified Makefile for mod_tile like this:
RENDER_CPPFLAGS += -g -O2 -Wall RENDER_CPPFLAGS += -I/usr/local/include/mapnik -I/usr/local/include/ -I/opt/boost/include/ -I/opt/icu/include/ RENDER_CPPFLAGS += $(shell freetype-config --cflags) I also modified render_config.h and added this: // Location of osm.xml file #define OSM_XML "/opt/mapnik/osm.xml" Now this all works. -Keith On Aug 10, 2011, at 4:55 PM, Jon Burgess wrote: > On Wed, 2011-08-10 at 15:38 -0400, pz wrote: >> Ok so I figured out the issue: >> >> >> RENDER_CPPFLAGS += -I/usr/local/include/mapnik -I/usr/local/include/ >> -I/opt/boost/include/ >> >> >> I had included /opt/boost/include/boost/ >> >> >> Now it's just complaining about unicode which I'll fix now the same >> way. > > What output do you get from the following two commands on your system: > > $ mapnik-config --cflags > $ mapnik-config --libs > > I guess Mapnik should be including the location of the boost headers in > those cflags. The mod_tile Makefile could perhaps be changed to pick > them up from there automatically like it does for freetype: > > RENDER_CPPFLAGS += $(shell freetype-config --cflags) > > Jon > > > > _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

