mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-12-27 03:33:50 -05:00
Add a note about updating libcap.
If the go compiler is present when updating libcap, the build fails. This note tells th euser how to work around the problem.
This commit is contained in:
@@ -43,6 +43,15 @@
|
|||||||
<sect2 role="installation">
|
<sect2 role="installation">
|
||||||
<title>Installation of Libcap</title>
|
<title>Installation of Libcap</title>
|
||||||
|
|
||||||
|
<note>
|
||||||
|
<para>
|
||||||
|
If updating this package on an existing system and the go compiler is
|
||||||
|
installed, prevent a build error by using <command>export GOLANG=no</command>
|
||||||
|
before running the commands below. Be sure to unset <envar>GOLANG</envar>
|
||||||
|
after installation is complete.
|
||||||
|
</para>
|
||||||
|
</note>
|
||||||
|
|
||||||
<para>Prevent static libraries from being installed:</para>
|
<para>Prevent static libraries from being installed:</para>
|
||||||
|
|
||||||
<screen><userinput remap="pre">sed -i '/install -m.*STA/d' libcap/Makefile</userinput></screen>
|
<screen><userinput remap="pre">sed -i '/install -m.*STA/d' libcap/Makefile</userinput></screen>
|
||||||
|
|||||||
Reference in New Issue
Block a user