Document required depencies i.e. tcl, tk, X server
Closed this issue · 3 comments
thimslugga commented
No mention of required dependencies:
root@nuc01:/opt/minecraft# ./auto-mcs
[11790] PyInstaller Bootloader 5.x
[11790] LOADER: executable is /opt/minecraft/auto-mcs
[11790] LOADER: homepath is /opt/minecraft
[11790] LOADER: _MEIPASS2 is NULL
[11790] LOADER: archivename is /opt/minecraft/auto-mcs
[11790] LOADER: Cookie found at offset 0x2DB2303
[11790] SPLASH: Found splash screen resources.
[11790] SPLASH: Load Tcl library from: /tmp/_MEIHb2cR3/__splash/libtcl8.6.so
[11790] SPLASH: Load Tk library from: /tmp/_MEIHb2cR3/__splash/libtk8.6.so
[11790] LOADER: Failed to load tcl/tk libraries
Segmentation fault (core dumped)
Installing the following resolves the tcl/tk libraries missing on Ubuntu 22.04:
sudo apt-get install tcl tcl8.6 tk8.6-dev
It looks like auto-mcs also requires full blown X server and is intended for usage on a desktop with a GUI? I have no interest in running X server and/or DE on a server.
root@nuc01:/opt/minecraft# ./auto-mcs
...
[12474] LOADER: importing modules from CArchive
[12474] LOADER: extracted struct
[12474] LOADER: running unmarshalled code object for struct...
[12474] LOADER: extracted pyimod01_archive
[12474] LOADER: running unmarshalled code object for pyimod01_archive...
[12474] LOADER: extracted pyimod02_importers
[12474] LOADER: running unmarshalled code object for pyimod02_importers...
[12474] LOADER: extracted pyimod03_ctypes
[12474] LOADER: running unmarshalled code object for pyimod03_ctypes...
[12474] LOADER: Installing PYZ archive with Python modules.
[12474] LOADER: PYZ archive: PYZ-00.pyz
[12474] LOADER: Running pyiboot01_bootstrap.py
[12474] LOADER: Running pyi_rth_inspect.py
[12474] LOADER: Running pyi_rth_subprocess.py
[12474] LOADER: Running pyi_rth_pkgres.py
[12474] LOADER: Running pyi_rth_pkgutil.py
[12474] LOADER: Running pyi_rth__tkinter.py
[12474] LOADER: Running pyi_rth_kivy.py
[12474] LOADER: Running pyi_rth_gstreamer.py
[12474] LOADER: Running pyi_rth_multiprocessing.py
[12474] LOADER: Running wrapper.py
Couldn't connect to X server
[12472] LOADER: Restoring signal handlers
[12472] LOADER: freeing args
[12472] LOADER: returning child exit status 102
[12472] LOADER: Back to parent (RC: 102)
[12472] LOADER: Doing cleanup
[12472] LOADER: Freeing archive status for /opt/minecraft/auto-mcs
root@nuc01:/opt/minecraft# ./auto-mcs -h
[13259] PyInstaller Bootloader 5.x
[13259] LOADER: executable is /opt/minecraft/auto-mcs
[13259] LOADER: homepath is /opt/minecraft
...
[13261] LOADER: extracted pyimod02_importers
[13261] LOADER: running unmarshalled code object for pyimod02_importers...
[13261] LOADER: extracted pyimod03_ctypes
[13261] LOADER: running unmarshalled code object for pyimod03_ctypes...
[13261] LOADER: Installing PYZ archive with Python modules.
[13261] LOADER: PYZ archive: PYZ-00.pyz
[13261] LOADER: Running pyiboot01_bootstrap.py
[13261] LOADER: Running pyi_rth_inspect.py
[13261] LOADER: Running pyi_rth_subprocess.py
[13261] LOADER: Running pyi_rth_pkgres.py
[13261] LOADER: Running pyi_rth_pkgutil.py
[13261] LOADER: Running pyi_rth__tkinter.py
[13261] LOADER: Running pyi_rth_kivy.py
[13261] LOADER: Running pyi_rth_gstreamer.py
[13261] LOADER: Running pyi_rth_multiprocessing.py
[13261] LOADER: Running wrapper.py
usage: auto-mcs [-h] [-d] [-l "Server 1, Server 2"]
CLI options for auto-mcs
optional arguments:
-h, --help show this help message and exit
-d, --debug execute auto-mcs with verbose console logging
-l "Server 1, Server 2", --launch "Server 1, Server 2"
specify a server name (or list of server names) to launch automatically
[13259] LOADER: Restoring signal handlers
[13259] LOADER: freeing args
[13259] LOADER: returning child exit status 0
[13259] LOADER: Back to parent (RC: 0)
[13259] LOADER: Doing cleanup
[13259] LOADER: Freeing archive status for /opt/minecraft/auto-mcs
macarooni-man commented
Currently working on documentation for the build process on Linux, including dependencies and streamlined build tools
yesBad commented
@thimslugga To add, a GUI will always be needed yes. I would suggest my Dockerized version which has the GUI as a web interface instead, it's a bit of a cursed thing but works perfectly fine 👍