[pkg-boost-devel] Boost and Python 2.4

Domenico Andreoli cavok at debian.org
Mon Aug 13 06:47:40 UTC 2007


On Mon, Aug 13, 2007 at 01:22:33AM -0500, Steve M. Robbins wrote:
> On Mon, Aug 13, 2007 at 02:03:55AM +0200, Domenico Andreoli wrote:
> > On Sun, Aug 12, 2007 at 06:36:06PM -0500, Steve M. Robbins wrote:
> 
> > > I thought I might have a go at fixing this if I have some time
> > > this evening.  I may not have the time, after all, but Dominik: if
> > > this would interfere with any of your plans, do let me know.
> > 
> > before uploading 1.34.1 with python 2.4 only, I want to be sure there
> > is no way in building two flavours of Boost.Python, 2.4 and 2.5.
> 
> It looks doable, but I've run out of time.  Here's what I've figured
> out so far: the attached patch should build Boost.Python for 2.4 and
> 2.5.  The former is default, since it is currently default on Debian.

ok, great

> > it was required to change the soname, I would prefer to change the
> > python 2.4 one, which is anyway going away probably before lenny.
> 
> I think there's nearly always 2 or more python versions officially
> supported in Debian.  So it makes sense to decorate the Boost.Python
> lib name and SONAME with the python version at all times, don't you
> think?

losing inary compatibility with other distributions, if any?

> P.S.  I "corrected" the 
> 	$(bjam): CC=gcc-4.1
> line in the diff without really understanding it.  What does
> it mean to have a variable assignment as a dependency of a
> target?  Shouldn't this be a straight variable assignment?
> Does CC need to be assigned?

that sets CC only fot the $(bjam) target, where it used by the cc
toolset, the one used to build bjam.

it is required to explicitly build bjam with gcc 4.1 instead of the
default compiler version, in case it changes to 4.2 in the meanwhile. see
the patch from ubuntu.

thanks,
Domenico

-----[ Domenico Andreoli, aka cavok
 --[ http://www.dandreoli.com/gpgkey.asc
   ---[ 3A0F 2F80 F79C 678A 8936  4FEE 0677 9033 A20E BC50



More information about the pkg-boost-devel mailing list