Issue with Delphes installation on mac

Asked by SUBHASISH BEHERA

Dear Benj,

Can you suggest some solution ?

I am having the following log file :

>> Generating tmp/classes/ClassesDict.cc
In file included from input_line_1:1:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/new:91:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/exception:82:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdlib:86:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/stdlib.h:94:
/usr/local/etc/cling/lib/clang/5.0.0/include/stdlib.h:8:15: fatal error: 'stdlib.h' file not found
#include_next <stdlib.h>
              ^~~~~~~~~~
In file included from input_line_3:1:
In file included from /usr/local/include/RtypesCore.h:25:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/stddef.h:46:
/usr/local/etc/cling/lib/clang/5.0.0/include/stddef.h:51:9: error: unknown type name '__PTRDIFF_TYPE__'
typedef __PTRDIFF_TYPE__ ptrdiff_t;
        ^
/usr/local/etc/cling/lib/clang/5.0.0/include/stddef.h:62:9: error: unknown type name '__SIZE_TYPE__'
typedef __SIZE_TYPE__ size_t;
        ^
/usr/local/etc/cling/lib/clang/5.0.0/include/stddef.h:90:9: error: unknown type name '__WCHAR_TYPE__'
typedef __WCHAR_TYPE__ wchar_t;
        ^
/usr/local/etc/cling/lib/clang/5.0.0/include/stddef.h:90:24: error: expected unqualified-id
typedef __WCHAR_TYPE__ wchar_t;
                       ^
In file included from input_line_3:2:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/string:500:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/string_view:176:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/__string:56:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/algorithm:640:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/initializer_list:47:
/Library/Developer/CommandLineTools/usr/include/c++/v1/cstddef:47:1: error: unknown type name '_LIBCPP_BEGIN_NAMESPACE_STD'
_LIBCPP_BEGIN_NAMESPACE_STD
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/cstddef:49:1: error: expected unqualified-id
using ::ptrdiff_t;
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/cstddef:60:1: error: unknown type name '_LIBCPP_END_NAMESPACE_STD'
_LIBCPP_END_NAMESPACE_STD
^
In file included from input_line_3:2:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/string:500:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/string_view:176:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/__string:56:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/algorithm:640:
/Library/Developer/CommandLineTools/usr/include/c++/v1/initializer_list:53:1: error: expected unqualified-id
namespace std // purposefully not versioned
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/initializer_list:61:5: error: expected expression
    const _Ep* __begin_;
    ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/initializer_list:59:28: error: variable has incomplete type 'class _LIBCPP_TEMPLATE_VIS'
class _LIBCPP_TEMPLATE_VIS initializer_list
                           ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/initializer_list:59:7: note: forward declaration of 'std::_LIBCPP_TEMPLATE_VIS'
class _LIBCPP_TEMPLATE_VIS initializer_list
      ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/initializer_list:97:8: error: unknown type name '_LIBCPP_INLINE_VISIBILITY'
inline _LIBCPP_INLINE_VISIBILITY
       ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/initializer_list:98:30: error: expected ';' at end of declaration
_LIBCPP_CONSTEXPR_AFTER_CXX11
                             ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/initializer_list:99:7: error: unknown type name '_Ep'
const _Ep*
      ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/initializer_list:100:24: error: use of undeclared identifier '_Ep'
begin(initializer_list<_Ep> __il) _NOEXCEPT
                       ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/initializer_list:100:24: error: use of undeclared identifier '_Ep'
/Library/Developer/CommandLineTools/usr/include/c++/v1/initializer_list:100:35: error: expected function body after function declarator
begin(initializer_list<_Ep> __il) _NOEXCEPT
                                  ^
In file included from input_line_3:2:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/string:500:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/string_view:176:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/__string:56:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/algorithm:641:
/Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:408:1: error: unknown type name '_LIBCPP_BEGIN_NAMESPACE_STD'
_LIBCPP_BEGIN_NAMESPACE_STD
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:410:1: error: expected unqualified-id
template <class _T1, class _T2> struct _LIBCPP_TEMPLATE_VIS pair;
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:411:49: error: variable has incomplete type 'class _LIBCPP_TEMPLATE_VIS'
template <class _Tp> class _LIBCPP_TEMPLATE_VIS reference_wrapper;
                                                ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:411:28: note: forward declaration of '_LIBCPP_TEMPLATE_VIS'
template <class _Tp> class _LIBCPP_TEMPLATE_VIS reference_wrapper;
                           ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]

 *** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[<unknown binary>] (no debug info)
[/usr/local/lib/libCling.so] ROOT::TMetaUtils::TNormalizedCtxtImpl::TNormalizedCtxtImpl(cling::LookupHelper const&) /Users/subhparasara/Documents/RESEARCH/PACKAGES_USED/ROOT_V6_13_08/core/clingutils/src/TClingUtils.cxx:656
[/usr/local/lib/libCling.so] ROOT::TMetaUtils::TNormalizedCtxt::TNormalizedCtxt(cling::LookupHelper const&) /Users/subhparasara/Documents/RESEARCH/PACKAGES_USED/ROOT_V6_13_08/core/clingutils/src/TClingUtils.cxx:321
[/usr/local/lib/libCling.so] TCling::TCling(char const*, char const*) /Users/subhparasara/Documents/RESEARCH/PACKAGES_USED/ROOT_V6_13_08/core/metacling/src/TCling.cxx:1297
[/usr/local/lib/libCling.so] CreateInterpreter /Users/subhparasara/Documents/RESEARCH/PACKAGES_USED/ROOT_V6_13_08/core/metacling/src/TCling.cxx:614
[/usr/local/lib/libCore.so] TROOT::InitInterpreter() /Users/subhparasara/Documents/RESEARCH/PACKAGES_USED/ROOT_V6_13_08/core/base/src/TROOT.cxx:2072
[/usr/local/lib/libCore.so] ROOT::Internal::GetROOT2() /Users/subhparasara/Documents/RESEARCH/PACKAGES_USED/ROOT_V6_13_08/core/base/src/TROOT.cxx:390
[/usr/local/lib/libCling.so] TCling__GetInterpreter /Users/subhparasara/Documents/RESEARCH/PACKAGES_USED/ROOT_V6_13_08/core/metacling/src/rootclingTCling.cxx:48
[/usr/local/lib/libCling.so] RootClingMain(int, char**, bool, bool) /Users/subhparasara/Documents/RESEARCH/PACKAGES_USED/ROOT_V6_13_08/core/dictgen/src/rootcling_impl.cxx:4425
[/usr/local/lib/libCling.so] ROOT_rootcling_Driver /Users/subhparasara/Documents/RESEARCH/PACKAGES_USED/ROOT_V6_13_08/core/dictgen/src/rootcling_impl.cxx:6204
[/usr/local/bin/rootcint] main /Users/subhparasara/Documents/RESEARCH/PACKAGES_USED/ROOT_V6_13_08/main/src/rootcling.cxx:44
[/usr/lib/system/libdyld.dylib] start (no debug info)
make: *** [tmp/classes/ClassesDict.cc] Error 139

Thanks in advance.

Thanks,
Subhasish

Question information

Language:
English Edit question
Status:
Answered
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Benjamin Fuks (fuks) said :
#1

Hi Subhasish,

This sounds lie it is an issue specific to Mac OS 10.14 (I bet you upgraded your OS). Do you mind installing the macOS_SDK_headers_for_macOS_10.14.pkg and see whether the problem persists?

See here:
  https://lists.macports.org/pipermail/macports-dev/2018-September/039399.html
for more information.

Can you help with this problem?

Provide an answer of your own, or ask SUBHASISH BEHERA for more information if necessary.

To post a message you must log in.