HULKs/hulk

Compilation error in Ubuntu 18.04

Closed this issue · 2 comments

I had an issue with the codebase compilation. When I do any comands with the executable "pepsi" , the terminal returns the following message: "/usr/bin/env: invalid option -- 'S' Try '/usr/bin/env --help' for more information.".
I use a virtual machine (VirtualBox 7.0) with Ubuntu 18.04, and Cargo version 1.75.0. I did all the commands provided by Main Setup and Compiling for Webots for Ubuntu, without the section 2: "Install Webots Download webots from https://cyberbotics.com/ the XXXX.deb file and install it with".
An image with the terminal at next:
imagem_2024-01-10_164349208

Yes, we have changed that in #640 to be a bit more best practices.

In your case, your coreutils version is outdated.
If I've seen it correctly, in ubuntu 18.04, corutils is at version 8.28. You need at least coreutils 8.30 to use the feature.

To be a little more clear. Updating to a newer version of Ubuntu should solve the problem.
Closing this issue. If you encounter more problems feel free to reopen.