Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
How to install Clang and gcc
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to install Clang and gcc (Read 631 times)
johannesk
Newbie
Posts: 4
Karma: 0
How to install Clang and gcc
«
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!
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: How to install Clang and gcc
«
Reply #1 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.
Logged
newsense
Hero Member
Posts: 1036
Karma: 77
Re: How to install Clang and gcc
«
Reply #2 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.
Logged
johannesk
Newbie
Posts: 4
Karma: 0
Re: How to install Clang and gcc
«
Reply #3 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.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
How to install Clang and gcc