|
Boost Users : |
Subject: Re: [Boost-users] how to use staged 1.51 with installed boost 1.49 with autotools?
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2012-10-13 10:31:01
On 13 October 2012 13:20, Joost Kraaijeveld <J.Kraaijeveld_at_[hidden]> wrote:
> On Sat, 2012-10-13 at 13:00 +0100, Mateusz Loskot wrote:
>> On 13 October 2012 12:57, Joost Kraaijeveld <J.Kraaijeveld_at_[hidden]> wrote:
>> > Thanks for the reply but these three FAQs do not have the answer, I am
>> > afraid. The fist question is about an installed version of Boost.
>> > [...]
>>
>> It says:
>>
>> "If you have a staged boost library (still not installed) please
>> specify $BOOST_ROOT
>> in your environment and do not give a PATH to --with-boost option."
>
> No, that did not work either. This works if no installed Boost version
> is available, not if an installed version *is* available. This I
> experienced by trying.
I admit I haven't used autotools lately, so haven't tracked
status of the macro for Boost lookup.
But, I'm fairly sure the BOOST_ROOT and --with-boost-libdir
usually does the trick
--with-boost=/custom/path/to/boost/root
--with-boost-libdir=/custom/path/to/boost/root/lib
However, the macro tends to be iffy, and there are plenty of
bug reports for various distributions.
Best regards,
-- Mateusz Loskot, http://mateusz.loskot.net
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