Hello everyone,
I used the source code to install nest simulator 2.20 from here https://nest-simulator.readthedocs.io/en/stable/installation/linux_install.html and did the following steps (I used to do the same steps for version 2.18 without error.) cmake -Dwith-python=3 -DCMAKE_INSTALL_PREFIX:PATH=</install/path> </path/to/NEST/src> make make install make installcheck
I got this error from "make installcheck":
Phase 1: Testing if SLI can execute scripts and report errors ------------------------------------------------------------- Running test 'selftests/test_pass.sli'... Running Apr 21 19:46:31 SLIStartup [Error]: NEST_DATA_DIR is not usable: Apr 21 19:46:31 SLIStartup [Error]: Directory '/usr/share/nest' does not exist. Apr 21 19:46:31 SLIStartup [Error]: I'm using the default: /home/abolfazl/prog/install-dir/nest-simulator-2.20.0_build/share/nest Apr 21 19:46:31 SLIStartup [Error]: NEST_DOC_DIR is not usable: Apr 21 19:46:31 SLIStartup [Error]: Directory '/usr/share/doc/nest' does not exist. Apr 21 19:46:31 SLIStartup [Error]: I'm using the default: /home/abolfazl/prog/install-dir/nest-simulator-2.20.0_build/share/doc/nest /usr/bin//bin/nest /usr/share/doc/nest/selftests/test_pass.sli /home/abolfazl/prog/install-dir/nest-simulator-2.20.0_build/bin/nest_serial: 20: /home/abolfazl/prog/install-dir/nest-simulator-2.20.0_build/bin/nest_serial: Apr: not found Failed: unexpected exit code 127
Running Apr 21 19:46:31 SLIStartup [Error]: NEST_DATA_DIR is not usable: Apr 21 19:46:31 SLIStartup [Error]: Directory '/usr/share/nest' does not exist. Apr 21 19:46:31 SLIStartup [Error]: I'm using the default: /home/abolfazl/prog/install-dir/nest-simulator-2.20.0_build/share/nest Apr 21 19:46:31 SLIStartup [Error]: NEST_DOC_DIR is not usable: Apr 21 19:46:31 SLIStartup [Error]: Directory '/usr/share/doc/nest' does not exist. Apr 21 19:46:31 SLIStartup [Error]: I'm using the default: /home/abolfazl/prog/install-dir/nest-simulator-2.20.0_build/share/doc/nest /usr/bin//bin/nest /usr/share/doc/nest/selftests/test_pass.sli /home/abolfazl/prog/install-dir/nest-simulator-2.20.0_build/bin/nest_serial: 20: /home/abolfazl/prog/install-dir/nest-simulator-2.20.0_build/bin/nest_serial: Apr: not found
*** *** An unexpected exit code usually hints at a bug in the test suite! *** *** Please report the problem at *** https://github.com/nest/nest-simulator/issues *** *** To help us diagnose the problem, please attach the archived content *** of these directories to the issue: *** - '/home/abolfazl/prog/install-dir/nest-simulator-2.20.0_build/reports' *** - '/home/abolfazl/prog/install-dir/nest-simulator-2.20.0_build/reports/nest.CgbAi' ***
CMakeFiles/installcheck.dir/build.make:57: recipe for target 'CMakeFiles/installcheck' failed make[3]: *** [CMakeFiles/installcheck] Error 2 CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/installcheck.dir/all' failed make[2]: *** [CMakeFiles/installcheck.dir/all] Error 2 CMakeFiles/Makefile2:106: recipe for target 'CMakeFiles/installcheck.dir/rule' failed make[1]: *** [CMakeFiles/installcheck.dir/rule] Error 2 Makefile:188: recipe for target 'installcheck' failed make: *** [installcheck] Error 2