# Errors Installing ROOT with TMVA SOFIE on Mac OS

**URL:** <https://root-forum.cern.ch/t/errors-installing-root-with-tmva-sofie-on-mac-os/48783>\
**Category:** Newbie\
**Tags:** root\
**Created:** [February 13, 2022, 7:48pm UTC](https://root-forum.cern.ch/t/errors-installing-root-with-tmva-sofie-on-mac-os/48783 "2022-02-13T19:48:57Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![dilne](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/dilne/32/28766_2.png) [@dilne](https://root-forum.cern.ch/u/dilne)\
**Post date:** [February 14, 2022, 7:34pm UTC](https://root-forum.cern.ch/t/errors-installing-root-with-tmva-sofie-on-mac-os/48783/3 "2022-02-14T19:34:44Z")

</div>

Using `-Dbuiltin_openssl=On` brought up the same error, but `-Dxrootd=Off` fixed the error. During the build I did get an error with clad, but retrying with `-Dclad=OFF` fixed this error and I think I am ready to use SOFIE!

Many thanks for your help Lorenzo!

To summarise my SOFIE installation process for anyone else struggling:

```auto
brew update
brew upgrade
brew install protobuf
brew upgrade protobuf
protoc --version # my version was libprotoc 3.19.4

git clone https://github.com/root-project/root.git root_src
mkdir root_build root_install && cd root_build
cmake -Dtmva-sofie=ON -Dxrootd=Off -Dclad=OFF -DCMAKE_INSTALL_PREFIX=../root_install ../root_src
cmake --build . -- install -j3 # I'm using a dual-core device, so using j3. Use >=j4 for quad-core or greater
source ../root_install/bin/thisroot.sh
root

```

---

_[View the full topic](https://root-forum.cern.ch/t/errors-installing-root-with-tmva-sofie-on-mac-os/48783)._
