Re: libcap-2.XX in LFS has issues if gcc go compiler is installed
"Bruce Dubbs" ([email protected] via lfs-support Mailing List) <[email protected]> Wed, 19 Nov 2025 10:05:15 -0600
| Newsgroups | gmane.linux.lfs.support |
|---|---|
| Message-ID | <[email protected]> |
On 11/19/25 8:07 AM, "Richard" ([email protected] via lfs-support Mailing List) wrote: > lfs [ /usr/src/libcap-2.77 ]$ make prefix=/usr lib=lib > make -C libcap all > > < stuff deleted> > > - "cap_perfmon": PERFMON, > - "cap_bpf": BPF, > - "cap_checkpoint_restore": CHECKPOINT_RESTORE, > -} > make[1]: *** [Makefile:53: good-names.go] Error 1 > make[1]: Leaving directory '/usr/src/libcap-2.77/go' > make: *** [Makefile:14: all] Error 2 > > It would be nice if this can be fixed to work by someone who is into "go". > Otherwise, this works if go IS installed, and even if it is not: > > GOLANG=no make prefix=/usr lib=lib > GOLANG=no make test > GOLANG=no make prefix=/usr lib=lib install I added the following note to the libcap page: "If updating this package on an existing system and the go compiler is installed, prevent a build error by using export GOLANG=no before running the commands below. Be sure to unset GOLANG after installation is complete." -- Bruce -- http://lists.linuxfromscratch.org/sympa/info/lfs-support Unsubscribe: See the above information page