Error when installing the basic env. under Mac OS X El Capitan


I just updated my mac (version 10.11 and Xcode 7.2.1) and I am trying to install the stack.
I have an error when it installs the basic environment
Installing Miniconda2 Python Distribution …
[ 1/1 ] miniconda2 3.19.0.lsst4 done.
Installing the basic environment …
[ 1/5 ] doxygen 1.8.5.lsst1 …
# include <AvailabilityMacros.h>
1 error generated.
make[2]: *** […/objects/qcollection.o] Error 1
make[2]: *** Waiting for unfinished jobs…

Do you know what could be the problem ?
By advance thank you.

Is there a log file you can post? Perhaps in $EUPS_PATH/EupsBuildDir/DarwinX86/doxygen-1.8.5.lsst1/build.log?

Could be trying to compile with g++? That will fail to build Doxygen on a Mac. See DM-3405.
and I think Doxygen is correctly compiled (it seems that AvailabilityMacros.h is not used for Doxygen)

That looks like you don’t have XCode properly installed. I think you need to run

xcode-select --install

at a terminal prompt.

1 Like

Oups :confused: you’re absolutely right.
xcode-select --install fixed my problem
Thanks a lot