Skip to content
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 not use interactive terminal when use Ubuntu Snap version #12376

Closed
Garfield550 opened this issue May 25, 2022 · 6 comments
Closed

Can not use interactive terminal when use Ubuntu Snap version #12376

Garfield550 opened this issue May 25, 2022 · 6 comments
Labels
Not a bug The behaviour is working as intended and won't be changed

Comments

@Garfield550
Copy link

Minetest version
Minetest 5.4.1 (Linux)
Using Irrlicht 1.8.4
Using LuaJIT 2.1.0-beta3
BUILD_TYPE=Release
RUN_IN_PLACE=0
USE_CURL=1
USE_GETTEXT=1
USE_SOUND=1
USE_FREETYPE=1
STATIC_SHAREDIR="/share/minetest"
STATIC_LOCALEDIR="/share/locale"
OS / Hardware

Operating system: Ubuntu 20.04.4 LTS
CPU: Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz

GPU model:
OpenGL version:

Summary

I installed Minetest from snap, and use it to run a Minetest server, but when I use --server --terminal command args, Minetest show an error message: ERROR[Main]: Cmd arg --terminal passed, but compiled without ncurses. Ignoring..

2022-05-25 10:19:58: WARNING[Main]: system-wide share not found at "/share/minetest"
2022-05-25 10:19:58: WARNING[Main]: system-wide share found at "/snap/minetest/1744/bin/../share/minetest"
2022-05-25 10:19:58: WARNING[Main]: Couldn't find a locale directory!
2022-05-25 10:19:58: ERROR[Main]: Cmd arg --terminal passed, but compiled without ncurses. Ignoring.
Steps to reproduce
sudo snap install minetest
minetest --server --terminal
@Garfield550 Garfield550 added the Unconfirmed bug Bug report that has not been confirmed to exist/be reproducible label May 25, 2022
@Garfield550
Copy link
Author

Ref: snapcrafters/minetest#11

Hope can make ncurses builtin.

@rubenwardy
Copy link
Contributor

rubenwardy commented May 25, 2022

Minetest needs to be compiled with ncurses to use this feature.

You have 2 options:

  • Use another version, probably self-compiled. I don't think many distros ship Minetest with ncurses enabled
  • Ask the snap maintainers to compile with ncurses

The Minetest snap is maintained by the Snap team, not by us, so you'll need to file an issue with them EDIT: I see you've linked to an existing issue

The snap version is also a year out-of-date

Closing as it's not a problem with us, let me know if you need any help compiling/etc

@rubenwardy rubenwardy added Not a bug The behaviour is working as intended and won't be changed and removed Unconfirmed bug Bug report that has not been confirmed to exist/be reproducible labels May 25, 2022
@Garfield550
Copy link
Author

@rubenwardy Does Flatpack version had ncurses built-in or it contain Minetest Server? https://flathub.org/apps/details/net.minetest.Minetest

@rubenwardy
Copy link
Contributor

@Garfield550
Copy link
Author

@rubenwardy I see a ppa at https://launchpad.net/~minetestdevs/+archive/ubuntu/stable, is it official?

@rubenwardy
Copy link
Contributor

@rubenwardy I see a ppa at launchpad.net/~minetestdevs/+archive/ubuntu/stable, is it official?

That is official. I've just checked, it does include ncurses

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Not a bug The behaviour is working as intended and won't be changed
Projects
None yet
Development

No branches or pull requests

2 participants