Hello,
I run a Nagios server on an AIX 4.3 PowerPC.
Unfortunately I am chained to this old iron and and daft OS
because this is my only gateway for monitoring hosts in
firewalled LANs.
I loath this platform because I always encounter almost
unsurmountable difficulties
whenever I need to install stuff that is in any way dependent on
some crypto or otherwise
demanding libraries, which on the other hand would compile within
a tick on any average
Linux box.
So far I have had my Nagios notifications sent via our SMTP
relay,
but what if that fails?
So I set up a Jabber server on another HP-UX box,
and registered a client on it.
I only want to establish instant messaging via this Jabber server
as an alternative
for Nagios alert notifications.
Thus I wanted to install the CPAN module Net::Jabber which
depends on Net::XMMP
which depends on XML::Stream which depends on (among others)
Authen::SASL,
and was once again bitten by the AIX platform deficiencies.
It seems that I am forced to use the "simple" authentication and
security layer
despite the fact that I will most certainly never make any use of
it because both
my Nagios server and my Jabber server run in a shielded (fwalled)
LAN.
However, did I at least manage to compile and install libgsasl
from the GNU FSF
which went to /usr/local/lib.
The usually recommended "perl -MCPAN -e 'install Net::XMMP'" was
of course
predoomed to failure because I already got kicked out by the
horrible failing
of all Authen::SASL tests.
Unfortunately there is no README that explains how to install
Authen::SASL.
When I run a simple
$ perl Makefile.PL
*** Module::AutoInstall version 1.02
*** Checking for Perl dependencies...
[DIGEST-MD5 mechanism]
- Digest::MD5 ...loaded. (2.33)
[CRAM-MD5 mechanism]
- Digest::HMAC_MD5 ...loaded. (1.01)
[GSSAPI mechanism]
- GSSAPI ...missing.
==> Auto-install the 1 optional module(s) from CPAN? [n]
*** Module::AutoInstall configuration finished.
Can't call method "load" on an undefined value at
inc/Module/Install.pm line 164
, <STDIN> line 1.
there seems to be some Autoload issue, I would guess.
(couldn't this be trapped in e.g. an eval block by some can()
method call?)
$ sed -n 163,165p inc/Module/Install.pm
sub call {
my ($self, $method) = @_;
my $obj = $self->load($method) or return;
It also makes no difference whether I provide a hint where to
look for libgsasl
like
$ LDDFLAGS=-L/usr/local/lib perl Makefile.PL
or so
$ perl Makefile.PL LDDFLAGS=-L/usr/local/lib
and the Makefile.PL MakeMaker stub provides no hints what one
could pass
to WriteMakefile() to remedy this.
Please, give me a clue what needs to be done to get Authen::SASL
installed,
or even better yet, how to bypass it and get Net::XMMP installed
nevertheless.
Yours faithfully
Ralph Grothe