Skip to content

file INSTALL cannot find "/../lib/tcl8.6/init.tcl" #180

@YoelMonsalve

Description

@YoelMonsalve

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 1

I 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions