Hi,

I have Mapnik running nicely here, from this fantastic binary
http://dbsgeo.com/downloads/

/usr/local/Cellar/mapnik/

I wanted to give Cairo a try so I followed the Mapnik instructions through Macports and now
that lives here

/opt etc.

When I run the Mapnik svg example script I get this error.

  File "./cairo.py", line 8, in <module>
    import cairo
  File "/usr/local/Cellar/mapnik/cairo.py", line 19, in <module>
surface = cairo.SVGSurface(file.name, mapnik_map.width, mapnik_map.height)
AttributeError: 'module' object has no attribute 'SVGSurface'

So I guess Mapnik is not finding the Cairo files.

Any ideas what I can do to get my Mapnik files to find them?

Would some sort of symbolic link do it or do I need to try and reinstall Mapnik ?

Thanks for your help

Simon



_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to