Hello,
I do not manage to run root on my laptop (mac book pro). I thought it was because I updated XCode after having installed root, so I tried to download and install a newer version of root, but it is still not working.
Here are some details:
- operating system: Yosemite 10.10.5
- XCode 7.1
- root 6.04.06
I tried to compile some trivial macro and I found some strange error. I tried to run the benchmark macro provided within root and I found the same errors (and consiquent segmentation violation):
Info in <TMacOSXSystem::ACLiC>: creating shared library /var/folders/c3/k6p3d1p52d58p4n5sph7vr7h0000gn/T/losterzo//Applications/root_v6.04.06/tutorials/geom/na49_C.so
In file included from input_line_1:1:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/new:67:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config:23:
/Applications/root_v6.04.06/etc/cling/lib/clang/3.7.0/include/unistd.h:8:15: fatal error: 'unistd.h' file not found
#include_next <unistd.h>
^
In file included from input_line_3:2:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:434:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config:23:
/Applications/root_v6.04.06/etc/cling/lib/clang/3.7.0/include/unistd.h:8:15: fatal error: 'unistd.h' file not found
#include_next <unistd.h>
^
*** Break *** segmentation violation
Generating stack trace...
[ stack trace follows ]
Is there a fix for this? I found some similar problems on the forum and as far as I understand it was solved downgrading either root or XCode (i.e. not really solved). Is it the only thing to do?
Cheers,
Francesco