Hi Adnan,

I would recommend you to trying to install mapnik 0.7.X on your
machine first using
the Mapnik os x binaries located at http://dbsgeo.com/downloads/ ,
along with Kyngchaos Proj4 Framework binaries.

Once you have mapnik 0.7.X working, you can try installing mapnik2 with homebrew
by runnning `brew install mapnik2 --with-cairo`.

After running this, you should be able to call python -c "import mapnik2".

It is only a guess, but if you really want to install mapnik 0.7.1
with homebrew,
I think that changing the head of the home brew formula
would have to work (once having installed the Kyngchaos binaries).

#/usr/local/Library/Formula/mapnik2.rb
class Mapnik2 <Formula
  head 'http://svn.mapnik.org/tags/release-0.7.1', :using => :svn
  ...

I also had to edit remove the osm plugin since I was having some
problems with it...

#      "INPUT_PLUGINS=shape,raster,gdal,postgis,ogr,sqlite,osm",
"INPUT_PLUGINS=shape,raster,gdal,postgis,ogr,sqlite",

Hope this helps.

Cheers,

- Waldemar


On Sat, Dec 18, 2010 at 9:52 AM, adnan khan <[email protected]> wrote:
> Hi,
>
> How can one easily install Mapnik (0.7.x) using homebrew ?
>
> I've had a look at https://github.com/springmeyer/homebrew but it only seems
> to have a formula for "mapnik2" but nothing for mapnik1 aka 0.7.x.
>
> Is there a doc/web that lists complete instructions to install mapnik using
> homebrew ?
>
> Thanks,
> Adnan
>
> p.s. Mapnik2 install fails when using homebrew as "libpng" [download from
> sourcefourge] returns 404.
>
> Regards,
> Adnan
>
> _______________________________________________
> 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

Reply via email to