Closed guiriec closed 7 years ago
Hi Sylvain,
Is make: *\ [all] Error 2 the only compile error message which shows up in the log output? Is there any error before that?
Thanks, Andreas
Dear Andreas,
Sorry, I missed your email. Thank you so much for the answer. Yes, this is the only error message that shows up in the log output. Do you have any idea about how to solve that?
Thank you so much,
Sylvain
2016-06-30 16:44 GMT-04:00 zoglauer notifications@github.com:
Hi Sylvain,
Is make: *\ [all] Error 2 The only error message which shows up in the log output?
Thanks, Andreas
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zoglauer/megalib/issues/14#issuecomment-229783241, or mute the thread https://github.com/notifications/unsubscribe/AEdzKLRyxlBHHSmzAwQwHMCSwJRULfI6ks5qRCqrgaJpZM4JCj96 .
Sylvain Guiriec
NASA Goddard Space Flight Center (GSFC) Mail Code 661, Bldg-34/Rm-E205 Greenbelt, MD, 20771 USA Tel. (301) 286-0643 Fax (301) 286-0677 Emails: sylvain.guiriec@nasa.gov sylvain.guiriec@gmail.com
Dear Sylvain,
This is a problem compiling ROOT, not MEGAlib itself. I tried to look at the ROOT website (http://root.cern.ch), but I can not find anything related to it.
Could you tell me which version of ROOT the script is trying to compile? You can find this info in $MEGALIB/config/AllowedROOTVersions.txt
Which operating system & version are you using?
Thanks, Andreas
The ROOT version indicated in this file is 534.
I am using MAC OS El Capitan 10.11.5.
Thank you,
Sylvain
2016-07-14 14:18 GMT-04:00 zoglauer notifications@github.com:
Dear Sylvain,
This is a problem compiling ROOT, not MEGAlib itself. I tried to look at the ROOT website (http://root.cern.ch), but I can not find anything related to it.
Could you tell me which version of ROOT the script is trying to compile? You can find this info in $MEGALIB/config/AllowedROOTVersions.txt
Which operating system & version are you using?
Thanks, Andreas
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zoglauer/megalib/issues/14#issuecomment-232748450, or mute the thread https://github.com/notifications/unsubscribe/AEdzKBo0jUpFxPcp6ioo-Bd9xjxpuuxRks5qVn2EgaJpZM4JCj96 .
Sylvain Guiriec
NASA Goddard Space Flight Center (GSFC) Mail Code 661, Bldg-34/Rm-E205 Greenbelt, MD, 20771 USA Tel. (301) 286-0643 Fax (301) 286-0677 Emails: sylvain.guiriec@nasa.gov sylvain.guiriec@gmail.com
I can compile it on my Mac El Capitan...
Do you use MacPorts, homebrew, or something similar? If yes, could you try to comment it temporarily out in your .bashrc or .bash_profile file, open a new bash shell and try to run the setup script again?
If this is not the case, could you try to modify the file $MEGALIB/config/AllowedROOTVersions.txt and replace 534 with 606? This will compile the latest version of ROOT.
Good Luck! Andreas
People here seems to have been successful in installing the development version. I am giving it a try.
Thank you,
Sylvain
2016-07-14 14:41 GMT-04:00 zoglauer notifications@github.com:
I can compile it on my Mac El Capitan...
Do you use MacPorts, homebrew, or something similar? If yes, could you try to comment it temporarily out in your .bashrc or .bash_profile file, open a new bash shell and try to run the setup script again?
If this is not the case, could you try to modify the file $MEGALIB/config/AllowedROOTVersions.txt and replace 534 with 606? This will compile the latest version of ROOT.
Good Luck! Andreas
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zoglauer/megalib/issues/14#issuecomment-232754837, or mute the thread https://github.com/notifications/unsubscribe/AEdzKD11sYcAD1vhabpGcx7PE7zZF6LKks5qVoLKgaJpZM4JCj96 .
Sylvain Guiriec
NASA Goddard Space Flight Center (GSFC) Mail Code 661, Bldg-34/Rm-E205 Greenbelt, MD, 20771 USA Tel. (301) 286-0643 Fax (301) 286-0677 Emails: sylvain.guiriec@nasa.gov sylvain.guiriec@gmail.com
We tried to use the dev version of MEGALib, which uses Root 606, but we experiment the same crash. We are at least two people to have the same problem. One is using El Capitan 10.11.4, and I am using El Capitan 10.11.5. Other people who used El Capitan 10.11.5 had no issue at all. We are still trying to identify the problem, but it is not that easy because not much information concerning the ROOT compilation error.
If you have any thoughts, there are very welcome ;)
Thank you for your help!
Sylvain
2016-07-14 14:51 GMT-04:00 Sylvain Guiriec sylvain.guiriec@gmail.com:
People here seems to have been successful in installing the development version. I am giving it a try.
Thank you,
Sylvain
2016-07-14 14:41 GMT-04:00 zoglauer notifications@github.com:
I can compile it on my Mac El Capitan...
Do you use MacPorts, homebrew, or something similar? If yes, could you try to comment it temporarily out in your .bashrc or .bash_profile file, open a new bash shell and try to run the setup script again?
If this is not the case, could you try to modify the file $MEGALIB/config/AllowedROOTVersions.txt and replace 534 with 606? This will compile the latest version of ROOT.
Good Luck! Andreas
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zoglauer/megalib/issues/14#issuecomment-232754837, or mute the thread https://github.com/notifications/unsubscribe/AEdzKD11sYcAD1vhabpGcx7PE7zZF6LKks5qVoLKgaJpZM4JCj96 .
Sylvain Guiriec
NASA Goddard Space Flight Center (GSFC) Mail Code 661, Bldg-34/Rm-E205 Greenbelt, MD, 20771 USA Tel. (301) 286-0643 Fax (301) 286-0677 Emails: sylvain.guiriec@nasa.gov sylvain.guiriec@gmail.com
Sylvain Guiriec
NASA Goddard Space Flight Center (GSFC) Mail Code 661, Bldg-34/Rm-E205 Greenbelt, MD, 20771 USA Tel. (301) 286-0643 Fax (301) 286-0677 Emails: sylvain.guiriec@nasa.gov sylvain.guiriec@gmail.com
Dear Andrea,
I just found that there is a log for the ROOT compilation errors in MEGALib.
Here is the content of this file:
" Determining if the include file link.h exists failed with the following output: Change Dir: /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_b082c/fast" /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_b082c.dir/build.make CMakeFiles/cmTC_b082c.dir/build Building C object CMakeFiles/cmTC_b082c.dir/CheckIncludeFile.c.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -Wno-comment -Wno-unused-parameter -Wno-conditional-uninitialized -Wno-parentheses-equality -Wno-unused-private-field -o CMakeFiles/cmTC_b082c.dir/CheckIncludeFile.c.o -c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: 'link.h' file not found
^
1 error generated. make[1]: * [CMakeFiles/cmTC_b082c.dir/CheckIncludeFile.c.o] Error 1 make: * [cmTC_b082c/fast] Error 2
Determining if the include file malloc.h exists failed with the following output: Change Dir: /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_90fc4/fast" /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_90fc4.dir/build.make CMakeFiles/cmTC_90fc4.dir/build Building C object CMakeFiles/cmTC_90fc4.dir/CheckIncludeFile.c.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -Wno-comment -Wno-unused-parameter -Wno-conditional-uninitialized -Wno-parentheses-equality -Wno-unused-private-field -o CMakeFiles/cmTC_90fc4.dir/CheckIncludeFile.c.o -c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: 'malloc.h' file not found
^
1 error generated. make[1]: * [CMakeFiles/cmTC_90fc4.dir/CheckIncludeFile.c.o] Error 1 make: * [cmTC_90fc4/fast] Error 2
Determining if the include file ndir.h exists failed with the following output: Change Dir: /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_f6e88/fast" /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_f6e88.dir/build.make CMakeFiles/cmTC_f6e88.dir/build Building C object CMakeFiles/cmTC_f6e88.dir/CheckIncludeFile.c.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -Wno-comment -Wno-unused-parameter -Wno-conditional-uninitialized -Wno-parentheses-equality -Wno-unused-private-field -o CMakeFiles/cmTC_f6e88.dir/CheckIncludeFile.c.o -c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: 'ndir.h' file not found
^
1 error generated. make[1]: * [CMakeFiles/cmTC_f6e88.dir/CheckIncludeFile.c.o] Error 1 make: * [cmTC_f6e88/fast] Error 2
Determining if the include file sys/ndir.h exists failed with the following output: Change Dir: /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_5e5f7/fast" /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_5e5f7.dir/build.make CMakeFiles/cmTC_5e5f7.dir/build Building C object CMakeFiles/cmTC_5e5f7.dir/CheckIncludeFile.c.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -Wno-comment -Wno-unused-parameter -Wno-conditional-uninitialized -Wno-parentheses-equality -Wno-unused-private-field -o CMakeFiles/cmTC_5e5f7.dir/CheckIncludeFile.c.o -c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: 'sys/ndir.h' file not found
^
1 error generated. make[1]: * [CMakeFiles/cmTC_5e5f7.dir/CheckIncludeFile.c.o] Error 1 make: * [cmTC_5e5f7/fast] Error 2
Determining if the include file valgrind/valgrind.h exists failed with the following output: Change Dir: /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_fa23e/fast" /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_fa23e.dir/build.make CMakeFiles/cmTC_fa23e.dir/build Building C object CMakeFiles/cmTC_fa23e.dir/CheckIncludeFile.c.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -Wno-comment -Wno-unused-parameter -Wno-conditional-uninitialized -Wno-parentheses-equality -Wno-unused-private-field -o CMakeFiles/cmTC_fa23e.dir/CheckIncludeFile.c.o -c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: 'valgrind/valgrind.h' file not found
^
1 error generated. make[1]: * [CMakeFiles/cmTC_fa23e.dir/CheckIncludeFile.c.o] Error 1 make: * [cmTC_fa23e/fast] Error 2
Determining if the function clock_gettime exists in the rt failed with the following output: Change Dir: /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_cb68a/fast" /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_cb68a.dir/build.make CMakeFiles/cmTC_cb68a.dir/build Building C object CMakeFiles/cmTC_cb68a.dir/CheckFunctionExists.c.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -Wno-comment -Wno-unused-parameter -Wno-conditional-uninitialized -Wno-parentheses-equality -Wno-unused-private-field -DCHECK_FUNCTION_EXISTS=clock_gettime -o CMakeFiles/cmTC_cb68a.dir/CheckFunctionExists.c.o -c /opt/local/share/cmake-3.4/Modules/CheckFunctionExists.c Linking C executable cmTC_cb68a /opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cb68a.dir/link.txt --verbose=1 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -Wno-comment -Wno-unused-parameter -Wno-conditional-uninitialized -Wno-parentheses-equality -Wno-unused-private-field -DCHECK_FUNCTION_EXISTS=clock_gettime -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_cb68a.dir/CheckFunctionExists.c.o -o cmTC_cb68a -lrt -lm ld: library not found for -lrt clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: * [cmTC_cb68a] Error 1 make: * [cmTC_cb68a/fast] Error 2
Determining if the function setupterm exists in the tinfo failed with the following output: Change Dir: /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_40361/fast" /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_40361.dir/build.make CMakeFiles/cmTC_40361.dir/build Building C object CMakeFiles/cmTC_40361.dir/CheckFunctionExists.c.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -Wno-comment -Wno-unused-parameter -Wno-conditional-uninitialized -Wno-parentheses-equality -Wno-unused-private-field -DCHECK_FUNCTION_EXISTS=setupterm -o CMakeFiles/cmTC_40361.dir/CheckFunctionExists.c.o -c /opt/local/share/cmake-3.4/Modules/CheckFunctionExists.c Linking C executable cmTC_40361 /opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_40361.dir/link.txt --verbose=1 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -Wno-comment -Wno-unused-parameter -Wno-conditional-uninitialized -Wno-parentheses-equality -Wno-unused-private-field -DCHECK_FUNCTION_EXISTS=setupterm -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_40361.dir/CheckFunctionExists.c.o -o cmTC_40361 -ltinfo -lm ld: library not found for -ltinfo clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: * [cmTC_40361] Error 1 make: * [cmTC_40361/fast] Error 2
Determining if the function setupterm exists in the terminfo failed with the following output: Change Dir: /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_9b645/fast" /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_9b645.dir/build.make CMakeFiles/cmTC_9b645.dir/build Building C object CMakeFiles/cmTC_9b645.dir/CheckFunctionExists.c.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -Wno-comment -Wno-unused-parameter -Wno-conditional-uninitialized -Wno-parentheses-equality -Wno-unused-private-field -DCHECK_FUNCTION_EXISTS=setupterm -o CMakeFiles/cmTC_9b645.dir/CheckFunctionExists.c.o -c /opt/local/share/cmake-3.4/Modules/CheckFunctionExists.c Linking C executable cmTC_9b645 /opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9b645.dir/link.txt --verbose=1 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -Wno-comment -Wno-unused-parameter -Wno-conditional-uninitialized -Wno-parentheses-equality -Wno-unused-private-field -DCHECK_FUNCTION_EXISTS=setupterm -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_9b645.dir/CheckFunctionExists.c.o -o cmTC_9b645 -lterminfo -lm ld: library not found for -lterminfo clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: * [cmTC_9b645] Error 1 make: * [cmTC_9b645/fast] Error 2
Determining if the isinf exist failed with the following output: Change Dir: /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_bb40b/fast" /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_bb40b.dir/build.make CMakeFiles/cmTC_bb40b.dir/build Building C object CMakeFiles/cmTC_bb40b.dir/CheckSymbolExists.c.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -Wno-comment -Wno-unused-parameter -Wno-conditional-uninitialized -Wno-parentheses-equality -Wno-unused-private-field -o CMakeFiles/cmTC_bb40b.dir/CheckSymbolExists.c.o -c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:2:10: fatal error: 'cmath' file not found
^
1 error generated. make[1]: * [CMakeFiles/cmTC_bb40b.dir/CheckSymbolExists.c.o] Error 1 make: * [cmTC_bb40b/fast] Error 2
File /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */
int main(int argc, char\ argv) { (void)argv;
return ((int*)(&isinf))[argc];
(void)argc; return 0;
}
Determining if the finite exist failed with the following output: Change Dir: /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_4b446/fast" /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_4b446.dir/build.make CMakeFiles/cmTC_4b446.dir/build Building C object CMakeFiles/cmTC_4b446.dir/CheckSymbolExists.c.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -Wno-comment -Wno-unused-parameter -Wno-conditional-uninitialized -Wno-parentheses-equality -Wno-unused-private-field -o CMakeFiles/cmTC_4b446.dir/CheckSymbolExists.c.o -c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:2:10: fatal error: 'ieeefp.h' file not found
^
1 error generated. make[1]: * [CMakeFiles/cmTC_4b446.dir/CheckSymbolExists.c.o] Error 1 make: * [cmTC_4b446/fast] Error 2
File /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */
int main(int argc, char\ argv) { (void)argv;
return ((int*)(&finite))[argc];
(void)argc; return 0;
}
Determining if the isnan exist failed with the following output: Change Dir: /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_4f651/fast" /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_4f651.dir/build.make CMakeFiles/cmTC_4f651.dir/build Building C object CMakeFiles/cmTC_4f651.dir/CheckSymbolExists.c.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -Wno-comment -Wno-unused-parameter -Wno-conditional-uninitialized -Wno-parentheses-equality -Wno-unused-private-field -o CMakeFiles/cmTC_4f651.dir/CheckSymbolExists.c.o -c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:2:10: fatal error: 'cmath' file not found
^
1 error generated. make[1]: * [CMakeFiles/cmTC_4f651.dir/CheckSymbolExists.c.o] Error 1 make: * [cmTC_4f651/fast] Error 2
File /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */
int main(int argc, char\ argv) { (void)argv;
return ((int*)(&isnan))[argc];
(void)argc; return 0;
}
Determining if the exp10 exist failed with the following output: Change Dir: /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_3ded1/fast" /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_3ded1.dir/build.make CMakeFiles/cmTC_3ded1.dir/build Building C object CMakeFiles/cmTC_3ded1.dir/CheckSymbolExists.c.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -Wno-comment -Wno-unused-parameter -Wno-conditional-uninitialized -Wno-parentheses-equality -Wno-unused-private-field -o CMakeFiles/cmTC_3ded1.dir/CheckSymbolExists.c.o -c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/rootv6.06.06-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: use of undeclared identifier 'exp10' return ((int)(&exp10))[argc]; ^ 1 error generated. make[1]: _\ [CMakeFiles/cmTC_3ded1.dir/CheckSymbolExists.c.o] Error 1 make: *\ [cmTC_3ded1/fast] Error 2
File /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */
int main(int argc, char\ argv) { (void)argv;
return ((int*)(&exp10))[argc];
(void)argc; return 0;
}
Determining if the futimens exist failed with the following output: Change Dir: /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_ac776/fast" /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_ac776.dir/build.make CMakeFiles/cmTC_ac776.dir/build Building C object CMakeFiles/cmTC_ac776.dir/CheckSymbolExists.c.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -Wno-comment -Wno-unused-parameter -Wno-conditional-uninitialized -Wno-parentheses-equality -Wno-unused-private-field -o CMakeFiles/cmTC_ac776.dir/CheckSymbolExists.c.o -c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/rootv6.06.06-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: use of undeclared identifier 'futimens' return ((int)(&futimens))[argc]; ^ 1 error generated. make[1]: _\ [CMakeFiles/cmTC_ac776.dir/CheckSymbolExists.c.o] Error 1 make: *\ [cmTC_ac776/fast] Error 2
File /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */
int main(int argc, char\ argv) { (void)argv;
return ((int*)(&futimens))[argc];
(void)argc; return 0;
}
Determining if the mallinfo exist failed with the following output: Change Dir: /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_2e5c4/fast" /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_2e5c4.dir/build.make CMakeFiles/cmTC_2e5c4.dir/build Building C object CMakeFiles/cmTC_2e5c4.dir/CheckSymbolExists.c.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -Wno-comment -Wno-unused-parameter -Wno-conditional-uninitialized -Wno-parentheses-equality -Wno-unused-private-field -o CMakeFiles/cmTC_2e5c4.dir/CheckSymbolExists.c.o -c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:2:10: fatal error: 'malloc.h' file not found
^
1 error generated. make[1]: * [CMakeFiles/cmTC_2e5c4.dir/CheckSymbolExists.c.o] Error 1 make: * [cmTC_2e5c4/fast] Error 2
File /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */
int main(int argc, char\ argv) { (void)argv;
return ((int*)(&mallinfo))[argc];
(void)argc; return 0;
}
Determining if the strerror_s exist failed with the following output: Change Dir: /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_1d2eb/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f
CMakeFiles/cmTC_1d2eb.dir/build.make CMakeFiles/cmTC_1d2eb.dir/build
Building C object CMakeFiles/cmTC_1d2eb.dir/CheckSymbolExists.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments
-pthread -Wno-comment -Wno-unused-parameter -Wno-conditional-uninitialized
-Wno-parentheses-equality -Wno-unused-private-field -o
CMakeFiles/cmTC_1d2eb.dir/CheckSymbolExists.c.o -c
/Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19:
error: use of undeclared identifier 'strerror_s'; did you mean 'strerrorr'?
return ((int)(&strerror_s))[argc];
^~~~~~
strerror_r
/usr/include/string.h:116:6: note: 'strerror_r' declared here
int strerror_r(int, char , size_t);
^
1 error generated.
make[1]: _* [CMakeFiles/cmTC_1d2eb.dir/CheckSymbolExists.c.o] Error 1
make: *\ [cmTC_1d2eb/fast] Error 2
File /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */
int main(int argc, char\ argv) { (void)argv;
return ((int*)(&strerror_s))[argc];
(void)argc; return 0;
}
Determining if the GLIBC exist failed with the following output: Change Dir: /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_83bb1/fast" /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_83bb1.dir/build.make CMakeFiles/cmTC_83bb1.dir/build Building C object CMakeFiles/cmTC_83bb1.dir/CheckSymbolExists.c.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -Wno-comment -Wno-unused-parameter -Wno-conditional-uninitialized -Wno-parentheses-equality -Wno-unused-private-field -o CMakeFiles/cmTC_83bb1.dir/CheckSymbolExists.c.o -c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/rootv6.06.06-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: use of undeclared identifier 'GLIBC' return ((int)(&GLIBC))[argc]; ^ 1 error generated. make[1]: _\ [CMakeFiles/cmTC_83bb1.dir/CheckSymbolExists.c.o] Error 1 make: *\ [cmTC_83bb1/fast] Error 2
File /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */
int main(int argc, char\ argv) { (void)argv;
return ((int*)(&GLIBC))[argc];
(void)argc; return 0;
}
Determining if the function __atomic_fetch_add_4 exists in the atomic failed with the following output: Change Dir: /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_7b7ea/fast" /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_7b7ea.dir/build.make CMakeFiles/cmTC_7b7ea.dir/build Building C object CMakeFiles/cmTC_7b7ea.dir/CheckFunctionExists.c.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -Wno-comment -Wno-unused-parameter -Wno-conditional-uninitialized -Wno-parentheses-equality -Wno-unused-private-field -DCHECK_FUNCTION_EXISTS=atomic_fetch_add_4 -o CMakeFiles/cmTC_7b7ea.dir/CheckFunctionExists.c.o -c /opt/local/share/cmake-3.4/Modules/CheckFunctionExists.c Linking C executable cmTC_7b7ea /opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7b7ea.dir/link.txt --verbose=1 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -Wno-comment -Wno-unused-parameter -Wno-conditional-uninitialized -Wno-parentheses-equality -Wno-unused-private-field -DCHECK_FUNCTION_EXISTS=atomic_fetch_add_4 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_7b7ea.dir/CheckFunctionExists.c.o -o cmTC_7b7ea -latomic -lm ld: library not found for -latomic clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: * [cmTC_7b7ea] Error 1 make: * [cmTC_7b7ea/fast] Error 2
Performing C++ SOURCE FILE Test found_stdstringview failed with the following output: Change Dir: /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_caef9/fast" /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_caef9.dir/build.make CMakeFiles/cmTC_caef9.dir/build Building CXX object CMakeFiles/cmTC_caef9.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -std=c++11 -Wno-deprecated-declarations -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -stdlib=libc++ -Dfound_stdstringview -o CMakeFiles/cmTC_caef9.dir/src.cxx.o -c /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/src.cxx /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/src.cxx:1:10: fatal error: 'string_view' file not found
^
1 error generated. make[1]: * [CMakeFiles/cmTC_caef9.dir/src.cxx.o] Error 1 make: * [cmTC_caef9/fast] Error 2
Source file was:
int main() { std::string_view().to_string(); return 0;} Performing C++ SOURCE FILE Test found_stod_stringview failed with the following output: Change Dir: /Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_d4e27/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f
CMakeFiles/cmTC_d4e27.dir/build.make CMakeFiles/cmTC_d4e27.dir/build
Building CXX object CMakeFiles/cmTC_d4e27.dir/src.cxx.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common
-Qunused-arguments -pthread -std=c++11 -Wno-deprecated-declarations
-Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized
-Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment
-Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion
-stdlib=libc++ -Dfound_stod_stringview -o
CMakeFiles/cmTC_d4e27.dir/src.cxx.o -c
/Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/src.cxx
/Users/sgguirie/FGST/AnalysisTools/ComPair/Simulation-Tools/MEGAlib/external/root_v6.06.06/root_v6.06.06-build/CMakeFiles/CMakeTmp/src.cxx:2:67:
error: no matching function for call to 'stod'
int main() { size_t pos; std::experimental::string_view str;
std::stod(str,&pos); return 0;}
^~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:4096:30:
note: candidate function not viable: no known conversion from
'std::experimental::string_view' (aka 'basic_string_view
') for 1st argument _LIBCPP_FUNC_VIS double stod (const string& str, size_t* __idx = 0); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:4116:30: note: candidate function not viable: no known conversion from 'std::experimental::string_view' (aka 'basic_string_view
') to 'const wstring' (aka 'const basic_string<wchar_t, char_traits str, size_t* __idx = 0); ^ 1 error generated. make[1]: * [CMakeFiles/cmTC_d4e27.dir/src.cxx.o] Error 1 make: * [cmTC_d4e27/fast] Error 2, allocator >') for 1st argument _LIBCPP_FUNC_VIS double stod (const wstring&
Source file was:
int main() { size_t pos; std::experimental::string_view str;
std::stod(str,&pos); return 0;} "
2016-07-14 15:34 GMT-04:00 Sylvain Guiriec sylvain.guiriec@gmail.com:
We tried to use the dev version of MEGALib, which uses Root 606, but we experiment the same crash. We are at least two people to have the same problem. One is using El Capitan 10.11.4, and I am using El Capitan 10.11.5. Other people who used El Capitan 10.11.5 had no issue at all. We are still trying to identify the problem, but it is not that easy because not much information concerning the ROOT compilation error.
If you have any thoughts, there are very welcome ;)
Thank you for your help!
Sylvain
2016-07-14 14:51 GMT-04:00 Sylvain Guiriec sylvain.guiriec@gmail.com:
People here seems to have been successful in installing the development version. I am giving it a try.
Thank you,
Sylvain
2016-07-14 14:41 GMT-04:00 zoglauer notifications@github.com:
I can compile it on my Mac El Capitan...
Do you use MacPorts, homebrew, or something similar? If yes, could you try to comment it temporarily out in your .bashrc or .bash_profile file, open a new bash shell and try to run the setup script again?
If this is not the case, could you try to modify the file $MEGALIB/config/AllowedROOTVersions.txt and replace 534 with 606? This will compile the latest version of ROOT.
Good Luck! Andreas
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zoglauer/megalib/issues/14#issuecomment-232754837, or mute the thread https://github.com/notifications/unsubscribe/AEdzKD11sYcAD1vhabpGcx7PE7zZF6LKks5qVoLKgaJpZM4JCj96 .
Sylvain Guiriec
NASA Goddard Space Flight Center (GSFC) Mail Code 661, Bldg-34/Rm-E205 Greenbelt, MD, 20771 USA Tel. (301) 286-0643 Fax (301) 286-0677 Emails: sylvain.guiriec@nasa.gov sylvain.guiriec@gmail.com
Sylvain Guiriec
NASA Goddard Space Flight Center (GSFC) Mail Code 661, Bldg-34/Rm-E205 Greenbelt, MD, 20771 USA Tel. (301) 286-0643 Fax (301) 286-0677 Emails: sylvain.guiriec@nasa.gov sylvain.guiriec@gmail.com
Sylvain Guiriec
NASA Goddard Space Flight Center (GSFC) Mail Code 661, Bldg-34/Rm-E205 Greenbelt, MD, 20771 USA Tel. (301) 286-0643 Fax (301) 286-0677 Emails: sylvain.guiriec@nasa.gov sylvain.guiriec@gmail.com
Hi Sylvain,
This is just the log generated during the cmake configuration run, when it checks the compiler capabilities, which headers, etc. are installed and so on.
You expect to get errors when it tests for a not present function, etc. This is normal, I get similar errors.
Have you checked if you have installed homebrew or macports, and if yes, commented out in your .bash_profile file whatever those tools include? Having unexpected libraries in your path is usually the most common reason for ROOT failing to compile...
Andreas
Ok, I am trying that now.
Thanks!
Sylvain
2016-07-14 16:09 GMT-04:00 zoglauer notifications@github.com:
Hi Sylvain,
This is just the log generated during the cmake configuration run, when it checks the compiler capabilities, which headers, etc. are installed and so on.
You expect to get errors when it tests for a not present function, etc. This is normal, I get similar errors.
Have you checked if you have installed homebrew or macports, and if yes, commented out in your .bash_profile file whatever those tools include? Having unexpected libraries in your path is usually the most common reason for ROOT failing to compile...
Andreas
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zoglauer/megalib/issues/14#issuecomment-232777429, or mute the thread https://github.com/notifications/unsubscribe/AEdzKBiSrH0SJGsFp9HFjOq92aW7s_5eks5qVpdfgaJpZM4JCj96 .
Sylvain Guiriec
NASA Goddard Space Flight Center (GSFC) Mail Code 661, Bldg-34/Rm-E205 Greenbelt, MD, 20771 USA Tel. (301) 286-0643 Fax (301) 286-0677 Emails: sylvain.guiriec@nasa.gov sylvain.guiriec@gmail.com
Hi Sylvain,
Did you get it to compile?
Thanks for the update, Andreas
Dear Andreas,
Thank you for following up on the issue. No, I was still not able to compile MEGALib. As you suggested, I commented all entries related to Macport, but it did not solve the problem and I still have the same ROOT error. Do you have other suggestions?
Thank you,
Sylvain
2016-07-18 17:15 GMT-04:00 zoglauer notifications@github.com:
Hi Sylvain,
Did you get it to compile?
Thanks for the update, Andreas
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zoglauer/megalib/issues/14#issuecomment-233461357, or mute the thread https://github.com/notifications/unsubscribe-auth/AEdzKJeF5neX-4PhaD1e3OmWAkPyhrZ0ks5qW-z9gaJpZM4JCj96 .
Sylvain Guiriec
NASA Goddard Space Flight Center (GSFC) Mail Code 661, Bldg-34/Rm-E205 Greenbelt, MD, 20771 USA Tel. (301) 286-0643 Fax (301) 286-0677 Emails: sylvain.guiriec@nasa.gov sylvain.guiriec@gmail.com
Dear Sylvain,
Then do not try to compile ROOT at all. Instead install ROOT 6.06 via macports and then launch the setup script with the "--root" option, where you give the path to your macports ROOT installations, e.g.
bash setup.sh --rel=dev --root=/path/to/your/root/installation/via/macports
This will use the already installed ROOT version, and just compile Geant4 & MEGAlib.
Cheers, Andreas
Dear Andreas,
I worked with David (cc here), who is one of our computer system guru here at Goddard. He found out that even when we disable macport, the installation code continues to look for file in the fink (/sw/) and macport (/opt/local) directories. We renamed these directories and installed manually cmake, and now the compilation proceed flawlessly. I did not try to run a simulation test yet, but I will do it tomorrow.
I did not try your option "bash setup.sh --rel=dev --root=/path/to/your/root/installation/via/macports".
Is there a test that I can run to check if everything is ok?
Thank you very much for your precious help and for developing such a fantastic tool!
Sylvain Guiriec
NASA Goddard Space Flight Center (GSFC) Mail Code 661, Bldg-34/Rm-E205 Greenbelt, MD, 20771 USA Tel. (301) 286-0643 Fax (301) 286-0677 Emails: sylvain.guiriec@nasa.gov sylvain.guiriec@gmail.com
Hello,
I got this error message when compiling the tools:
[ 68%] Linking CXX shared library ../../lib/libGeom.so [ 68%] Linking CXX shared library ../../lib/libProof.so [ 68%] Built target Proof [ 68%] Built target Geom [ 68%] Linking CXX shared library ../../lib/libPyROOT.so [ 68%] Built target PyROOT make: *\ [all] Error 2 ERROR: Something went wrong while compiling ROOT!
ERROR: Something went wrong during the ROOT setup.
Any idea about how to solve the problem?
Thank you,
Sylvain