Closed KantaphatLeelakunwet closed 1 month ago
Description When I ran Cmake to build sofa, this error occurred.
Steps to reproduce I'm installing SOFA according the link below. https://github.com/ScheiklP/sofa_env/blob/main/docs/source/setting_up_sofa.rst
Expected behavior I expected my build to be successful.
Context
Command called
cmake --build sofa/build -j --target install
Env vars
python -c "exec( \"import os, sys\nprint('#################')\nprint('--- sys.version ---')\nprint(sys.version)\nprint('--- PATH ---')\ntry:\n print(os.environ['PATH'])\nexcept Exception:\n pass\nprint('--- SOFA_ROOT ---')\ntry:\n print(os.environ['SOFA_ROOT'])\nexcept Exception:\n pass\nprint('--- PYTHONPATH ---')\ntry:\n print(os.environ['PYTHONPATH'])\nexcept Exception:\n pass\nprint('--- sys.path ---')\ntry:\n print(str(sys.path))\nexcept Exception:\n pass\nprint('#################')\" )"
################# --- sys.version --- 3.9.18 (main, Sep 11 2023, 13:41:44) [GCC 11.2.0] --- PATH --- /bd_targaryen/users/kleelakunwet/miniconda3/envs/sofa/bin:/bd_targaryen/users/kleelakunwet/miniconda3/condabin:/usr/lib/oar/oardodo:/usr/lib/oar/oardodo:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/snap/bin --- SOFA_ROOT --- /bd_targaryen/users/kleelakunwet/sofa/build/install --- PYTHONPATH --- --- sys.path --- ['', '/bd_targaryen/users/kleelakunwet/miniconda3/envs/sofa/lib/python39.zip', '/bd_targaryen/users/kleelakunwet/miniconda3/envs/sofa/lib/python3.9', '/bd_targaryen/users/kleelakunwet/miniconda3/envs/sofa/lib/python3.9/lib-dynload', '/bd_targaryen/users/kleelakunwet/.local/lib/python3.9/site-packages', '/bd_targaryen/users/kleelakunwet/miniconda3/envs/sofa/lib/python3.9/site-packages'] #################
Full output
... -- Up-to-date: /bd_targaryen/users/kleelakunwet/sofa/build/install/include/Sofa.Component.LinearSolver.Direct/sofa/component/linearsolver/direct/SparseQRTraits.h -- Up-to-date: /bd_targaryen/users/kleelakunwet/sofa/build/install/include/Sofa.Component.LinearSolver.Direct/sofa/component/linearsolver/direct/TypedMatrixLinearSystem[BTDMatrix].h -- Up-to-date: /bd_targaryen/users/kleelakunwet/sofa/build/install/lib/libmetis.so CMake Error at _deps/metis-build/cmake_install.cmake:93 (file): file cannot create directory: /cmake/metis. Maybe need administrative privileges. Call Stack (most recent call first): Sofa/Component/LinearSolver/Direct/cmake_install.cmake:246 (include) Sofa/Component/LinearSolver/cmake_install.cmake:127 (include) Sofa/Component/cmake_install.cmake:133 (include) Sofa/cmake_install.cmake:48 (include) cmake_install.cmake:150 (include) gmake: *** [Makefile:120: install] Error 1
Content of build_dir/CMakeCache.txt
CMakeCache.txt
Problem
Description When I ran Cmake to build sofa, this error occurred.
Steps to reproduce I'm installing SOFA according the link below. https://github.com/ScheiklP/sofa_env/blob/main/docs/source/setting_up_sofa.rst
Expected behavior I expected my build to be successful.
Environment
Context
Command called
Env vars
Logs
Full output
Content of build_dir/CMakeCache.txt
CMakeCache.txt