-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Totally unworkable on Linux with fatal errors and Error 2 while compiling #66
Comments
Hi @Callistemon, Make sure you have performed a recursive clone to pull the submodules for openSeaChest to build. That is most likely the error you are receiving. We have examples and information on recursive cloning in our building instructions section on git. We also recently pulled in an update to use meson for building which may be easier in some cases (and is definitely faster). I have tried it by installing it through the ubuntu apt repository as well as installing it through the python package with pip. Q. Why aren't binaries provided for more than only CentOS? If the CentOS build does not work for you, can you please share the output you are getting from the system with the error? |
After using
The binary files do nothing when double-clicked on Manjaro or Linux Mint. When using the terminal and entering |
Hi @Callistemon, I am sorry I missed this earlier, but I now see you likely pulled the tag from the Jun 2021 release. That was before we received the meson request.
I downloaded and extracted the last release on a fresh install of ubuntu and the execute permission was there, but you may want to check that is set properly. I was able to run the tools ok too. I don't expect anything to happen when double clicking since these are command line tools, but I would expect they should be executable unless that permission was removed for security or something like that. |
There is still an
Edit: yes apparently it does need |
I will setup a fresh clone to see if I can repeat this as best I can to figure out what may have happened. As for the |
This is textbook behavior on operating systems that aren't named "Windows" (not limited to Linux). The current directory is intentionally excluded from the executable search path on the grounds that it is a massively dangerous security hole. On Windows, it is presumably presumed to not be an issue since "no one uses command lines anyway". :)
While I do like meson as much as the next meson core developer, I have got to say this confusing hatred of
Actually The GNU autotools go to special efforts to make sure that autotools projects correctly compile on any (autotools is a build system, which |
@vonericsen meson does make sure that meson subprojects work, and will automatically pull them as a git submodule if relevant, so that error should indeed be much harder to hit with meson. :) |
This makes sense to me. I thought security would also be a reason for this behavior.
This is what I've found so far...I have not figured out how to exactly repeat what @Callistemon is seeing. @Callistemon I haven't been able to recreate what you are seeing. It would probably be best to try a fresh clone and build with meson from develop:
If you are still having trouble with this, I will need a history of exactly what commands have been run in order to figure out what went wrong so I can try repeating it with exactly the same commands you used. |
This finishes nicely without errors, but one thing to remember is to |
Glad that process was able to work, sorry I missed the cd between 1 & 2. Full process would then be:
|
I have this issue on Windows now. After downloading the latest ZIP and using Cloning with |
Okay, is there in fact a I find it unlikely that that is the real error. However, I would expect you to get a different error:
This happens because the subprojects are git submodules, and you need git to download those submodules correctly. It's a well known fact that Github's "download as ZIP" or "download Source Code" attachments are completely useless if a project contains git submodules. https://git-scm.com/download/win is not that hard to acquire. :) This project can also choose to run A |
Do you in fact have a compiler installed somewhere? Which compiler? Where is it located? |
The second screenshot is after downloading this Visual Studio Community installer from https://visualstudio.microsoft.com and installing it. Once it finished installing, it had some online account login. Does this mean it's necessary to login to setup Visual Studio or is that unrelated to having it around for meson? There's a page of instructions for Visual Studio with steps for choosing workloads, invididual components, and selecting the install location. The installation finished before the "choosing workloads" screen though. |
On Windows,
openSeaChest
just works properly, like anything on Windows. On Manjaro, Linux Mint, and Ubuntu 21.10, there are fatal errors and Error 2 when usingmake release
,make clean
ormake
. This is totally unworkable and is a waste of hours for nothing. Why aren't binaries provided for more than only CentOS?Because
make
is from GNU, an organization that spends most of their time relentlessly whining about how any traces of anything proprietary is malicious, it is not possible to compile anything withmake
without ruining the day.make
is trash to an extent like nothing else and is the very single worst thing about using Linux instead of Windows. In fact, I was entering a long series of commands through multiple pages of instructions foropenSeaChest UEFI
, and did not reach an error until stupid evilmake
raged into presence as a dumpster fire, ruining hours of effort. This issue is aboutopenSeaChest Linux
, butmake
deserves shaming words to be mentioned at every opportunity.The only solution is to provide binaries for Debian and Arch based systems, or provide source code that can be compiled without any involvement of
make
, which shouts at you with***
that represent rage and the wordStop
telling you to give up. GCC is installed and the Linux kernel version is5.13.19-2
.The text was updated successfully, but these errors were encountered: