make install fails on Fedora

FreeSlave via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Tue Apr 26 05:14:58 PDT 2016


On Tuesday, 26 April 2016 at 08:16:55 UTC, Russel Winder wrote:
> On Debian Sid, the cmake_install.cmake file has a block:
>
> if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" 
> STREQUAL "Unspecified")
>   list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
>    "/home/users/russel/Built/etc/bash_completion.d/")
>   if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
>     message(WARNING "ABSOLUTE path INSTALL DESTINATION : 
> ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
>   endif()
>   if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
>     message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION 
> forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
>   endif()
> file(INSTALL DESTINATION 
> "/home/users/russel/Built/etc/bash_completion.d" TYPE DIRECTORY 
> FILES "/home/Checkouts/Git/LDC/bash_completion.d/")
> endif()
>
> [...]

Currently Debian uses /usr/share/bash-completion/completions/ 
too. /usr/share/bash-completion/completions/bash_completion 
script automatically includes /etc/bash_completion.d for backward 
compatibility.

So probably cmake file should be changed.


More information about the digitalmars-d-ldc mailing list