V
V
VN2020-10-15 15:12:40
Perl
VN, 2020-10-15 15:12:40

How to install Perl modules?

On Ubuntu 20 I install Request tracker. Checking the installation script
make testdeps
Showed a large number of missing modules. They were automatically installed during execution,
make fixdeps
but some of the modules were not installed

SOME DEPENDENCIES WERE MISSING:

CORE dependencies:
    HTML::Mason::PSGIHandler >= 0.52 ....................... MISSING
    Plack >= 1.0002 ........................................ MISSING
    Plack::Handler::Starlet ................................ MISSING
    Web::Machine >= 0.12 ................................... MISSING

Perl library path for /usr/bin/perl:
    /etc/perl
    /usr/local/lib/x86_64-linux-gnu/perl/5.30.0
    /usr/local/share/perl/5.30.0
    /usr/lib/x86_64-linux-gnu/perl5/5.30
    /usr/share/perl5
    /usr/lib/x86_64-linux-gnu/perl/5.30
    /usr/share/perl/5.30
    /usr/local/lib/site_perl
    /usr/lib/x86_64-linux-gnu/perl-base
make: *** [Makefile:278: fixdeps] Error 1

Tell me how to install them?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Denis Yuriev, 2020-10-15
@kavabangaungava

easy

apt install libhtml-mason-psgihandler-perl libweb-machine-perl starlet

L
Leonid Nikolaev, 2020-10-15
@nikonor

Either search through apt, or perl -MCPAN -e shell and then sequentially install ....

V
vaut, 2020-10-15
@vaut

I think this is it:
https://github.com/bestpractical/rt/blob/stable/do...

cpan>install Bundle::CPAN
This installs some additional modules to add features to cpan.
Once you finish this initialization, RT's make fixdepsshould be able to handle the rest. Any time you need to install a new module or upgrade a module, you can just type cpan and manage it from the cpan shell.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question