Hey Nino, On Sep 20, 2010, at 6:14 PM, Nino Walker wrote:
> Hi Dane (and Gang), > > I'm wondering if the springmeyer/homebrew repo for Mapnik2 is actively in > use, and if its a viable option on OS X? Yes, mostly. It started working so nicely for me I got lazy and never finished getting all my fixes submitted to mxcl. So, I'll need to look back and see what needs finishing. I think that compiling Mapnik 0.7x against all homebrew deps works fine, but I need to get the brew for boost to link to icu so we can install Mapnik2 against pure brew deps. If you give either mapnik/mapnik2 a shot, here is my config.py (just drop into your mapnik checkout and do 'scons install'): INPUT_PLUGINS = 'gdal,ogr,osm,postgis,raster,shape,sqlite' FAST = True BOOST_INCLUDES = '/usr/local/include' BOOST_LIBS = '/usr/local/lib' ICU_INCLUDES = '/usr/local/Cellar/icu4c/4.3.1/include/' ICU_LIBS = '/usr/local/Cellar/icu4c/4.3.1/lib/' PNG_INCLUDES = '/usr/X11/include' PNG_LIBS = '/usr/X11/lib' The trick is that unless you do: brew link icu4c you need to point mapnik to the Cellar to grab icu and since homebrew uses cairo,libpng, etc from X11 you have to point at lease one (in the above case png) mapnik C dependency to that directory so things get picked up. > If not, what's in the way of it? I should likely first get a mapnik 0.7.x brew accepted before trying to push mapnik2 in (which is how I started). also, need to get the boost brew fixed up so boost_regex is linked to icu. beyond that I think its just fine tuning... > I've found brew to be an awesome tool, and would be happy to invest in > making it a viable path. > Give it a shot and send me any errors - I should be able to help quickly. > (For people new to it - Dane's very promising work): > http://github.com/springmeyer/homebrew > > Cheers, > > Nino > _______________________________________________ > Mapnik-users mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/mapnik-users
_______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

