[MacPorts] #21169: py26-mapnik install fails on Snow Leopard (OS X 10.6)
#21169: py26-mapnik install fails on Snow Leopard (OS X 10.6) ----------------------------------+----------------------------------------- Reporter: brian.gyss@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: py26-mapnik ----------------------------------+----------------------------------------- py26-mapnik fails when I attempt to build it under Snow Leopard (OS X 10.6) with the following errors: {{{ briangyss@cheese: ttys000: 3 files 0b -> sudo port install py26-mapnik +postgis +gdal +cairo ---> Computing dependencies for py26-mapnik ---> Fetching py26-mapnik ---> Attempting to fetch mapnik-0.6.0.tar.bz2 from http://distfiles.macports.org/py26-mapnik ---> Verifying checksum(s) for py26-mapnik ---> Extracting py26-mapnik ---> Applying patches to py26-mapnik ---> Configuring py26-mapnik ---> Building py26-mapnik ---> Staging py26-mapnik into destroot Warning: violation by /opt/local/lib64 Warning: py26-mapnik violates the layout of the ports-filesystems! Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases! ---> Installing py26-mapnik @0.6.0_1+cairo+gdal+postgis ---> Activating py26-mapnik @0.6.0_1+cairo+gdal+postgis ---> Cleaning py26-mapnik briangyss@cheese: ttys000: 3 files 0b -> python Python 2.6.2 (r262:71600, Sep 6 2009, 18:26:00) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import mapnik Fatal Python error: Interpreter not initialized (version mismatch?) Abort trap
}}} -- Ticket URL: <http://trac.macports.org/ticket/21169> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21169: py26-mapnik install fails on Snow Leopard (OS X 10.6) ----------------------------------+----------------------------------------- Reporter: brian.gyss@… | Owner: dbsgeo@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: py26-mapnik ----------------------------------+----------------------------------------- Changes (by blb@…): * owner: macports-tickets@… => dbsgeo@… Comment: Possibly building against the system python's library by mistake? -- Ticket URL: <http://trac.macports.org/ticket/21169#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21169: py26-mapnik install fails on Snow Leopard (OS X 10.6) ----------------------------------+----------------------------------------- Reporter: brian.gyss@… | Owner: dbsgeo@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: py26-mapnik ----------------------------------+----------------------------------------- Comment(by brian.gyss@…): Replying to [comment:1 blb@…]:
Possibly building against the system python's library by mistake?
Doesn't really look like it - I've attached a copy of the debug log and it looks like it's building against the framework macports library: Bindings Python version... 2.6 Python 2.6 prefix... /opt/local/Library/Frameworks/Python.framework/Versions/2.6 -- Ticket URL: <http://trac.macports.org/ticket/21169#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21169: py26-mapnik install fails on Snow Leopard (OS X 10.6) ----------------------------------+----------------------------------------- Reporter: brian.gyss@… | Owner: dbsgeo@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: py26-mapnik ----------------------------------+----------------------------------------- Comment(by dbsgeo@…): I would guess that you have a broken install of the boost_python library that is linked to something other than the /opt/local py26. What does this give? {{{ otool -L /opt/local/lib/libboost_python* }}} -- Ticket URL: <http://trac.macports.org/ticket/21169#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21169: py26-mapnik install fails on Snow Leopard (OS X 10.6) ----------------------------------+----------------------------------------- Reporter: brian.gyss@… | Owner: dbsgeo@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: py26-mapnik ----------------------------------+----------------------------------------- Comment(by dbsgeo@…): I assume that the above command will show that boost is linked to the WRONG version of python, the SYSTEM python26. If this is the case you can try running: {{{ #!sh install_name_tool -change /System/Library/Frameworks/Python.framework/Versions/2.6/Python /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Python /opt/local/lib/libboost_python-mt.dylib }}} I have just build py26-mapnik using a clean build of macports and do not see this error. I assume therefore that this is a boost port problem not a py26-mapnik problem. -- Ticket URL: <http://trac.macports.org/ticket/21169#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21169: py26-mapnik install fails on Snow Leopard (OS X 10.6) ----------------------------------+----------------------------------------- Reporter: brian.gyss@… | Owner: dbsgeo@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: py26-mapnik ----------------------------------+----------------------------------------- Comment(by dbsgeo@…): Note, this should likely be marked as a duplicate of #21444 -- Ticket URL: <http://trac.macports.org/ticket/21169#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21169: py26-mapnik install fails on Snow Leopard (OS X 10.6) -----------------------------------+---------------------------------------- Reporter: brian.gyss@… | Owner: dbsgeo@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: duplicate | Keywords: Port: py26-mapnik | -----------------------------------+---------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => duplicate -- Ticket URL: <http://trac.macports.org/ticket/21169#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts