zoglauer / megalib

MEGAlib - the Medium-Energy Gamma-ray Astronomy library
http://megalibtoolkit.com
Other
42 stars 34 forks source link

Something went wrong while compiling ROOT! #14

Closed guiriec closed 7 years ago

guiriec commented 8 years ago

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.

   Please take a look if you find the issue here (look at open and closed issues):
   https://github.com/zoglauer/megalib/issues
   If not add your problem and write me an email!

Any idea about how to solve the problem?

Thank you,

Sylvain

zoglauer commented 8 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

guiriec commented 8 years ago

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

zoglauer commented 8 years ago

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

guiriec commented 8 years ago

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

zoglauer commented 8 years ago

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

guiriec commented 8 years ago

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

guiriec commented 8 years ago

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

guiriec commented 8 years ago

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

include

     ^

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

include

     ^

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

include

     ^

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

include <sys/ndir.h>

     ^

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

include <valgrind/valgrind.h>

     ^

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

include

     ^

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: /* */

include

int main(int argc, char\ argv) { (void)argv;

ifndef isinf

return ((int*)(&isinf))[argc];

else

(void)argc; return 0;

endif

}

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

include

     ^

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: /* */

include

int main(int argc, char\ argv) { (void)argv;

ifndef finite

return ((int*)(&finite))[argc];

else

(void)argc; return 0;

endif

}

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

include

     ^

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: /* */

include

int main(int argc, char\ argv) { (void)argv;

ifndef isnan

return ((int*)(&isnan))[argc];

else

(void)argc; return 0;

endif

}

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: /* */

include

int main(int argc, char\ argv) { (void)argv;

ifndef exp10

return ((int*)(&exp10))[argc];

else

(void)argc; return 0;

endif

}

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: /* */

include <sys/stat.h>

int main(int argc, char\ argv) { (void)argv;

ifndef futimens

return ((int*)(&futimens))[argc];

else

(void)argc; return 0;

endif

}

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

include

     ^

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: /* */

include

int main(int argc, char\ argv) { (void)argv;

ifndef mallinfo

return ((int*)(&mallinfo))[argc];

else

(void)argc; return 0;

endif

}

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: /* */

include

int main(int argc, char\ argv) { (void)argv;

ifndef strerror_s

return ((int*)(&strerror_s))[argc];

else

(void)argc; return 0;

endif

}

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: /* */

include

int main(int argc, char\ argv) { (void)argv;

ifndef GLIBC

return ((int*)(&GLIBC))[argc];

else

(void)argc; return 0;

endif

}

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

include

     ^

1 error generated. make[1]: * [CMakeFiles/cmTC_caef9.dir/src.cxx.o] Error 1 make: * [cmTC_caef9/fast] Error 2

Source file was:

include

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') to 'const string' (aka 'const basic_string<char, char_traits, allocator

') 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, allocator >') for 1st argument _LIBCPP_FUNC_VIS double stod (const wstring& 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

Source file was:

include <experimental/string_view>

 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

zoglauer commented 8 years ago

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

guiriec commented 8 years ago

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

zoglauer commented 8 years ago

Hi Sylvain,

Did you get it to compile?

Thanks for the update, Andreas

guiriec commented 8 years ago

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

zoglauer commented 8 years ago

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

guiriec commented 8 years ago

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