ROOT v6.36.00 won't compile on MacBookPro


_ROOT Version: 6.36.00
_Platform: MacOS Sequoia 15.5 on Intel MacBook Pro 16-inch 2019
_Compiler: Apple Clang 17.0.0 and cmake 4.0.3


I made sure that I had XCode tools, cmake, and also the python dependencies installed.

cmake worked just fine, but when I compile with make, I keep getting the same error to do with zstd.h not being found.

The strange thing for me is that I just installed root_v6.36.00 on my iMac desktop and had no issues. That said, the iMac is much newer and so is not identical to the older MacBook.

Any help would be much appreciated. Thanks.

Hi,

Thanks for the post and sorry to see this issue.
Have you tried to install zlib on your system via brew or via ROOT with the builtin_zlib configuration option?

Best,
D

Hi Danillo,

Unfortunately that didn’t work. I installed zlib with brew and then also set some compiler flags on brew’s suggestion:

export LDFLAGS=“-L/usr/local/opt/zlib/lib”
export CPPFLAGS=“-I/usr/local/opt/zlib/include”

But it still crapped out at the same place, compiling Compression.cpp. :frowning:

Thanks very much for the suggestion, though.

Dave