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?
As the title says, when I'm trying to run
make install
withsudo make install
, I get the following error.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: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.