Jump to content
Local
sape4000

Ubuntu perl

Recommended Posts

root@lkk:/usr/abills/misc# ./perldeps.pl test

Arguments:
  test        - Show list of installed and missing modules
  port        - Try to install missing modules using ports (FreeBSD only)
  pkg         - Try to install missing modules using pkg (FreeBSD only)
  apt-get     - Install using apt-get when possible (Debian / Ubuntu)
  rpm         - Install using rpm packages when possible ( RHEL, CentOS, Fedora )
 

В чем может быть проблема?

версия 78.30

perl perldeps.pl apt-get -batch

Arguments:
  test        - Show list of installed and missing modules
  port        - Try to install missing modules using ports (FreeBSD only)
  pkg         - Try to install missing modules using pkg (FreeBSD only)
  apt-get     - Install using apt-get when possible (Debian / Ubuntu)
  rpm         - Install using rpm packages when possible ( RHEL, CentOS, Fedora )
root@lkk:/usr/abills/misc#
 

Share this post


Link to post
Share on other sites

alias может какие-то настроены?

Share this post


Link to post
Share on other sites

Проблема скорее всего в самом файле, скачал из 76 ветки, все ок

 

Share this post


Link to post
Share on other sites

if($ARGV[0]) {
  my $action = $ARGV[0];
}

 

замените на

 

if($ARGV[0]) {
  $action = $ARGV[0];
}

Share this post


Link to post
Share on other sites

Стал вылетать радиус с ошибкой 

rlm_perl: perl_embed:: module = /usr/abills/libexec/rlm_perl.pl , func = authenticate exit status= Can't locate Mac_auth.pm:   ./Mac_auth.pm: Permission denied at /usr/abills/libexec/rlm_perl.pl line 648

 

как поправить?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By testinua
      Доброго дня.
      Прийшов час для мене познайомитись з Nginx. 
      Встановивши його, дещо поправив конфіг nginx.conf.
      Пробую перший старт і отримую результат:
      Job for nginx.service failed because the control process exited with error code. В логах:
      2016/02/02 13:35:13 [alert] 15357#0: perl_parse() failed: 2 Якось дивно, перевірив статус systemctl status nginx.service, результат якого:
      Feb 02 13:35:13 node53702 nginx[15357]: Can't locate Exporter.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/ven dor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/lib64/perl5/vendor_perl/nginx.pm line 7. Що не так?
×