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:
Bruce Dubbs
2025-11-19 09:54:24 -06:00
parent 807cbf7e8c
commit 90219474ac

View File

@@ -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>