Advertisement
Guest User

cpanm remove howto

a guest
Apr 25th, 2012
501
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.81 KB | None | 0 0
  1. amer@aplikacije-pc:~/Desktop> cpanm Log::Log4perl
  2. !
  3. ! Can't write to /usr/lib/perl5/site_perl/5.14.2 and /usr/bin: Installing modules to /home/amer/perl5
  4. ! To turn off this warning, you have to do one of the following:
  5. !   - run me as a root or with --sudo option (to install to /usr/lib/perl5/site_perl/5.14.2 and /usr/bin)
  6. !   - Configure local::lib your existing local::lib in this shell to set PERL_MM_OPT etc.
  7. !   - Install local::lib by running the following commands
  8. !
  9. !         cpanm --local-lib=~/perl5 local::lib && eval 100 100 112perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
  10. !
  11. --> Working on Log::Log4perl
  12. Fetching http://www.cpan.org/authors/id/M/MS/MSCHILLI/Log-Log4perl-1.36.tar.gz ... OK
  13. Configuring Log-Log4perl-1.36 ... OK
  14. Building and testing Log-Log4perl-1.36 ... OK
  15. Successfully installed Log-Log4perl-1.36
  16. 1 distribution installed
  17. amer@aplikacije-pc:~/Desktop>
  18. amer@aplikacije-pc:~/Desktop> ./fmzbih_cms_forecast.pl
  19. Can't locate Log/Log4perl.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.14.2/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.14.2 /usr/lib/perl5/vendor_perl/5.14.2/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.14.2 /usr/lib/perl5/5.14.2/x86_64-linux-thread-multi /usr/lib/perl5/5.14.2 /usr/lib/perl5/site_perl/5.14.2/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.14.2 /usr/lib/perl5/site_perl .) at ./fmzbih_cms_forecast.pl line 5.
  20. BEGIN failed--compilation aborted at ./fmzbih_cms_forecast.pl line 5.
  21. amer@aplikacije-pc:~/Desktop> sudo cpanm Log::Log4perl
  22. root's password:
  23. --> Working on Log::Log4perl
  24. Fetching http://www.cpan.org/authors/id/M/MS/MSCHILLI/Log-Log4perl-1.36.tar.gz ... OK
  25. Configuring Log-Log4perl-1.36 ... OK
  26. Building and testing Log-Log4perl-1.36 ... OK
  27. Successfully installed Log-Log4perl-1.36
  28. 1 distribution installed
  29. amer@aplikacije-pc:~/Desktop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement