[MacPorts] #19114: New Port: Mapnik

MacPorts noreply at macports.org
Thu Apr 23 19:48:59 PDT 2009


#19114: New Port: Mapnik
---------------------------------------+------------------------------------
 Reporter:  dbsgeo@…                   |       Owner:  macports-tickets@…                   
     Type:  enhancement                |      Status:  new                                  
 Priority:  Normal                     |   Milestone:  Port Submissions                     
Component:  ports                      |     Version:  1.7.0                                
 Keywords:  gis,graphics,boost,python  |        Port:  Mapnik                               
---------------------------------------+------------------------------------

Comment(by macsforever2000@…):

 I'm not able to get this to run. It builds fine, but I see the following
 error in ipython2.5

 {{{
 $ ipython2.5
 Python 2.5.4 (r254:67916, Apr 11 2009, 14:47:01)
 Type "copyright", "credits" or "license" for more information.

 IPython 0.9.1 -- An enhanced Interactive Python.
 ?         -> Introduction and overview of IPython's features.
 %quickref -> Quick reference.
 help      -> Python's own help system.
 object?   -> Details about 'object'. ?object also works, ?? prints more.

 In [1]: import mapnik
 ---------------------------------------------------------------------------
 ImportError                               Traceback (most recent call
 last)

 /Users/frank/Downloads/mapnik-0.6.0/scons/<ipython console> in <module>()

 /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
 /site-packages/mapnik/__init__.py in <module>()
      52 setdlopenflags(RTLD_NOW | RTLD_GLOBAL)
      53
 ---> 54 from _mapnik import *
      55 from paths import inputpluginspath, fontscollectionpath
      56

 ImportError:
 dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
 /site-packages/mapnik/_mapnik.so, 10): Library not loaded: libmapnik.dylib
   Referenced from:
 /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
 /site-packages/mapnik/_mapnik.so
   Reason: image not found
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/19114#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list