Hi everybody.
I’m trying to install Root 6.08/06 on Mac OS Sierra.
When I do install Root 6 following the instructions, I got error messages.
I’m using with OS: MAC Sierra 10.12.5
Xcode: 8.3.3
I’ve installed: xcode-select --install using homebrew
I’m configuring root with the following command:
After ‘make’ command was completely done, I did make install and then I got error messages.
cmake ../ -Dgminimal=ON -Dasimage=ON -Dmathmore=On -Dminuit2=ON -Dxml=ON -DCMAKE_INSTALL_PREFIX=../root_exec
make
make install
Error messages I’ve got.
– Installing: /usr/local/Cellar/root/root_exec/include/TGeoPainter.h
– Installing: /usr/local/Cellar/root/root_exec/include/TGeoTrack.h
– Installing: /usr/local/Cellar/root/root_exec/bin/root
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: for: /usr/local/Cellar/root/root_exec/bin/root (for architecture x86_64) option “-add_rpath @loader_path/…/lib” would duplicate path, file already has LC_RPATH for: @loader_path/…/lib
– Installing: /usr/local/Cellar/root/root_exec/bin/rootn.exe
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: for: /usr/local/Cellar/root/root_exec/bin/rootn.exe (for architecture x86_64) option “-add_rpath @loader_path/…/lib” would duplicate path, file already has LC_RPATH for: @loader_path/…/lib
– Installing: /usr/local/Cellar/root/root_exec/bin/roots.exe
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: for: /usr/local/Cellar/root/root_exec/bin/roots.exe (for architecture x86_64) option “-add_rpath @loader_path/…/lib” would duplicate path, file already has LC_RPATH for: @loader_path/…/lib
– Installing: /usr/local/Cellar/root/root_exec/bin/ssh2rpd
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: for: /usr/local/Cellar/root/root_exec/bin/ssh2rpd (for architecture x86_64) option “-add_rpath @loader_path/…/lib” would duplicate path, file already has LC_RPATH for: @loader_path/…/lib
– Installing: /usr/local/Cellar/root/root_exec/bin/xpdtest
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: for: /usr/local/Cellar/root/root_exec/bin/xpdtest (for architecture x86_64) option “-add_rpath @loader_path/…/lib” would duplicate path, file already has LC_RPATH for: @loader_path/…/lib
– Installing: /usr/local/Cellar/root/root_exec/bin/root.exe
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: for: /usr/local/Cellar/root/root_exec/bin/root.exe (for architecture x86_64) option “-add_rpath @loader_path/…/lib” would duplicate path, file already has LC_RPATH for: @loader_path/…/lib
– Installing: /usr/local/Cellar/root/root_exec/bin/proofserv.exe
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: for: /usr/local/Cellar/root/root_exec/bin/proofserv.exe (for architecture x86_64) option “-add_rpath @loader_path/…/lib” would duplicate path, file already has LC_RPATH for: @loader_path/…/lib
– Installing: /usr/local/Cellar/root/root_exec/bin/hadd
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: for: /usr/local/Cellar/root/root_exec/bin/hadd (for architecture x86_64) option “-add_rpath @loader_path/…/lib” would duplicate path, file already has LC_RPATH for: @loader_path/…/lib
– Installing: /usr/local/Cellar/root/root_exec/bin/rootnb.exe
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: for: /usr/local/Cellar/root/root_exec/bin/rootnb.exe (for architecture x86_64) option “-add_rpath @loader_path/…/lib” would duplicate path, file already has LC_RPATH for: @loader_path/…/lib
Does someone know how to solve this?
Thanks.