Friday, August 31, 2018

Re: how to install perl modules w/ dependencies that mix packages & CPAN

I'm afraid that is no such thing. My best would to search something on
ports to do exactly that.

If there is no repository, you might want to take a look in ways to
convert Perl modules from CPAN into OpenBSD packages. I know there is an
effort to build those packages automatically for Linux (Ubuntu and CentOS).

Another possibility is to use perlbrew instead.

Regards,

Alceu


Em 31/08/2018 21:52, Jonathan Thornburg escreveu:
> What's the "OpenBSD way" to install Perl modules which don't exist
> as packages?
>
> The usual Perl idiom for "install module foo & all of its (recursive)
> dependencies" is "cpan install foo", but this fetches all dependencies
> from CPAN, ignoring any OpenBSD packages which may exist. What I'd like
> is something like "cpan install foo", but with the semantics that for
> each dependency, if there's OpenBSD package in /etc/installurl which
> is the same module version as the latest CPAN version, then install
> the OpenBSD package instead. Is there a utility already around which
> does this?
>

No comments:

Post a Comment