# O2 building fails on Mojave

**URL:** <https://alice-talk.web.cern.ch/t/o2-building-fails-on-mojave/467>\
**Category:** O²\
**Created:** [January 24, 2020, 10:38am UTC](https://alice-talk.web.cern.ch/t/o2-building-fails-on-mojave/467 "2020-01-24T10:38:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pisanos](https://alice-talk.web.cern.ch/letter_avatar_proxy/v4/letter/p/51bf81/32.png) [@pisanos](https://alice-talk.web.cern.ch/u/pisanos)\
**Post date:** [January 24, 2020, 10:38am UTC](https://alice-talk.web.cern.ch/t/o2-building-fails-on-mojave/467/1 "2020-01-24T10:38:44Z")

</div>

Dear all,

I am trying to compile O2 on MacOS Mojave, but when it gets to compile O2 compilation fails.  
I tried to do it both for o2 and o2-dataflow defaults, through the command

aliBuild build O2Suite --defaults o2

Log file is

[https://cernbox.cern.ch/index.php/s/RcgVFmpVhE8cmE1](https://cernbox.cern.ch/index.php/s/RcgVFmpVhE8cmE1)

and seems to complain about FAIRROOTPATH variable not being set. Before compilation I tried aliDoctor and the settings seem to be ok. Outfile with aliDoctor messages is

[https://cernbox.cern.ch/index.php/s/ItrMC5wtr0djIx6](https://cernbox.cern.ch/index.php/s/ItrMC5wtr0djIx6)

I am compiling not inside a container.

Any suggestion on how to fix the issue?

Thanks a lot in advance,

silvia

---

<div class="post-metadata">

**Author:** ![eulisse](https://alice-talk.web.cern.ch/user_avatar/alice-talk.web.cern.ch/eulisse/32/19_2.png) [@eulisse](https://alice-talk.web.cern.ch/u/eulisse)\
**Post date:** [January 24, 2020, 10:46am UTC](https://alice-talk.web.cern.ch/t/o2-building-fails-on-mojave/467/2 "2020-01-24T10:46:19Z")

</div>

Ciao,

I think you are missing aliBuild init O2
