I am on OSX 10.13.6
I had problems with root binaries, so I am trying to install
root from source.
I unzipped the source tar-ball into directory
/usr/local/root
Then from directory
/usr/local/root_v16.14_02
I entered commands
sudo cmake …/root
sudo cmake --build .
After compiling a long list of files, I got the following error message
[ 91%] Built target G__PyROOT
[ 91%] Generating G__RMySQL.cxx, …/…/lib/libRMySQL_rdict.pcm, …/…/lib/libRMySQL.rootmap
In file included from input_line_12:9:
/usr/local/root_v6.14_02/include/TMySQLStatement.h:35:7: error: unknown type name 'my_bool’
my_bool fResNull; //! indicates if argument is null
^
Error: /usr/local/root_v6.14_02/bin/rootcling: compilation failure (/usr/local/root_v6.14_02/lib/libRMySQL9ed90ba58e_dictUmbrella.h)
make[2]: *** [sql/mysql/G__RMySQL.cxx] Error 1
make[1]: *** [sql/mysql/CMakeFiles/G__RMySQL.dir/all] Error 2
make: *** [all] Error 2
Any suggestions?
other system info:
bash-3.2$ clang --version
Apple LLVM version 9.1.0 (clang-902.0.39.2)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
bash-3.2$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.1.0 (clang-902.0.39.2)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
ROOT Version: 6.14/02
Platform: OSX 10.13.6
Compiler: Not Provided