Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#4139 Perl error due to use of deprecated libs

1.590
closed-fixed
Jamie Cameron
5
2012-09-10
2012-09-10
norritt
No

Affected: Webmin 1.590
Repro: Clicking a user name link in "Users and Groups" on a opensuse 12.2 system leads to the following error message

Error - Perl execution failed
Can't locate timelocal.pl in @INC (@INC contains: /usr/libexec/webmin /usr/lib/perl5/site_perl/5.16.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.16.0 /usr/lib/perl5/vendor_perl/5.16.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.16.0 /usr/lib/perl5/5.16.0/x86_64-linux-thread-multi /usr/lib/perl5/5.16.0 /usr/lib/perl5/site_perl . /usr/libexec/webmin/ ..) at /usr/libexec/webmin/useradmin/edit_user.cgi line 6.

This message occurs in other contexts to (whenever timelocal.pl is used).

Due to opensuse/novell the timelocal.pl has formerly been part of perl-core-libs but been marked as deprecated for quite some time. Due to that fact the library has been removed from the packaged and is not provided any more since the opensuse 12.2 release. For details refer to the following link:

http://software.opensuse.org/package/perl-Perl4-CoreLibs

Solution: Use up to date perl components or ship the missing functionality with webmin directly.

Discussion

  • Jamie Cameron
    Jamie Cameron
    2012-09-10

    • status: open --> closed-fixed
     
  • Jamie Cameron
    Jamie Cameron
    2012-09-10

    Thanks for pointing this out - I will switch Webmin to using "use Time::Local" instead in the next release.