|
Boost Users : |
Subject: Re: [Boost-users] Do I need a seperate boost_python lib for python 3?
From: Neal Becker (ndbecker2_at_[hidden])
Date: 2013-08-24 07:21:06
Steve Lorimer wrote:
> We do the following:
>
> PREFIX=/usr/local
> BOOST_LIBRARIES=python
> PYTHON_MAJOR_VER=2.7
> PYTHON_LOC=$PREFIX/python-2.7.3
>
> ./bootstrap.sh --prefix=${PREFIX} --with-libraries=${BOOST_LIBRARIES}
> --with-python-version=${PYTHON_MAJOR_VER} --with-python-root=${PYTHON_LOC}
> --with-python=${PYTHON_LOC}/bin/python
>
> PREFIX=/usr/local
> BOOST_LIBRARIES=python
> PYTHON_MAJOR_VER=3.2
> PYTHON_LOC=$PREFIX/python-3.2.3
>
> ./bootstrap.sh --prefix=${PREFIX} --with-libraries=${BOOST_LIBRARIES}
> --with-python-version=${PYTHON_MAJOR_VER} --with-python-root=${PYTHON_LOC}
> --with-python=${PYTHON_LOC}/bin/python
>
>
Do you put the resulting shared libs in 2 different locations?
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net