Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#8 Failing to compile

open
nobody
None
5
2005-08-27
2005-08-27
Anonymous
No

Install amanda webmin 0.5.0

Debian running webmin 1.210, installed using apt-get.
Works fine

Kernel 2.6.11

Select Amanda in webmin and get...

Undefined subroutine &main::init_config called at
./amanda-lib.pl line 39.
Compilation failed in require at
/usr/local/share/webmin/webmin-amanda-0.50-alpha/index.cgi
line 7.

Discussion

  • Logged In: YES
    user_id=764119

    This is due to the path where webmin-amanda gets installed
    under Debian. Debian installs it under
    /usr/local/share/webmin/webmin-amanda....
    You may solve the problem by substituing
    do '../web-lib.pl'
    require '/usr/share/webmin/web-lib.pl'
    in amanda-lib.pl
    I know almost nothing about Perl so may be there are better
    solutions but this works for me ;-)