# Compilation problem with: OS Sierra, Xcode 8, ROOT 6.06.08

**URL:** <https://root-forum.cern.ch/t/compilation-problem-with-os-sierra-xcode-8-root-6-06-08/22102>\
**Category:** ROOT\
**Created:** [October 25, 2016, 10:50am UTC](https://root-forum.cern.ch/t/compilation-problem-with-os-sierra-xcode-8-root-6-06-08/22102 "2016-10-25T10:50:43Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![mato](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/mato/32/12317_2.png) [@mato](https://root-forum.cern.ch/u/mato)\
**Post date:** [October 25, 2016, 2:50pm UTC](https://root-forum.cern.ch/t/compilation-problem-with-os-sierra-xcode-8-root-6-06-08/22102/6 "2016-10-25T14:50:04Z")

</div>

Hi Luca,

I see that you have software installed in /opt/local probably installed by MacPorts. So, I would recommend to avoid looking for software in this area by adding the option -Dmacos\_native=ON. This should work for the 6.08 candidate release and master.

Pere

---

_[View the full topic](https://root-forum.cern.ch/t/compilation-problem-with-os-sierra-xcode-8-root-6-06-08/22102)._
