Kawaninon.com

写真やサンプルプログラムなど、日々の気になった出来事をメモしてる個人的なブログです。

PerlモジュールのWKHTMLTOPDFをcpanmコマンドでインストール

PerlモジュールのApp::cpanminusを使用して、WKHTMLTOPDFモジュールをインストールしました。ファイルをHTMLからPDF形式に変換する場面で活躍してくれているモジュールです。

$ sudo -H cpanm WKHTMLTOPDFPassword:--> Working on WKHTMLTOPDF
Fetching http://www.cpan.org/authors/id/T/TB/TBR/WKHTMLTOPDF-0.02.tar.gz ... OK
Configuring WKHTMLTOPDF-0.02 ... OK
==> Found dependencies: MooseX::Role::Cmd, Moose
--> Working on MooseX::Role::Cmd
Fetching http://www.cpan.org/authors/id/E/ED/EDENC/MooseX-Role-Cmd-0.10.tar.gz ... OK
Configuring MooseX-Role-Cmd-0.01 ... OK
==> Found dependencies: Moose
--> Working on Moose
Fetching http://www.cpan.org/authors/id/E/ET/ETHER/Moose-2.2011.tar.gz ... OK
==> Found dependencies: Dist::CheckConflicts
--> Working on Dist::CheckConflicts
Fetching http://www.cpan.org/authors/id/D/DO/DOY/Dist-CheckConflicts-0.11.tar.gz ... OK
Configuring Dist-CheckConflicts-0.11 ... OK
==> Found dependencies: Module::Runtime, Test::Fatal
--> Working on Module::Runtime
Fetching http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Module-Runtime-0.016.tar.gz ... OK
==> Found dependencies: Module::Build
--> Working on Module::Build
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/Module-Build-0.4224.tar.gz ... OK
Configuring Module-Build-0.4224 ... OK
Building and testing Module-Build-0.4224 ... OK
Successfully installed Module-Build-0.4224
Configuring Module-Runtime-0.016 ... OK
Building and testing Module-Runtime-0.016 ... OK
Successfully installed Module-Runtime-0.016
--> Working on Test::Fatal
Fetching http://www.cpan.org/authors/id/R/RJ/RJBS/Test-Fatal-0.014.tar.gz ... OK
Configuring Test-Fatal-0.014 ... OK
==> Found dependencies: Try::Tiny
--> Working on Try::Tiny
Fetching http://www.cpan.org/authors/id/E/ET/ETHER/Try-Tiny-0.30.tar.gz ... OK
Configuring Try-Tiny-0.30 ... OK
Building and testing Try-Tiny-0.30 ... OK
Successfully installed Try-Tiny-0.30
Building and testing Test-Fatal-0.014 ... OK
Successfully installed Test-Fatal-0.014
Building and testing Dist-CheckConflicts-0.11 ... OK
Successfully installed Dist-CheckConflicts-0.11
Configuring Moose-2.2011 ... OK
==> Found dependencies: Package::Stash, Data::OptList, Params::Util, Package::Stash::XS, Module::Runtime::Conflicts, MRO::Compat, Eval::Closure, Sub::Identify, Package::DeprecationManager, Test::CleanNamespaces, Sub::Exporter, CPAN::Meta::Check, Devel::OverloadInfo, Devel::GlobalDestruction, Class::Load, Test::Requires, Class::Load::XS, Devel::StackTrace, Sub::Name
--> Working on Package::Stash
Fetching http://www.cpan.org/authors/id/D/DO/DOY/Package-Stash-0.37.tar.gz ... OK
Configuring Package-Stash-0.37 ... OK
==> Found dependencies: Module::Implementation, Package::Stash::XS, Test::Requires
--> Working on Module::Implementation
Fetching http://www.cpan.org/authors/id/D/DR/DROLSKY/Module-Implementation-0.09.tar.gz ... OK
Configuring Module-Implementation-0.09 ... OK
==> Found dependencies: Test::Requires
--> Working on Test::Requires
Fetching http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Test-Requires-0.10.tar.gz ... OK
Configuring Test-Requires-0.10 ... OK
Building and testing Test-Requires-0.10 ... OK
Successfully installed Test-Requires-0.10
Building and testing Module-Implementation-0.09 ... OK
Successfully installed Module-Implementation-0.09
--> Working on Package::Stash::XS
Fetching http://www.cpan.org/authors/id/D/DO/DOY/Package-Stash-XS-0.28.tar.gz ... OK
Configuring Package-Stash-XS-0.28 ... OK
Building and testing Package-Stash-XS-0.28 ... OK
Successfully installed Package-Stash-XS-0.28
Building and testing Package-Stash-0.37 ... OK
Successfully installed Package-Stash-0.37
--> Working on Data::OptList
Fetching http://www.cpan.org/authors/id/R/RJ/RJBS/Data-OptList-0.110.tar.gz ... OK
Configuring Data-OptList-0.110 ... OK
==> Found dependencies: Params::Util, Sub::Install
--> Working on Params::Util
Fetching http://www.cpan.org/authors/id/A/AD/ADAMK/Params-Util-1.07.tar.gz ... OK
Configuring Params-Util-1.07 ... OK
Building and testing Params-Util-1.07 ... OK
Successfully installed Params-Util-1.07
--> Working on Sub::Install
Fetching http://www.cpan.org/authors/id/R/RJ/RJBS/Sub-Install-0.928.tar.gz ... OK
Configuring Sub-Install-0.928 ... OK
Building and testing Sub-Install-0.928 ... OK
Successfully installed Sub-Install-0.928
Building and testing Data-OptList-0.110 ... OK
Successfully installed Data-OptList-0.110
--> Working on Module::Runtime::Conflicts
Fetching http://www.cpan.org/authors/id/E/ET/ETHER/Module-Runtime-Conflicts-0.003.tar.gz ... OK
Configuring Module-Runtime-Conflicts-0.003 ... OK
Building and testing Module-Runtime-Conflicts-0.003 ... OK
Successfully installed Module-Runtime-Conflicts-0.003
--> Working on MRO::Compat
Fetching http://www.cpan.org/authors/id/H/HA/HAARG/MRO-Compat-0.13.tar.gz ... OK
Configuring MRO-Compat-0.13 ... OK
Building and testing MRO-Compat-0.13 ... OK
Successfully installed MRO-Compat-0.13
--> Working on Eval::Closure
Fetching http://www.cpan.org/authors/id/D/DO/DOY/Eval-Closure-0.14.tar.gz ... OK
Configuring Eval-Closure-0.14 ... OK
Building and testing Eval-Closure-0.14 ... OK
Successfully installed Eval-Closure-0.14
--> Working on Sub::Identify
Fetching http://www.cpan.org/authors/id/R/RG/RGARCIA/Sub-Identify-0.14.tar.gz ... OK
Configuring Sub-Identify-0.14 ... OK
Building and testing Sub-Identify-0.14 ... OK
Successfully installed Sub-Identify-0.14
--> Working on Package::DeprecationManager
Fetching http://www.cpan.org/authors/id/D/DR/DROLSKY/Package-DeprecationManager-0.17.tar.gz ... OK
Configuring Package-DeprecationManager-0.17 ... OK
==> Found dependencies: Test::Warnings, Sub::Name
--> Working on Test::Warnings
Fetching http://www.cpan.org/authors/id/E/ET/ETHER/Test-Warnings-0.026.tar.gz ... OK
Configuring Test-Warnings-0.026 ... OK
Building and testing Test-Warnings-0.026 ... OK
Successfully installed Test-Warnings-0.026
--> Working on Sub::Name
Fetching http://www.cpan.org/authors/id/E/ET/ETHER/Sub-Name-0.21.tar.gz ... OK
Configuring Sub-Name-0.21 ... OK
Building and testing Sub-Name-0.21 ... OK
Successfully installed Sub-Name-0.21
Building and testing Package-DeprecationManager-0.17 ... OK
Successfully installed Package-DeprecationManager-0.17
--> Working on Test::CleanNamespaces
Fetching http://www.cpan.org/authors/id/E/ET/ETHER/Test-CleanNamespaces-0.24.tar.gz ... OK
Configuring Test-CleanNamespaces-0.24 ... OK
==> Found dependencies: Sub::Exporter, namespace::clean, Test::Needs, Test::Deep, File::pushd
--> Working on Sub::Exporter
Fetching http://www.cpan.org/authors/id/R/RJ/RJBS/Sub-Exporter-0.987.tar.gz ... OK
Configuring Sub-Exporter-0.987 ... OK
Building and testing Sub-Exporter-0.987 ... OK
Successfully installed Sub-Exporter-0.987
--> Working on namespace::clean
Fetching http://www.cpan.org/authors/id/R/RI/RIBASUSHI/namespace-clean-0.27.tar.gz ... OK
Configuring namespace-clean-0.27 ... OK
==> Found dependencies: B::Hooks::EndOfScope
--> Working on B::Hooks::EndOfScope
Fetching http://www.cpan.org/authors/id/E/ET/ETHER/B-Hooks-EndOfScope-0.24.tar.gz ... OK
Configuring B-Hooks-EndOfScope-0.24 ... OK
==> Found dependencies: Sub::Exporter::Progressive, Variable::Magic
--> Working on Sub::Exporter::Progressive
Fetching http://www.cpan.org/authors/id/F/FR/FREW/Sub-Exporter-Progressive-0.001013.tar.gz ... OK
Configuring Sub-Exporter-Progressive-0.001013 ... OK
Building and testing Sub-Exporter-Progressive-0.001013 ... OK
Successfully installed Sub-Exporter-Progressive-0.001013
--> Working on Variable::Magic
Fetching http://www.cpan.org/authors/id/V/VP/VPIT/Variable-Magic-0.62.tar.gz ... OK
Configuring Variable-Magic-0.62 ... OK
Building and testing Variable-Magic-0.62 ... OK
Successfully installed Variable-Magic-0.62
Building and testing B-Hooks-EndOfScope-0.24 ... OK
Successfully installed B-Hooks-EndOfScope-0.24
Building and testing namespace-clean-0.27 ... OK
Successfully installed namespace-clean-0.27
--> Working on Test::Needs
Fetching http://www.cpan.org/authors/id/H/HA/HAARG/Test-Needs-0.002005.tar.gz ... OK
Configuring Test-Needs-0.002005 ... OK
Building and testing Test-Needs-0.002005 ... OK
Successfully installed Test-Needs-0.002005
--> Working on Test::Deep
Fetching http://www.cpan.org/authors/id/R/RJ/RJBS/Test-Deep-1.128.tar.gz ... OK
Configuring Test-Deep-1.128 ... OK
Building and testing Test-Deep-1.128 ... OK
Successfully installed Test-Deep-1.128
--> Working on File::pushd
Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/File-pushd-1.016.tar.gz ... OK
Configuring File-pushd-1.016 ... OK
Building and testing File-pushd-1.016 ... OK
Successfully installed File-pushd-1.016
Building and testing Test-CleanNamespaces-0.24 ... OK
Successfully installed Test-CleanNamespaces-0.24
--> Working on CPAN::Meta::Check
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/CPAN-Meta-Check-0.014.tar.gz ... OK
Configuring CPAN-Meta-Check-0.014 ... OK
Building and testing CPAN-Meta-Check-0.014 ... OK
Successfully installed CPAN-Meta-Check-0.014
--> Working on Devel::OverloadInfo
Fetching http://www.cpan.org/authors/id/I/IL/ILMARI/Devel-OverloadInfo-0.005.tar.gz ... OK
Configuring Devel-OverloadInfo-0.005 ... OK
Building and testing Devel-OverloadInfo-0.005 ... OK
Successfully installed Devel-OverloadInfo-0.005
--> Working on Devel::GlobalDestruction
Fetching http://www.cpan.org/authors/id/H/HA/HAARG/Devel-GlobalDestruction-0.14.tar.gz ... OK
Configuring Devel-GlobalDestruction-0.14 ... OK
Building and testing Devel-GlobalDestruction-0.14 ... OK
Successfully installed Devel-GlobalDestruction-0.14
--> Working on Class::Load
Fetching http://www.cpan.org/authors/id/E/ET/ETHER/Class-Load-0.25.tar.gz ... OK
Configuring Class-Load-0.25 ... OK
Building and testing Class-Load-0.25 ... OK
Successfully installed Class-Load-0.25
--> Working on Class::Load::XS
Fetching http://www.cpan.org/authors/id/E/ET/ETHER/Class-Load-XS-0.10.tar.gz ... OK
Configuring Class-Load-XS-0.10 ... OK
Building and testing Class-Load-XS-0.10 ... OK
Successfully installed Class-Load-XS-0.10
--> Working on Devel::StackTrace
Fetching http://www.cpan.org/authors/id/D/DR/DROLSKY/Devel-StackTrace-2.03.tar.gz ... OK
Configuring Devel-StackTrace-2.03 ... OK
Building and testing Devel-StackTrace-2.03 ... OK
Successfully installed Devel-StackTrace-2.03
Building and testing Moose-2.2011 ... OK
Successfully installed Moose-2.2011
Building and testing MooseX-Role-Cmd-0.01 ... OK
Successfully installed MooseX-Role-Cmd-0.01
Building and testing WKHTMLTOPDF-0.02 ... OK
Successfully installed WKHTMLTOPDF-0.02
37 distributions installed

ターミナルを起動して、上記のコマンドsudo -H cpanm WKHTMLTOPDFを入力したらreturnキーを押します。次に、sudoコマンドを実行するのでPasswordを入力したらreturnキーを押します。依存関係のモジュールが同時にインストールされました。

おすすめリンク

関連リンク

スポンサーリンク

カテゴリ

フィード

QRコード

QR Code