hello everybody!
I am a chinese.
I have met a issue when I tried to install perl modules, need your help please.
I try to install perl modules using:
/opt/lampp/bin/perl -MCPAN -e shell
CPAN> install YAML::Tiny
whenever I try to install any perl modules this way, I always got errors like below:
All tests successful.
Files=19, Tests=3349, 4 wallclock secs ( 0.18 usr 0.40 sys + 0.99 cusr 1.78
csys = 3.35 CPU)
Result: PASS
ADAMK/YAML-Tiny-1.41.tar.gz
/usr/bin/make test -- OK
Running make install
Prepending /root/.cpan/build/YAML-Tiny-1.41-8VflE3/blib/arch /root/.cpan/build/YAML-Tiny-1.41-8VflE3/blib/lib /root/.cpan/build/ExtUtils-ParseXS-2.2202-hyXStJ/blib/arch /root/.cpan/build/ExtUtils-ParseXS-2.2202-hyXStJ/blib/lib to PERL5LIB for 'install'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/opt/lampp/share/man/man3'
mkdir /opt/lampp/share/man: File exists at /opt/lampp/lib/perl5/5.10.1/ExtUtils/Install.pm line 483
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
at -e line 1
make: *** [pure_site_install] Error 17
ADAMK/YAML-Tiny-1.41.tar.gz
/usr/bin/make install -- NOT OK
Failed during this command:
ADAMK/YAML-Tiny-1.41.tar.gz : install N
related image is here: http://pic.yupoo.com/hoohoobjj/303138d4 ... 2fqqzz.jpg
as you can see:
in lampp/share/ directory, there is a 'man', and it is a link which link to ../man, but in the lampp/ directory, there is no such folder named "man";
what this link for?
how can I fix the perl modules installation error?
Thank you in advance.