cetbuildtools build fails when running the buildLAr-xxx script
Platform: Linux Redhat 6 64 bit (bash shell)
Error (from log file):
CMake Error: The current CMakeCache.txt directory /afs/slac/g/lbne/products/larsoft_v1_00_02/cetbuildtools/v3_07_03/build/CMakeCache
.txt is different than the directory /home/greenc/work/cet-is/test-products/cetbuildtools/v3_07_03/build where CMakeCache.txt was cr
eated. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
CMake Error: The source "/afs/slac/g/lbne/products/larsoft_v1_00_02/cetbuildtools/v3_07_03/src/CMakeLists.txt" does not match the so
urce "/home/greenc/work/cet-is/test-products/cetbuildtools/v3_07_03/src/CMakeLists.txt" used to generate cache. Re-run cmake with a
different source directory.
It appears this error occurs because the tar file for cetbuildtools v3_07_03 contains extra folders - src, tar and build. Deleting these folders by hand and then rerunning the script appears to fix the problem.