-
Notifications
You must be signed in to change notification settings - Fork 17
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
check for system dependencies in a user-friendly way #56
Comments
It's a good idea and we should implement it after the worksshop. |
In general we should think of this as some kind of host adaptor for local installation: we could have a make target (e.g.
Using autoconf for this would already preclude macOS and Windows, right? Is there anything else we could use? |
Plus we have many more dependencies besides just libraries. Thus, along the host adaptor idea, maybe all mapping work should be focussed on "simulating" on the respective system what Ubuntu provides. Otherwise we will inevitably shift the burden to the module providers. We could even go so far to install custom |
This would need to sneak past any existing A weaker, intermediate goal: allow running Perhaps
|
Might be relevant to the spec itself: We now have
deps-ubuntu
as a means to encapsulate system dependencies of modules, but no way to check that these are met – not even for Ubuntu itself.For Ubuntu itself, it would be easy to introduce an extra target
check-deps-ubuntu
which fails (with a good error message) when one of the packages (or even PPAs) is missing. Of course, that would also have to be implemented in all the modules which already have/needdeps-ubuntu
.But I don't know of any OS-independent checks besides things like
pkg-config
. And then the (package) names of those dependencies might be different again, hence the need to lay hands on the individual modules' dependencies – which we wanted to encapsulate withdeps-ubuntu
(alone).So for the weaker goal (Ubuntu only), I don't think it is worth the effort (as one could instead always install just in case). And for the stronger goal (OS-independent), I'm afraid we have to postpone that in the same way we postponed OCR-D/spec#131.
The text was updated successfully, but these errors were encountered: