OPNsense Forum

Archive => 24.1, 24.4 Legacy Series => Topic started by: johannesk on July 18, 2024, 12:23:29 AM

Title: How to install Clang and gcc
Post by: johannesk on July 18, 2024, 12:23:29 AM
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!
Title: Re: How to install Clang and gcc
Post by: cookiemonster on July 18, 2024, 12:30:00 AM
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.
Title: Re: How to install Clang and gcc
Post by: newsense on July 18, 2024, 04:19:33 AM
You can get htop from mimugmail repo, it's a lot cleaner than getting build tools on the FW.
Title: Re: How to install Clang and gcc
Post by: johannesk on July 19, 2024, 01:30:20 AM
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.