[MacPorts] #15099: [vim-7.1.293+python] wrong Python linked?
#15099: [vim-7.1.293+python] wrong Python linked? --------------------------------+------------------------------------------- Reporter: frodwith@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | --------------------------------+------------------------------------------- With python25 installed and "python_select"ed, I get this error when running my first :python command in a new vim session. sys:1: RuntimeWarning: Python C API version mismatch for module vim: This Python has API version 1012, module vim has version 1013. As nearly as I can tell, vim is getting built with -framework Python instead of the stuff python-config would give you (-ldl -lpython2.5). I don't know if this is a bug for the port to fix or for vim to fix, please advise. :) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15099> MacPorts </projects/macports> Ports system for Mac OS
#15099: [vim-7.1.293+python] wrong Python linked? ---------------------------------+------------------------------------------ Reporter: frodwith@gmail.com | Owner: raimue@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by ram@macports.org): * owner: macports-tickets@lists.macosforge.org => raimue@macports.org * milestone: => Port Bugs Comment: assign to maintainer -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15099#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#15099: [vim-7.1.293+python] wrong Python linked? ---------------------------------+------------------------------------------ Reporter: frodwith@gmail.com | Owner: raimue@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by raimue@macports.org): Ok, I see a real problem here. The build system of vim always builds against the first 'python' binary it finds in PATH. This means it takes the includes and libs of this binary. If you still have it, could you please provide the output of: {{{ otool -L /opt/local/bin/vim }}} (Sorry at this point for examining this bug so late, I was busy.) Currently I see no solution how we could fix this bug without rewriting the vim configure checks. And I also think the same applies to ruby and perl when linked into vim. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15099#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#15099: [vim-7.1.293+python] wrong Python linked? ---------------------------------+------------------------------------------ Reporter: frodwith@gmail.com | Owner: raimue@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by frodwith@gmail.com): {{{ hephaestus:pdriver $ otool -L /opt/local/bin/vim /opt/local/bin/vim: /opt/local/lib/libncurses.5.dylib (compatibility version 5.0.0, current version 5.0.0) /opt/local/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 128.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.10) /System/Library/Frameworks/Python.framework/Versions/2.3/Python (compatibility version 2.3.0, current version 2.3.5) /System/Library/Frameworks/Tcl.framework/Versions/8.4/Tcl (compatibility version 8.4.0, current version 8.4.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 368.33.0) /usr/lib/libruby.1.dylib (compatibility version 1.8.0, current version 1.8.2) /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0) }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15099#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#15099: [vim-7.1.293+python] wrong Python linked? ---------------------------------+------------------------------------------ Reporter: frodwith@gmail.com | Owner: raimue@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by wsiegrist@apple.com): * cc: wms@macports.org (added) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15099#comment:4> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts