FreeBSD with Linux compatibility: makemkvcon works, but not in guiserver mode
Posted: Thu May 02, 2019 9:43 am
I'm trying to create a fully working port of MakeMKV on FreeBSD. As long as there is no "makemkvcon" binary for FreeBSD available, the way to go is to use the Linux version with FreeBSD's Linux compatibility layer, therefore I'm asking here in the Linux subforum.
For reference, here's my own HOWTO for getting it to run properly: https://forums.freebsd.org/threads/inst ... bsd.70614/
As the next step, I tried to get the GUI to work as well. It took a bit of debugging to understand why it couldn't start makemkvcon (the reason was looking for its own path through /proc/self/exe which doesn't exist on FreeBSD, but this was easily changed) -- but now I'm hitting a roadblock
From debugging "makemkv", I could see it tries to launch "makemkvcon guiserver G0012" (where G0012 seems to be a protocol version). It seems there's some output from "makemkvcon" expected ... what I see instead is makemkvcon exits immediately, without any output.
Unfortunately, I can't see the source of makemkvcon for debugging this
So my question here is, what could be wrong in the environment for makemkvcon so that
Thanks for hints on this
For reference, here's my own HOWTO for getting it to run properly: https://forums.freebsd.org/threads/inst ... bsd.70614/
As the next step, I tried to get the GUI to work as well. It took a bit of debugging to understand why it couldn't start makemkvcon (the reason was looking for its own path through /proc/self/exe which doesn't exist on FreeBSD, but this was easily changed) -- but now I'm hitting a roadblock

From debugging "makemkv", I could see it tries to launch "makemkvcon guiserver G0012" (where G0012 seems to be a protocol version). It seems there's some output from "makemkvcon" expected ... what I see instead is makemkvcon exits immediately, without any output.
Unfortunately, I can't see the source of makemkvcon for debugging this

So my question here is, what could be wrong in the environment for makemkvcon so that
- "makemkvcon info disc:0", "makemkvcon mkv disc:0 0 .", etc all works well, while
- "makemkvcon guiserver G0012" exits without any output?
Thanks for hints on this
