I get a: Perl module Authen::PAM needed for PAM is not installed : Can't locate Authen/PAM.pm in @INC
error as the next line after every: miniserv.pl started
To refresh your memory about my system setup. Fedora 6 with a fresh base install then updating everything with yum and then an install.sh with virtualmin.
As mentioned before in other posts... I played around with the GPL version before going pro - I manually installed the GPL. I manually had already installed webmin too. (again, this was about three weeks ago; but, for past few days things have been as I stated in the previous paragraph.)
I would get the Authen::PAM error back then.
It took a bunch of work to get either Authen module installed into perl. Webmin could not do it by itself. I had to spend a hour or two with the CPAN shell and still didn't get the libwrap one to install.
I just tried to get them installed on this new installation and am remembering a few things that went on.
Clicking on Perl Modules in the webmin "Others" category showed that there were three perl modules that webmin suggested installing.
IO::Pty - it installed OK. (but only after installing it all by itself because it was the last of the three in the list to be installed so webmin would never get to it because the other two would prevent things from getting that far.) Anyway... it installed by itself fine.
Authen::PAM - it took some work - the error that comes up is no header file pam_appl.h was found. In the README it said to install the pam_devel pak and doing that fixed the install choke. So, installing the fedora6 pam-devel[[oper]] package provided the missing header file and the install worked.
Authen::Libwrap - I can't/haven't been able to get installed. There are a lot of tests that fail and it says it will not install without force. The first error that occurs that I'm thinking is causing the rest of everything to go awry is:
Error: Function definition too short '/ * EOF * /' in Libwrap.xs, line 32
I just can't get it Authen::Libwrap going so far. Any ideas? Why is webmin suggesting it be installed?
The other two I report so maybe it'll help you with someone else as I appears the errors occured because of the default makeup of my operating system. (Tending to make something like this slow to come to your attention).
This Libwrap.xs file does in fact end at line 32 with the EOF. It begin with a five include statement and I found all five files. I believe they would be in the perl @INC path.