-
Notifications
You must be signed in to change notification settings - Fork 3
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
Can't build with npm from debian unstable apt #13
Comments
@Montandalar good catch! i believe this is actually a rust/system issue, rather than an npm issue.
i believe i also ran in to a similar problem on my wsl system running ubuntu 20.04, you may also want to try installing some of these packages (i can't remember explicitly if i needed them to build the project or if it was due to some X11 stuff, so beware):
sorry, i know this is probably the least helpful comment i could write but my experience w/ linux on this project was short and sweet, hopefully some of this helps! |
ps. for linux to work, you may need to hardcode the ternaries here: unfortunately i was only able to properly test this on windows, so a lot of the support for actually opening MT is based on how the windows builds are. i suspect that some extra changes will need to be made for linux & mac systems, but you'll hopefully be able to advise on this a bit better than me double unfortunately, the whole installation process won't work either, since basically only official windows builds exist on the MT github. there are AppImages on the gitlab, but i never got around to adding them as a source to download from. according to tauri documentation, you should find the mtlauncher config at:
so you can install versions in the also, depending on how much patience you have to try and get this working on your machine, feel free to reach out to me on matrix - i will be semi-afk this weekend but am keen to get some changes in and have a "guinea pig" for linux so that i can figure out how the requirements for it all differs from windows and implement some changes |
@Montandalar i've added in a suuuper basic auto build system w/ github workers, if you're still struggling to build from source you can try one of the files here? https://github.com/minetest-world/mtlauncher/releases afaik the the workflow for linux does indeed need some extra deps as confirmed by the tauri example which i shamelessly yoinked from, so i suspect you will need to download some deps, check here: https://github.com/minetest-world/mtlauncher/blob/main/.github/workflows/build.yml#L61 |
I installed all of the prerequisites, but no change to the error. Perhaps my rust version (that is installed through apt rather than Otherwise the Meanwhile inside ~/.config/world.minetest.mtlauncher/versions/5.6.1/bin:
Yeah that's the Windows version. Also it's not possible from my installation to apply the change from Here are the program versions as asked. Clearly rust is not the latest version.
|
@Montandalar so.. re: 5.4.2-android - yeah, this is because that is technically the "best" build for a specific protocol version, haha. this will be removed come next update re: "yeah that's the windows version" - correct, see here: https://github.com/minetest-world/mtlauncher/wiki/version-management re: modifying binary - this shouldn't be needed, as long as you're running v0.0.2, i did add some changes to it: so, for linux, it should look for tl;dr - for linux, manual installation of versions is necessary for now. this will be changed in the near-ish future, hopefully, but even the gitlab builds don't have public AppImage files for the 5.6.x branch :'( if you want to try, you should:
it should then detect that it's installed, and run it if needed. if you want to run that version on a server that doesn't state it supports your version, you can select the server, and then change the version in the bottom left dropdown. let me know if there's any confusion - thank you again for guinea-pigging for me! :D |
i'll need to investigate the rust issue separately, my thoughts are that you might be running an old rust version (but i'm only on |
fyi: i've just released it should also now download from a (seemingly legit) source, An0n3m0us's AppImages repository if you're on linux! hopefully this resolves any outstanding issues wrt running & playing on linux |
Now of course I'm a node/npm noob so it could be something obvious, but why would it be the case that I don't have access to the latest version? I thought node fetched the version info automatically. Also what's the deal with that package not being exactly listed on
npm search
?The text was updated successfully, but these errors were encountered: