What is the right way to install header files from some package?

老子叫甜甜 提交于 2019-12-05 11:43:34

For e2fsprogs, quoting verbatim from the INSTALL file shipped with the sources:

7) Install the include files and libraries

You can run `make install-libs' to install the include files and libraries. Please note that this installation is not needed for the programs to work. It is only needed if you expect to develop other programs using the libraries or if you want to compile other program using these libraries (like the 4.4BSD dump and restore port).

More generally though, when I want to find out what is the 'proper' way to install something that has worked for others, I look at:

  1. What the package looks like, in my favourite distro
  2. How the package is built for my favourite distro
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!