#15099: [vim-7.1.293+python] wrong Python linked? ---------------------------------+------------------------------------------ Reporter: frodwith@… | Owner: raimue@… Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: vim vim-app | ---------------------------------+------------------------------------------ Comment(by raimue@…): I was trying to solve this issue using the --with-python-config- dir=${prefix}/lib/python2.5/config switch, but it is not so easy. First, I had to comment out the hardcoded string "-framework Python", which is why it is always picking up python from the system. In ${prefix}/lib/python2.5/config/Makefile the variable LINKFORSHARED is set to "-ldl -u _PyMac_Error Python.framework/Versions/2.5/Python". This cannot work as the path to the framework is missing and therefore linking with these flags fails. python should be fixed first to give the whole path to the framework directory in LINKFORSHARED and not only a part. Then this will hopefully work for vim. -- Ticket URL: <http://trac.macports.org/ticket/15099#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS