I am installing a new version of ROOT 6.06 on my recently upgraded Mac Pro.
I downloaded Xcode and CMake.
Now when try to run . /bootstrap in the CMake 3.8.1 directory, I get the following errors. I am not an expert and somehow can not figure out what to do next!. So need help.
CMake 3.8.1, Copyright 2000-2017 Kitware, Inc. and Contributors
Found GNU toolchain
C compiler on this system is: gcc
C++ compiler on this system is: g++
Makefile processor on this system is: make
g++ is GNU compiler
g++ has setenv
g++ has unsetenv
g++ does not have environ in stdlib.h
g++ has stl wstring
g++ does not have <ext/stdio_filebuf.h>
make: `cmake’ is up to date.
loading initial cache file /Users/manjit/cmake-3.8.1/Bootstrap.cmk/InitialCacheFlags.cmake
– The C compiler identification is unknown
– The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:11 (project):
The CMAKE_C_COMPILER:
Error: /usr/bin/xcode-select returned unexpected error.
is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable “CC” or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
CMake Error at CMakeLists.txt:11 (project):
The CMAKE_CXX_COMPILER:
Error: /usr/bin/xcode-select returned unexpected error.
is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable “CXX” or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.