I tried to install Deal II (dealii) on a PC with 2 GB RAM, but after the command:
wilmar@linuxmint:~build$ make --jobs=1 install (jobs=4 was bad) it stops on [ 31%] Building CXX object source/fe/CMakeFiles/obj_fe_release.dir/fe_q.cc.o.
So, I tried on another PC with 4 GB RAM. It builds CXX object until 100%:
...
[100%] Building CXX object source/non_matching/CMakeFiles/obj_non_matching_debug.dir/immersed_surface_quadrature.cc.o
[100%] Built target obj_non_matching_debug
Scanning dependencies of target deal_II.g
[100%] Building CXX object source/CMakeFiles/deal_II.g.dir/dummy.cc.o
[100%] Linking CXX shared library ../lib/
libdeal_II.g.so[100%] Built target deal_II.g
Scanning dependencies of target obj_integrators_debug
[100%] Built target obj_integrators_debug
Scanning dependencies of target obj_integrators_release
[100%] Built target obj_integrators_release
Scanning dependencies of target obj_rol_inst
[100%] Built target obj_rol_inst
Scanning dependencies of target obj_rol_release
[100%] Built target obj_rol_release
Scanning dependencies of target obj_rol_debug
[100%] Built target obj_rol_debug
but, there is a fly in the ointment. I proceeds:
Install the project...
-- Install configuration: "DebugRelease"
CMake Error at cmake/scripts/cmake_install.cmake:41 (file):
file cannot create directory: /path/to/install/dir/share/deal.II/scripts.
Maybe need administrative privileges.
Call Stack (most recent call first):
cmake_install.cmake:42 (include)
Makefile:73: recipe for target 'install' failed
make: *** [install] Error 1
The command did not manage to create the directoty /path/to/install/dir/share/deal.II/scripts
I feel that I crossed the ocean and died on the beach! but the cause wasn't n-Cov19!
Any help?