Unable to install Delphes via MG5 v2.6.0 on Sierra 10.12.6

Asked by Kareem Farrag

Hi there, I am trying to install Delphes via MG5, but every time I run the command the following message appears:

compile Delphes. This might take a while.
>> Generating tmp/classes/ClassesDict.cc
>> Compiling tmp/classes/ClassesDict.cc
In file included from tmp/classes/ClassesDict.cc:30:
In file included from ./classes/DelphesModule.h:30:
In file included from external/ExRootAnalysis/ExRootTask.h:12:
In file included from /usr/local/Cellar/root/6.10.04/include/root/TTask.h:24:
In file included from /usr/local/Cellar/root/6.10.04/include/root/TNamed.h:26:
In file included from /usr/local/Cellar/root/6.10.04/include/root/TString.h:28:
/usr/local/Cellar/root/6.10.04/include/root/RStringView.h:35:12: error: unknown
      type name 'basic_string_view'
   typedef basic_string_view<char> string_view;
           ^
/usr/local/Cellar/root/6.10.04/include/root/RStringView.h:35:29: error:
      expected unqualified-id
   typedef basic_string_view<char> string_view;
                            ^
/usr/local/Cellar/root/6.10.04/include/root/RStringView.h:36:12: error: unknown
      type name 'basic_string_view'
   typedef basic_string_view<char16_t> u16string_view;
           ^
/usr/local/Cellar/root/6.10.04/include/root/RStringView.h:36:29: error:
      expected unqualified-id
   typedef basic_string_view<char16_t> u16string_view;
                            ^
/usr/local/Cellar/root/6.10.04/include/root/RStringView.h:37:12: error: unknown
      type name 'basic_string_view'
   typedef basic_string_view<char32_t> u32string_view;
           ^
/usr/local/Cellar/root/6.10.04/include/root/RStringView.h:37:29: error:
      expected unqualified-id
   typedef basic_string_view<char32_t> u32string_view;
                            ^
/usr/local/Cellar/root/6.10.04/include/root/RStringView.h:38:12: error: unknown
      type name 'basic_string_view'
   typedef basic_string_view<wchar_t> wstring_view;
           ^
/usr/local/Cellar/root/6.10.04/include/root/RStringView.h:38:29: error:
      expected unqualified-id
   typedef basic_string_view<wchar_t> wstring_view;
                            ^
8 errors generated.
make: *** [tmp/classes/ClassesDict.o] Error 1
Error detected during the compilation. Please check the compilation error and run make manually.

I currently have root6 and am using homebrew to install, but to no success. Any help is greatly appreciated!

Question information

Language:
English Edit question
Status:
Expired
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#2

Hi,

Did you update xcode recently?
Looks like root is not compatible with the latest version of xcode.
You have to wait that root released a new version fixing that bug. Or you can try to downgrade xcode.

Cheers,

Olivier

> On 21 Sep 2017, at 23:22, Kareem Farrag <email address hidden> wrote:
>
> New question #658486 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/658486
>
> Hi there, I am trying to install Delphes via MG5, but every time I run the command the following message appears:
>
> compile Delphes. This might take a while.
>>> Generating tmp/classes/ClassesDict.cc
>>> Compiling tmp/classes/ClassesDict.cc
> In file included from tmp/classes/ClassesDict.cc:30:
> In file included from ./classes/DelphesModule.h:30:
> In file included from external/ExRootAnalysis/ExRootTask.h:12:
> In file included from /usr/local/Cellar/root/6.10.04/include/root/TTask.h:24:
> In file included from /usr/local/Cellar/root/6.10.04/include/root/TNamed.h:26:
> In file included from /usr/local/Cellar/root/6.10.04/include/root/TString.h:28:
> /usr/local/Cellar/root/6.10.04/include/root/RStringView.h:35:12: error: unknown
> type name 'basic_string_view'
> typedef basic_string_view<char> string_view;
> ^
> /usr/local/Cellar/root/6.10.04/include/root/RStringView.h:35:29: error:
> expected unqualified-id
> typedef basic_string_view<char> string_view;
> ^
> /usr/local/Cellar/root/6.10.04/include/root/RStringView.h:36:12: error: unknown
> type name 'basic_string_view'
> typedef basic_string_view<char16_t> u16string_view;
> ^
> /usr/local/Cellar/root/6.10.04/include/root/RStringView.h:36:29: error:
> expected unqualified-id
> typedef basic_string_view<char16_t> u16string_view;
> ^
> /usr/local/Cellar/root/6.10.04/include/root/RStringView.h:37:12: error: unknown
> type name 'basic_string_view'
> typedef basic_string_view<char32_t> u32string_view;
> ^
> /usr/local/Cellar/root/6.10.04/include/root/RStringView.h:37:29: error:
> expected unqualified-id
> typedef basic_string_view<char32_t> u32string_view;
> ^
> /usr/local/Cellar/root/6.10.04/include/root/RStringView.h:38:12: error: unknown
> type name 'basic_string_view'
> typedef basic_string_view<wchar_t> wstring_view;
> ^
> /usr/local/Cellar/root/6.10.04/include/root/RStringView.h:38:29: error:
> expected unqualified-id
> typedef basic_string_view<wchar_t> wstring_view;
> ^
> 8 errors generated.
> make: *** [tmp/classes/ClassesDict.o] Error 1
> Error detected during the compilation. Please check the compilation error and run make manually.
>
>
> I currently have root6 and am using homebrew to install, but to no success. Any help is greatly appreciated!
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.