Wednesday, April 1, 2015

Boost C++ library RPM packages for CentOS 6

I have created some RPM packages from Boost C++ libraries, 1.54.0-8.20.2, 1.55.0,  1.56.0 1.57.0 1.58.0 and 1.59.0 for CentOS x64 (no 32bits sorry).

Building the Boost C++ Libraries with:

Performing configuration checks

    - 32-bit                   : no
    - 64-bit                   : yes
    - arm                      : no
    - mips1                    : no
    - power                    : no
    - sparc                    : no
    - x86                      : yes
    - lockfree boost::atomic_flag : yes
    - has_icu builds           : yes
warning: Graph library does not contain MPI-based parallel components.
note: to enable them, add "using mpi ;" to your user-config.jam
    - zlib                     : yes
    - iconv (libc)             : yes
    - icu                      : yes
    - compiler-supports-ssse3  : yes
    - compiler-supports-avx2   : no
    - gcc visibility           : yes
    - long double support      : yes
    - zlib                     : yes

Component configuration:

    - atomic                   : building
    - chrono                   : building
    - container                : building
    - context                  : building
    - coroutine                : building
    - date_time                : building
    - exception                : building
    - filesystem               : building
    - graph                    : building
    - graph_parallel           : building
    - iostreams                : building
    - locale                   : building
    - log                      : building
    - math                     : building
    - mpi                      : not building
    - program_options          : building
    - python                   : building
    - random                   : building
    - regex                    : building
    - serialization            : building
    - signals                  : building
    - system                   : building
    - test                     : building
    - thread                   : building
    - timer                    : building
    - wave                     : building


Easy to add:
sudo wget https://bintray.com/vicendominguez/CentOS6/rpm -O /etc/yum.repos.d/bintray-vicendominguez-CentOS6.repo
sudo yum install boost-devel

:)

9 comments:

  1. On redhat 6.6 you need to uninstall boost 1.41 before installing this. This will also remove gnote and qpid.

    Removing:
    boost x86_64 1.41.0-25.el6 @ftp3-updates 0.0
    boost-date-time x86_64 1.41.0-25.el6 @ftp3-updates 149 k
    boost-devel x86_64 1.41.0-25.el6 @ftp3-updates 44 M
    boost-filesystem x86_64 1.41.0-25.el6 @ftp3-updates 172 k
    boost-graph x86_64 1.41.0-25.el6 @ftp3-updates 338 k
    boost-iostreams x86_64 1.41.0-25.el6 @ftp3-updates 114 k
    boost-math x86_64 1.41.0-25.el6 @ftp3-updates 2.5 M
    boost-program-options x86_64 1.41.0-25.el6 @ftp3-updates 615 k
    boost-python x86_64 1.41.0-25.el6 @ftp3-updates 649 k
    boost-regex x86_64 1.41.0-25.el6 @ftp3-updates 1.9 M
    boost-serialization x86_64 1.41.0-25.el6 @ftp3-updates 1.5 M
    boost-signals x86_64 1.41.0-25.el6 @ftp3-updates 154 k
    boost-system x86_64 1.41.0-25.el6 @ftp3-updates 24 k
    boost-test x86_64 1.41.0-25.el6 @ftp3-updates 1.6 M
    boost-thread x86_64 1.41.0-25.el6 @ftp3-updates 84 k
    boost-wave x86_64 1.41.0-25.el6 @ftp3-updates 1.2 M
    Removing for dependencies:
    gnote x86_64 0.6.3-3.el6 @anaconda-RedHatEnterpriseLinux-201105101844.x86_64/6.1
    4.8 M
    qpid-cpp-client x86_64 0.14-22.el6_3 @ftp3-updates 4.0 M
    qpid-cpp-client-ssl x86_64 0.14-22.el6_3 @ftp3-updates 356 k
    qpid-cpp-server x86_64 0.14-22.el6_3 @ftp3-updates 3.4 M
    qpid-cpp-server-ssl x86_64 0.14-22.el6_3 @ftp3-updates 153 k
    qpid-qmf x86_64 0.14-14.el6_3 @ftp3-updates 1.4 M

    ReplyDelete
    Replies
    1. Thx for the info Myron. I think to uninstall those packages in some environments could be a problem.
      Sorry for that inconvenience. :(
      I hope my packages are enough for a lot of people but... :(

      Delete
  2. You Sir, made my day. Thank you for providing these.

    ReplyDelete
  3. Thank you for sharing rpms. I was able to build latest vowpal-wabbit on CentOS 6.7.
    Could you please share your specs file for building boost rpm?

    ReplyDelete
    Replies
    1. Hello Vladimir... thx for your comment.

      I have an ugly githup repo with some SPECS for CentOS6 (boost included): https://github.com/vicendominguez/CentOS-SPECS/

      Delete
  4. it seems that http://repo.enetres.net/enetres.repo cannot be downloaded any more

    ReplyDelete
    Replies
    1. http://vicendominguez.blogspot.com.es/2016/09/mirroring-my-old-rpm-centos6-repo.html

      Delete