我在实验室的服务器上安装模块XML :: DOM时遇到问题。 键入CPAN XML :: DOM时出现以下错误。
由于字符的限制,我无法发布所有代码,所以我粘贴了结果的结尾。
TJMATHER/XML-DOM-1.46.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 PERL_USE_UNSAFE_INC=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/build_dom.t ......... ok
t/dom_astress.t ....... ok
t/dom_attr.t .......... ok
t/dom_cdata.t ......... ok
t/dom_documenttype.t .. ok
t/dom_encode.t ........ ok
t/dom_example.t ....... ok
t/dom_extent.t ........ ok
t/dom_jp_astress.t .... ok
t/dom_jp_attr.t ....... ok
t/dom_jp_cdata.t ...... ok
t/dom_jp_example.t .... ok
t/dom_jp_minus.t ...... ok
t/dom_jp_modify.t ..... ok
t/dom_jp_print.t ...... ok
t/dom_minus.t ......... ok
t/dom_modify.t ........ ok
t/dom_noexpand.t ...... ok
t/dom_print.t ......... ok
t/dom_template.t ...... ok
t/dom_text.t .......... ok
All tests successful.
Files=21, Tests=129, 3 wallclock secs ( 0.08 usr 0.04 sys + 2.08 cusr 0.25 csys = 2.45 CPU)
Result: PASS
TJMATHER/XML-DOM-1.46.tar.gz
/usr/bin/make test -- OK
Running make install
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/usr/local/man/man3'
mkdir /usr/local/man/man3: Permission non accordée at /usr/share/perl/5.20/ExtUtils/Install.pm line 476.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
at -e line 1.
Makefile:857: recipe for target 'pure_site_install' failed
make: *** [pure_site_install] Error 13
TJMATHER/XML-DOM-1.46.tar.gz
/usr/bin/make install -- NOT OK
kelodjoe@hyperion:~$