-
Notifications
You must be signed in to change notification settings - Fork 90
Description
Trying to install OpenSees on Debian 11 "bullseye".
In response to the line
cmake --install .I got:
[100%] Built target OPS_Uniaxial_Fedeas
[100%] Built target OPS_Api
Install the project...
-- Install configuration: ""
-- Up-to-date: /usr/local/bin/OpenSees
CMake Error at cmake_install.cmake:111 (file):
file INSTALL cannot find "/../lib/tcl8.6/init.tcl": No such file or
directory.
make: *** [Makefile:125: install] Error 1I noticed that I have the lib/tcl8.6 folder under build.
This is only my assumption, but it seems like it is looking for ../lib/tcl8.6, where it should be ./lib/tcl/8.6, if I still am on the build directory.
What worked for me at this point, although it is not ideal, was to manually edit the cmake_install.cmake file, at line 111, and change /../lib/tcl8.6 by lib/tcl8.6.
The installation was able to complete after that.
However, I still do not understand what the program was meaning with or expecting from /../lib/tcl8.6. Maybe was it expecting to be located at another path, and a cd command was missing there? Or something different?
Obviously, having to manually change the installation scripts generated by cmake couldn't/shouldn't be the right approach.