How to install Clang and gcc

Started by johannesk, July 18, 2024, 12:23:29 AM

Previous topic - Next topic
I would like to install btop, but it is not in the repositories.
So I downloaded the ports from sysutils, see https://forum.opnsense.org/index.php?topic=33190.msg164565#msg164565

But a "make install" in the directory of btop fails with error message that at least gcc 10.1.0 and Clang 16.0.0 are required.
These, too, do not seem to be in the repositories, a "pkg install gcc" or "pkg install clang" also gives me the error message that it is not in the repositories.

How can I install btop or at least the compiler tools to compile it?

Thanks!

those are dependencies to build software. As per that linked thread, people went to install them on a Virtual Machine, because it is not advisable to do it on the firewall itself.

You can get htop from mimugmail repo, it's a lot cleaner than getting build tools on the FW.

I prefer btop over top, htop or bpytop. Unfortunately, it still tells me it needs GCC when I try to install btop from the mimugmail repo.

What I really do not get: In OPNsense 24.1.9, this was not even an issue. I simply downloaded the sysutils ports, went into the directory of btop, did a "make install clean" - done (okay, after three hours of compiling). From one version to the next, I find myself confronted with insurmountable difficulties in search of a small tool which I happen to like.