Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make install appears to not generate required docs or the install command is outdated. #684

Open
jonathan-alvaro opened this issue Mar 31, 2024 · 0 comments · May be fixed by #685
Open

Comments

@jonathan-alvaro
Copy link

jonathan-alvaro commented Mar 31, 2024

As the title says, when I'm trying to run make install with sudo make install, I get the following error.

CMake Error at doc/cmake_install.cmake:46 (file):
  file INSTALL cannot find "/home/username/libs/flac/doc/api": No such file or
  directory.
Call Stack (most recent call first):
  cmake_install.cmake:113 (include)

Running find /home/usrname/libs -name api returns nothing, implying that there is no such file at all.

But, taking a look at the generated install file in the build/doc directory, there are the following lines:

if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/doc/FLAC/api" TYPE DIRECTORY FILES "/home/username/libs/flac/doc/api/")
endif()

I'm sorry if it's not related since I'm not that proficient in CMake. But, to me it seems that the install script is trying to copy the contents of libs/flac/doc/api, which is nonexistent. Is it possible that there are some steps in-between that I missed?

Thanks.

@ktmf01 ktmf01 linked a pull request Apr 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant