Subject: [Boost-bugs] [Boost C++ Libraries] #2212: boost-build does cannot link non-system python on mac
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-08-18 07:31:37
#2212: boost-build does cannot link non-system python on mac
------------------------------+---------------------------------------------
Reporter: dphilp_at_[hidden] | Owner: vladimir_prus
Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: build
Version: Boost 1.36.0 | Severity: Problem
Keywords: python framework |
------------------------------+---------------------------------------------
python.jam has a bug which causes it to ignore the "using python" settings
on a mac. E.g. with
using python : 2.5 : PATH_TO_PYTHON ;
The build system will correctly understand the request, find the python
installation, but it fails to find the framework, and crashes out and use
the (default) system framework. The only way to get it to link is to (as
root) hide the system framework. Which is hardly sustainable...
What currently happens is this:
1. if Darwin, is PATH_TO_PYTHON a framework?
2. regardless, use System python
What should happen is this:
1. if Darwin, is PATH_TO_PYTHON a python path?
2. if so use it.
3. if not, is it a framework?
4. if so, use it.
This below is a minimal fix:
1. if Darwin, is PATH_TO_PYTHON a framework?
2. if so, use it.
{{{
853,854c849
<
< if $(framework-directory) = Python.framework
---
> if $(framework-directory:D=) = Python.framework
855a851
> fwk = $(framework-directory) ;
905c899
< if $(framework-directory)
---
> if $(fwk)
}}}
-- Ticket URL: <http://svn.boost.org/trac/boost/ticket/2212> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC