-
Notifications
You must be signed in to change notification settings - Fork 14
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
**Missing** /usr/lib/x86_64-linux-gnu/mir/server-platform #72
Comments
It fixed itself with this cmd:
|
Sorry for the late response. Nice catch though 😄 I will add this as a dependency to the project |
I'm happy its a straightforward bug. Since this issue was labelled "good first issue", I would like to kindly nominate myself to patch this. It would be my first patch here! Any thoughts? In fixing, my approach is to use dpkg provided by cmake's tooling to detect if package is available. If missing, cmake will raise a typical error, then developer with missing dependencies can take heed. I think this, in a nutshell, is the way to move forward. |
Yeah that would very be much appreciated 😄 You should be able to follow what we do in https://github.com/mattkae/miracle-wm/blob/master/CMakeLists.txt with the help of |
The package The status of
Therefore, I am posting here because I think this is the correct solution but require assistance. On a side-note, there are also some platform checks in the mir library, it might be okay to reuse them, however this is beyond my level of expertise with regards to Mir. Actually the above config complains when you omit the version number e.g. In other words, |
I also think this is the correct solution. I believe that we define no |
Also, sorry for getting back to this so late 😄 Would you like to open a PR for this? I believe the |
This commit brings an extra library check in CMakeLists.txt related to mir graphics drivers desktop. A hardcoded known-library-list was introduced and used with find_library. Also, the build output informs the user of the missing libraries. Fixes miracle-wm-org#72
I don't think there's a simple fix in miracle-wm, or in Mir.
The error message should include something like: "Failed to load Mir any "graphics platform" libraries, please install the appropriate platforms for your system: For example, mir-graphics-drivers-desktop or mir-graphics-drivers-desktop." Detecting the right platform packages automatically isn't easy. On Ubuntu and Debian Mir provides:
and these meta packages, for desktop-like systems, that group the above:
But, from the Mir perspective, there are also "third-party" platforms that support other graphics stacks which is why none are installed by default. (Probably not a problem for miracle-wm, which could arguably make "all of the above" a default.) Also note, that the installation location varies between systems and installation method (e.g. |
I kind of decided in Fedora to sidestep this whole mess and ship the server platform libraries in the mir-server-libs package... 😅 But if Mir were to be packaged in openSUSE or Mageia, for example, then it would get some very odd names for the packages based on their sonames. |
Steps
The error message provided indicates that a file or directory named /usr/lib/x86_64-linux-gnu/mir/server-platform does not exist on your system.
I can confirm a
ls
yields a non-existent directory. However, I am unsure what dependencies these relate to.Full error log
Here is the output log full error:
Specs
=== System Specs
The text was updated successfully, but these errors were encountered: