-
Notifications
You must be signed in to change notification settings - Fork 54
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
Installation Issue with TLevelScheme #1362
Comments
Hmm, I just tried compiling that same version on my MacBook with M1 chip and Ventura 13.4.1, and it works. |
Thank you for the answer. I removed lines Something changed, but still, I'm unable to compile:
|
Okay, so that looks like you have an old compiler installed? Or an old compiler compiled the root version you have installed. It fails now, because the compiler either can't use c++17 code, or it hasn't been enable via the Can you check what you get when you say |
Hi, indeed there was a problem with the compiler! I built again root asking explicitly for c++17 (option Now, however, I got a different error:
|
I attach also the output with option VERBOSE 1 activated:
|
Okay, my output with VERBOSE turned on is something like this around the point where your compilation fails
So the What do you get when you call One interesting thing I notice between the two different compiler outputs is that the warning about the unsupported compiler comes at different points. I think this is due to make automatically using more than one thread, so the warnings and the last compiler command might not always be correlated. What do you get if you do For me the relevant part looks like this
|
My Here is the output after cleaning:
|
Okay, that is a bit unusual location for the header file I think, with macports the files are usual all somewhere in /opt/local/. Can you try and add /usr/local/include to the CFLAGS on line 37 of the makefile (after /opt/local/include)? |
Update The missing library issue observed for json in the last post continued. I solved that one by recompiling root with the builton json option but then I got the same issue for vdt and X11. I had these two installed, so I modified the grsisort makefile to include the paths of these two. Specifically, I added Now the compilation works without errors but when is finished, if I try to type grsisort I get the following error:
|
Sorry, we posted at the same time :) It's what I did but I had to do it both at line 37 and line 216. Then I was getting the same error but for X11, so I added also |
Okay, what output do you get from running This is my output:
|
I have a few differences. First, I don't have libTGRSIRootIO.so. Then, I always have Here is the full output:
|
FYI, the full output of the make command:
|
Interesting. I tried and made a new copy of GRSISort on my mac and compiled it. This worked fine, but now I get the same error you were getting when I try to run grsisort:
The output of otool doesn't list libTGRSIRootIO.so anymore either. The version numbers are still different, but that might be due to the different ways we installed ROOT (as this only happens for ROOT libraries). I will look into this, I'll let you know if I find the difference between the two installations on my mac that makes one work and not the other. |
Thank you! Just to let you know, I built root from source with this configuration |
This should be fixed by the latest PR #1363. After updating my new installation of grsisort to this, it compiled and runs now w/o errors on my mac. |
Hi Vinzenz, working perfectly on mine, too! Thank you very much, I closed the issue. |
HOSTNAME = 192.168.1.62
SYSTEM = Darwin
OS = Darwin
VER = 22.6.0
GRSISYS = /Users/marcorocchini/Work/software/GRSISort
ROOTSYS = /usr/local
ROOT Version = 6.28/04
Computer and Path to File that failed:
GRSISort Branch = main
commit 9c97bab (HEAD -> main, origin/main, origin/HEAD)
Merge: 3a8b91a 3dc3c6c
Author: Vinzenz Bildstein vbildste@uoguelph.ca
Date: Mon Jul 10 14:31:00 2023 -0400
Issue
I am unable to compile the last version of GRSISort. I have a Mac (M1) with Ventura 13.5.1 and root v.6.28/04 (both should be the last stable versions). I downloaded the last version of GRSISort, sourced thisgrsisort.sh and gave make. I attached the output at the end of the post. I checked the required root features and I think I'm ok:
cxx14 asimage builtin_afterimage builtin_clang builtin_cling builtin_freetype builtin_glew builtin_gtest builtin_llvm builtin_openui5 clad cocoa dataframe exceptions fftw3 fitsio gdml gnuinstall http imt libcxx mathmore mlp minuit2 opengl pyroot roofit rpath runtime_cxxmodules shared sqlite ssl tmva tmva-cpu spectrum vdt xml xrootd
The text was updated successfully, but these errors were encountered: