AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only

installing boost library - which patches work?

  • 1.  installing boost library - which patches work?

    Posted Tue January 16, 2018 11:51 AM

    Originally posted by: rumexcrispus


    Hi

    I am trying to develop in C++ using the IBM xlc++ compiler with the OpenSource boost headers and libraries.

    I'm on AIX 7.2 and using XL xlc++ 13.1.3

    I would like to use boost_1_59, but can only find a patch for boost 1_55.  'boost_modfile_be.txt' that patch will apply. 

    Any ideas?

     

    Also can someone confirm the target location should be /opt/freeware?

     

    I used the following sequence

    wget https://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.gz/download

    gunzip < boost_1_55_0.tar.gz  | tar -xvf -

    wget ftp://public.dhe.ibm.com/software/xlcpp/boost/bst1550/boost_modfile_be.txt

    cd boost_1_55_0
    ln -s . boost_1_55_0
    patch -p0 -b < ../boost_modfile_be.txt

    mkdir /tmp/bb

    export BOOST_BUILD=/tmp/bb

    bootstrap.sh --with-toolset=vacpp --prefix=/opt/freeware   --exec-prefix=/opt/freeware

    b2 --build-dir=$BOOST_BUILD --exec-prefix=/opt/freeware

    # b2 install