News for hackers. Stuff that matters.
Re:Btop++ is a power resource monitor for Linux by einpoklum on Saturday September 25, 2021 @03:38PM (#28655657)
This looks very nice, but the compiler version requirement is very painful for those of us working on machines installed more than a year ago... GCC 10, ouch. I mean, newer versions are great, but when you don't control your machine's OS distribution, installing GCC 10 is not the most trivial thing to do.
Re:Btop++ is a power resource monitor for Linux by jcelerier on Saturday September 25, 2021 @04:33PM (#28655992)
You can just use a GCC docker image to build: https://hub.docker.com/_/gcc
Re:Btop++ is a power resource monitor for Linux by einpoklum on Saturday September 25, 2021 @05:47PM (#28656492)
No I can't... without an appropriate installation of docker and/or dependencies of docker.

See: https://docs.docker.com/engine/security/rootless/#prerequisi...

Re:Btop++ is a power resource monitor for Linux by zamadatix on Saturday September 25, 2021 @06:53PM (#28656871)
You don't control your device OS or otherwise have access to a machine you do, your OS does not offer modern packages, and you don't have the ability to otherwise pull in development toolchain resources.... yet it's supposed to be the projects problem you can't compile something started in 2021 from source on your older setup?

I get your current situation is less than ideal for you but at some point you have to accept the project is not the source of painfulness associated with you trying to compile new apps from source, it's just the trigger.

Re:Btop++ is a power resource monitor for Linux by einpoklum on Sunday September 26, 2021 @03:45AM (#28659146)
You have the implicit assumption that I'm working on an individual project. Imagine a large company which settles on an OS for some product that goes into the field for 10 or 20 years. That's the OS you're stuck with. And yes, that's painful in itself.

Now, I _can_, with some effort, pull/build a development toolchain. But it would be much nicer if I could have access to this utility on machines with older toolchains, that's all.

Re:Btop++ is a power resource monitor for Linux by harshitaneja on Sunday September 26, 2021 @06:14AM (#28659710)
You can install the binary on your device and don't need to compile from source for using the application.

It seems unfair to both developers and other users of the project to expect it to be compatible with older toolchains given the benefits of the newer builds.

Re:Btop++ is a power resource monitor for Linux by ghotli on Sunday September 26, 2021 @09:41PM (#28666271)
This. In the github readme it says static binaries are supplied. Thinking of linux and linux tooling as just something distros supply limit the imagination. Pull down the correct static and you're done. If you still want to compile it, it's easy.

From linux from scratch to muslcc to buildroot to yocto you can get nice new compilers and run them in docker or in a simple chroot. Requiring new compiler versions is a good thing and any disto related impediments are a distraction from just getting simple toolchain tooling going.

Re:Btop++ is a power resource monitor for Linux by zamadatix on Sunday September 26, 2021 @05:57PM (#28665030)
> You have the implicit assumption that I'm working on an individual project.

There is no such implication.

Re:Btop++ is a power resource monitor for Linux by j1elo on Saturday September 25, 2021 @08:45PM (#28657405)
That link says "Known to work on Ubuntu 18.04, 20.04, and 21.04", although maybe Ubuntu is just the default selection when the page loads... still, I guess you won't be testing much new software if they don't allow you even using Docker!
Re:Btop++ is a power resource monitor for Linux by jcelerier on Sunday September 26, 2021 @02:59AM (#28658978)
If you don't even have the right to install docker on your own machine what makes you think that your sysadmins are ok with you compiling this random software from the internet anyways ?
Re:Btop++ is a power resource monitor for Linux by thraneh on Sunday September 26, 2021 @03:14AM (#28659031)
Maybe download Miniforge and install gcc_linux-64, then you get GCC 11, all without sudo, on (probably) any Linux distro