Skip to content

check for system dependencies in a user-friendly way #56

Open
@bertsky

Description

@bertsky

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/need deps-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 with deps-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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions