Skip to content
Albert Rossi edited this page Mar 17, 2022 · 4 revisions

Compilation

# 1. Install a package with repository for your system:
# On CentOS, install package centos-release-scl available in CentOS repository:
$ sudo yum install centos-release-scl

# 2. Install the collection:
$ sudo yum install devtoolset-7

# 3. Start using software collections:
$ scl enable devtoolset-7 bash

NOTE that scl should already be installed on fndcatemp1.

2.3 Build steps

  * on RHEL7 only: scl enable devtoolset-7 /bin/bash

  * Create an empty build directory:

    mkdir build
    cd build

  * Generate the build system files using cmake, ie:

    cmake .. -DCMAKE_INSTALL_PREFIX=/opt/xrootd/v5.x -DENABLE_PERL=FALSE

  * Build the source:

    make

  * Install the source:

    make install

Clone this wiki locally