# cmake -B /users5/appli/produits/root-6.24/build -S /users5/appli/produits/root-6.24
CMake Error: The source directory "/users5/appli/produits/root-6.24" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
As I mentioned I think your source directory is /shared-dir1/appli/produits/root-6.24/root-6.24.00, not /shared-dir1/appli/produits/root-6.24. Please pass /shared-dir1/appli/produits/root-6.24/root-6.24.00 (or whatever path your ROOT sources are at) to the -S option.