[Solved] Errors in installing FCCAnalysis

Hello
i tried to install fccanalysis package but i received the below errors:

[ 18%] Generating G__FCCAnalyses.cxx, libFCCAnalyses_rdict.pcm, libFCCAnalyses.rootmap
In file included from input_line_3:2:
In file included from /cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/string:40:
In file included from /cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/bits/char_traits.h:40:
In file included from /cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/bits/postypes.h:40:
In file included from /cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cwchar:44:
/cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/etc/root/cling/lib/clang/9.0.1/include/wchar.h:104:1: error: unknown type name '__BEGIN_NAMESPACE_C99'
__BEGIN_NAMESPACE_C99
^
/cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/etc/root/cling/lib/clang/9.0.1/include/wchar.h:106:20: error: expected ';' after top level declarator
typedef __mbstate_t mbstate_t;
                   ^
/cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/etc/root/cling/lib/clang/9.0.1/include/wchar.h:107:1: error: unknown type name '__END_NAMESPACE_C99'
__END_NAMESPACE_C99
^
/cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/etc/root/cling/lib/clang/9.0.1/include/wchar.h:112:23: error: unknown type name 'mbstate_t'
__USING_NAMESPACE_C99(mbstate_t)
                      ^
/cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/etc/root/cling/lib/clang/9.0.1/include/wchar.h:112:33: error: expected ';' after top level declarator
__USING_NAMESPACE_C99(mbstate_t)
                                ^
/cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/etc/root/cling/lib/clang/9.0.1/include/wchar.h:134:1: error: unknown type name '__BEGIN_NAMESPACE_STD'
__BEGIN_NAMESPACE_STD
^
/cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/etc/root/cling/lib/clang/9.0.1/include/wchar.h:138:1: error: unknown type name '__END_NAMESPACE_STD'
__END_NAMESPACE_STD
^
/cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/etc/root/cling/lib/clang/9.0.1/include/wchar.h:145:1: error: expected function body after function declarator
__BEGIN_NAMESPACE_STD
^
/cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/etc/root/cling/lib/clang/9.0.1/include/wchar.h:168:1: error: unknown type name '__END_NAMESPACE_STD'
__END_NAMESPACE_STD
^
/cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/etc/root/cling/lib/clang/9.0.1/include/wchar.h:180:11: fatal error: 'xlocale.h' file not found
# include <xlocale.h>
          ^~~~~~~~~~~
In file included from input_line_4:2:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/Rtypes.h:23:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/RtypesCore.h:28:
In file included from /cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:50:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/etc/root/cling/lib/clang/9.0.1/include/stddef.h:102:
/cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/etc/root/cling/lib/clang/9.0.1/include/__stddef_max_align_t.h:24:3: error: typedef redefinition with different types ('struct max_align_t' vs 'struct max_align_t')
} max_align_t;
  ^
/cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/etc/root/cling/lib/clang/9.0.1/include/stddef.h:102:10: note: '/cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/etc/root/cling/lib/clang/9.0.1/include/__stddef_max_align_t.h' included multiple times, additional include site here
#include "__stddef_max_align_t.h"
         ^
/cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/etc/root/cling/lib/clang/9.0.1/include/stddef.h:102:10: note: '/cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/etc/root/cling/lib/clang/9.0.1/include/__stddef_max_align_t.h' included multiple times, additional include site here
#include "__stddef_max_align_t.h"
         ^
/cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/etc/root/cling/lib/clang/9.0.1/include/__stddef_max_align_t.h:24:3: note: unguarded header; consider using #ifdef guards or #pragma once
} max_align_t;
  ^
In file included from input_line_4:2:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/Rtypes.h:23:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/RtypesCore.h:28:
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:69:14: error: redefinition of 'byte'
  enum class byte : unsigned char {};
             ^
/cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/RtypesCore.h:28:10: note: '/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef' included multiple times, additional include site here
#include <cstddef> // size_t, NULL
         ^
/cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/RtypesCore.h:28:10: note: '/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef' included multiple times, additional include site here
#include <cstddef> // size_t, NULL
         ^
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:69:14: note: unguarded header; consider using #ifdef guards or #pragma once
  enum class byte : unsigned char {};
             ^
In file included from input_line_4:2:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/Rtypes.h:23:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/RtypesCore.h:28:
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:71:42: error: redefinition of '__byte_operand'
  template<typename _IntegerType> struct __byte_operand { };
                                         ^
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:71:42: note: previous definition is here
  template<typename _IntegerType> struct __byte_operand { };
                                         ^
In file included from input_line_4:2:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/Rtypes.h:23:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/RtypesCore.h:28:
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:125:5: error: redefinition of 'operator<<'
    operator<<(byte __b, _IntegerType __shift) noexcept
    ^
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:125:5: note: previous definition is here
    operator<<(byte __b, _IntegerType __shift) noexcept
    ^
In file included from input_line_4:2:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/Rtypes.h:23:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/RtypesCore.h:28:
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:130:5: error: redefinition of 'operator>>'
    operator>>(byte __b, _IntegerType __shift) noexcept
    ^
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:130:5: note: previous definition is here
    operator>>(byte __b, _IntegerType __shift) noexcept
    ^
In file included from input_line_4:2:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/Rtypes.h:23:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/RtypesCore.h:28:
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:134:3: error: redefinition of 'operator|'
  operator|(byte __l, byte __r) noexcept
  ^
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:134:3: note: previous definition is here
  operator|(byte __l, byte __r) noexcept
  ^
In file included from input_line_4:2:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/Rtypes.h:23:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/RtypesCore.h:28:
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:138:3: error: redefinition of 'operator&'
  operator&(byte __l, byte __r) noexcept
  ^
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:138:3: note: previous definition is here
  operator&(byte __l, byte __r) noexcept
  ^
In file included from input_line_4:2:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/Rtypes.h:23:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/RtypesCore.h:28:
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:142:3: error: redefinition of 'operator^'
  operator^(byte __l, byte __r) noexcept
  ^
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:142:3: note: previous definition is here
  operator^(byte __l, byte __r) noexcept
  ^
In file included from input_line_4:2:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/Rtypes.h:23:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/RtypesCore.h:28:
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:146:3: error: redefinition of 'operator~'
  operator~(byte __b) noexcept
  ^
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:146:3: note: previous definition is here
  operator~(byte __b) noexcept
  ^
In file included from input_line_4:2:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/Rtypes.h:23:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/RtypesCore.h:28:
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:151:5: error: redefinition of 'operator<<='
    operator<<=(byte& __b, _IntegerType __shift) noexcept
    ^
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:151:5: note: previous definition is here
    operator<<=(byte& __b, _IntegerType __shift) noexcept
    ^
In file included from input_line_4:2:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/Rtypes.h:23:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/RtypesCore.h:28:
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:156:5: error: redefinition of 'operator>>='
    operator>>=(byte& __b, _IntegerType __shift) noexcept
    ^
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:156:5: note: previous definition is here
    operator>>=(byte& __b, _IntegerType __shift) noexcept
    ^
In file included from input_line_4:2:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/Rtypes.h:23:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/RtypesCore.h:28:
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:160:3: error: redefinition of 'operator|='
  operator|=(byte& __l, byte __r) noexcept
  ^
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:160:3: note: previous definition is here
  operator|=(byte& __l, byte __r) noexcept
  ^
In file included from input_line_4:2:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/Rtypes.h:23:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/RtypesCore.h:28:
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:164:3: error: redefinition of 'operator&='
  operator&=(byte& __l, byte __r) noexcept
  ^
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:164:3: note: previous definition is here
  operator&=(byte& __l, byte __r) noexcept
  ^
In file included from input_line_4:2:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/Rtypes.h:23:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/RtypesCore.h:28:
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:168:3: error: redefinition of 'operator^='
  operator^=(byte& __l, byte __r) noexcept
  ^
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:168:3: note: previous definition is here
  operator^=(byte& __l, byte __r) noexcept
  ^
In file included from input_line_4:2:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/Rtypes.h:23:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/RtypesCore.h:28:
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:174:5: error: redefinition of 'to_integer'
    to_integer(__byte_op_t<_IntegerType> __b) noexcept
    ^
/cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/cstddef:174:5: note: previous definition is here
    to_integer(__byte_op_t<_IntegerType> __b) noexcept
    ^
In file included from input_line_4:2:
In file included from /cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/Rtypes.h:23:
/cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/RtypesCore.h:100:17: error: redefinition of 'kTRUE'
const Bool_t    kTRUE        = true;
                ^
note: '/cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/RtypesCore.h' included multiple times, additional include site here
fatal error: cannot open file 'input_line_3': No such file or directory
/cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/Rtypes.h:23:10: note: '/cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/RtypesCore.h' included multiple times, additional include site here
#include "RtypesCore.h"
         ^
/cvmfs/sw.hsf.org/spackages7/root/6.26.10/x86_64-centos7-gcc11.2.0-opt/i4xdf/include/root/RtypesCore.h:100:17: note: unguarded header; consider using #ifdef guards or #pragma once
const Bool_t    kTRUE        = true;
                ^
Error: Error loading the default rootcling header files.
make[2]: *** [analyzers/dataframe/CMakeFiles/G__FCCAnalyses.dir/build.make:117: analyzers/dataframe/G__FCCAnalyses.cxx] Error 1
make[1]: *** [CMakeFiles/Makefile2:1114: analyzers/dataframe/CMakeFiles/G__FCCAnalyses.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

how can i solve this problem ?

Thanks
amirreza

Hello @amirreza,

Can you specify little bit more your environment and how did you tried to install the FCCAnalyses?
What machine and operating system?
Which version of the FCCAnalyses?
Which commands you used for the build/installation?
Are you sure you are running in the clean environment?

Best :slight_smile: ,
Juraj

Hello @jsmiesko
thank you for your reply.
i tried to install the latest version of fccanalysis on lxplus.
i used of these commands for installing fcc analysis:

source /cvmfs/sw.hsf.org/spackages6/key4hep-stack/2023-01-15/x86_64-centos7-gcc11.2.0-opt/csapx/setup.sh
source ./setup.sh
mkdir build install
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=../install
make install

and im’not sure about running in the clean environment :))
what can i do about it?

Thanks
amirreza

Hello @amirreza,

Thanks, I will try to reproduce your error.

The environment refers to the state of your shell. Usually, just logging out and back in should do the job.

Best,
Juraj

Thank you @jsmiesko

yes i tried to relogin but nothing changed , bu it seems that when i try

source /cvmfs/sw.hsf.org/spackages6/key4hep-stack/2023-01-15/x86_64-centos7-gcc11.2.0-opt/csapx/setup.sh

nothing change and i think there are somethings incompatible in my system.
i will be really grateful for your helps.

Thanks
amirreza

and is there anyway for me to clean my environment?

Thank
amirreza

Hello @amirreza,

I followed your commands, but for me everything builds properly.

Can you share your ~/.bashrc and ~/.bash_profile files?

Also is there a reason why you use a specific version of the Key4hep stack?
The easiest way to build and install fccanalyses is with

source ./setup.sh
fccanalyses build

Best,
Juraj

Hello @jsmiesko

yes it’s ok , i will share them .

~/.bashrc file :

# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi

# User specific aliases and functions                                                                           

and ~/.bash_profile file :

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH

and ok , i will try this way of installation.

Thanks
amirreza

Hello @jsmiesko
i relogined and tried to install the package with the commands you mentioned , but the errors presist again :slight_smile: .
is there anyway to clean my environment completely?
Thanks
amirreza

Hello @amirreza,

the ~/.bashrc and ~/.bash_profile files look OK.
One more thing, can you share the output of git status and git remote -v commands?

Best,
Juraj

Hello @jsmiesko
I solved my problem. i usually connected to my lxplus using lxplus8.cern.ch , but in the last time , i connected using lxplus.cern.ch and the package installed successfully.
thank you for your replies :slight_smile: .
best regards
amirreza

1 Like