Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROOT compiling on macOS 13.6.3 #86

Open
pbloser opened this issue Dec 21, 2023 · 2 comments
Open

ROOT compiling on macOS 13.6.3 #86

pbloser opened this issue Dec 21, 2023 · 2 comments

Comments

@pbloser
Copy link

pbloser commented Dec 21, 2023

Hi Andreas, me again...

I'm trying to install MEGAlib on a iMac Pro (our linux cluster here in my division is not well-suited to MEGAlib any more it seems, unlike 2.5 year ago, but I need some computing power to do activation sims). I've been following the instructions on your website: I believe I have Xcode, XQuartz, and cmake all installed correctly, command line tools etc., and took all MacPorts and conda-related lines out of my .bash_profile.

So I did

:MEGAlib pbloser$ bash setup.sh --branch=main

But the ROOT installation crashed. I'm attaching the RootBuildLog.txt file. The relevant part seems to be

make[1]: /Applications/Xcode.app/Contents/Developer/usr/bin/make: Permission denied
make[1]: /Applications/Xcode.app/Contents/Developer/usr/bin/make: Permission denied
make[1]: *** [core/clib/CMakeFiles/move_header_core_clib.dir/all] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/FREETYPE.dir/all] Error 1
make[1]: /Applications/Xcode.app/Contents/Developer/usr/bin/make: Permission denied
make[1]: /Applications/Xcode.app/Contents/Developer/usr/bin/make: Permission denied
make[1]: *** [CMakeFiles/TBB.dir/all] Error 1
make[1]: *** [CMakeFiles/googletest.dir/all] Error 1

I don't get this. That make executable seems to be set up for all to execute:

:MEGAlib pbloser$ ll /Applications/Xcode.app/Contents/Developer/usr/bin/make
-rwxr-xr-x 2 root wheel 436016 Nov 17 01:07 /Applications/Xcode.app/Contents/Developer/usr/bin/make*

I can't find anything relevant by googling. I saw you once recommended someone install ROOT separately using MacPorts and then point the build script to it, so I will try that in the morning (v6.28.10? That's what the script downloaded) if you don't have a better idea...

RootBuildLog.txt

@zoglauer
Copy link
Owner

Hi Peter,

Since you get a permission denied on make, you will not be able to compile anything.
Something screwed up your Xcode permissions.
I would just delete Xcode and reinstall it, since you don't know what else is broken.

@pbloser
Copy link
Author

pbloser commented Dec 21, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants