Hi Dane - Brew seems to be working well.
I had to add brew's libtiff info to config.py as well: TIFF_INCLUDES = '/usr/local/Cellar/libtiff/3.9.2/include/' TIFF_LIBS = '/usr/local/Cellar/libtiff/3.9.2/lib/' I ran into a freetype related compile error (stock lib is 2.1.10), I didn't see a freetype brew formula, so I downloaded KyngChaos's freetype framework (2.4.x): http://www.kyngchaos.com/software:frameworks Added to config.py: FREETYPE_CONFIG = '/Library/Frameworks/FreeType.framework/unix/bin/freetype-config' Compile marches happily onward. Nino On Mon, Sep 20, 2010 at 10:21 AM, Dane Springmeyer <[email protected]> wrote: > 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

