qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danushka Menikkumbura (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Commented: (QPID-980) Amend Qpid/C++ INSTALL file to show how to build/install Boost to work with the current build system
Date Tue, 29 Apr 2008 08:19:56 GMT

    [ https://issues.apache.org/jira/browse/QPID-980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592973#action_12592973

Danushka Menikkumbura commented on QPID-980:

Finally I found the perfect bjam command to build the Boost libs the way we want.

bjam toolset=gcc variant=release threading=single link=shared --layout=system --prefix=~/qpid-tools

This works with Boost 1.35.0 and with this we do not have to build all possible variants of
libs. I sweated one whole day to figure this out ;).

> Amend Qpid/C++ INSTALL file to show how to build/install Boost to work with the current
build system
> ----------------------------------------------------------------------------------------------------
>                 Key: QPID-980
>                 URL: https://issues.apache.org/jira/browse/QPID-980
>             Project: Qpid
>          Issue Type: Bug
>    Affects Versions: M2
>            Reporter: Danushka Menikkumbura
> I found this issue when I was trying to build Boost from the source distribution.
>    According to Qpid/C++ documentation (refer to INSTALL file) the following command
is supposed to build Boost libraries.
>    bjam -sTOOLS=gcc --prefix=~/qpid-tools
>    The generated libraries with this command have the name format <prefix><library
name>-<tooset name>-<threading tag>-<ABI tag><version tag><extension>.
> .
>    E.g. libboost_program_options-gcc41-mt-1_34_1.so
>    In Qpid build system, the Boost libs that are linked have the name format <prefix><library
>    The remedy for this issue is twofold.
>    1. Use the following command instead of what is given in the INSTALL file.
>    bjam -sTOOLS=gcc --layout=system --build-type=complete --prefix=~/qpid-tools
>    This generates all possible variants of libs and hence what we want, takes longer
time to build the libs though.
>    2. Make use of package management tools to install Boost libs.
>    On Ubuntu, use the following command.
>    sudo apt-get install libboost*-dev 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message