Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2004-08-09 09:35:25


Markus Schöpflin <markus.schoepflin_at_[hidden]> writes:

> [Note: This mail has already been sent to c.l.b.u. about a week ago. As
> I got no reaction I'm assuming that it has probably been missed. I'm
> resending it here because it might be the more appropriate ML anyway.]
>
> Hello,
>
> attached is a patch for pyhton.jam which allows to use python
> installation on Unix which have been configured with different prefix
> and exec-prefix. Currently this is not supported by boost.build.
>
> The patch simply adds the missing include directory to the compiler
> command line as recommended in
> http://www.python.org/doc/2.3.4/api/includes.html .
>
> After applying the patch you can either use
>
> bjam -sPYTHON_ROOT=<prefix>
>
> or
>
> bjam -sPYTHON_ROOT=<prefix> -sPYTHON_EXEC_ROOT=<exec prefix>
>
> Markus

Why is setting PYTHON_EXEC_ROOT better than setting PYTHON_INCLUDES
as already supported and documented in
http://www.boost.org/libs/python/doc/building.html#configuration
??

Also, if there is a reason to accept this patch, I would also like a
documentation patch for the page mentioned above.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
 

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk