Dear all,
I’m trying to install root version v6-06-04 in my mac where I have just installed the operating system El Capitan (10.11.5) and the Xcode Version 7.3.1 (7D1014), but, after the installation finishes correctly, when I lunch root I get the errors:
[code]ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!
Invoking:
echo | LC_ALL=C clang++ -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -std=c++11 -Wno-deprecated-declarations -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -stdlib=libc++ -DR__HAVE_CONFIG -Wno-comment -Wno-unused-parameter -Wno-conditional-uninitialized -Wno-parentheses-equality -Wno-unused-private-field -fPIC -fvisibility-inlines-hidden -std=c++11 -fno-common -Woverloaded-virtual -Wcast-qual -fno-strict-aliasing -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-unused-local-typedefs -O2 -DNDEBUG -xc++ -E -v - 2>&1 >/dev/null | awk ‘/^#include </,/^End of search/{if (!/^#include </ && !/^End of search/){ print }}’ | grep -E "(c|g)++"
results in
with exit code 256
input_line_1:1:10: fatal error: ‘new’ file not found
#include
^
input_line_3:38:10: fatal error: ‘string’ file not found
#include
^
| Welcome to ROOT 6.06/04 http://root.cern.ch |
| © 1995-2016, The ROOT Team |
| Built for macosx64 |
| From tag v6-06-04, 3 May 2016 |
Try ‘.help’, ‘.demo’, ‘.license’, ‘.credits’, ‘.quit’/’.q’ |
---|
input_line_8:1:10: fatal error: ‘iostream’ file not found
#include
^
root [0]
[/code]
I’ve tried to install root from the pre-complied version, from the source, with brew but nothing seems to solve the problem…
I think that Xcode should be installed correctly and if I digit
I get
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
The error I get seems similar to the one described in [url]Problem with root6: “include <new>” etc but I’ve no idea on how to solve it…
Thank you for your help,
Agata.