SNMP::Util

SNMP::Util

am 06.04.2006 16:32:46 von Marcel van Leeuwen

Hi There,

Have been struggling whole afternoon on how to get SNMP::Util working.
My (wrong??, hope so) conclusion is that it is not compatible with the
current Perl version anymore. Where can I see whether it is depracated
or something like that?

I try to install it on Fedora Core 5 using cpan. Taking that the last
maintenance was on June 28 2000 this does not seem to weird.

Any suggestions, any modules that might be able to replace this one?

Kind regards,
Marcel

Re: SNMP::Util

am 07.04.2006 01:34:34 von Sisyphus

"Marcel van Leeuwen" wrote in message
..
..
>
> Have been struggling whole afternoon on how to get SNMP::Util working.
> My (wrong??, hope so) conclusion is that it is not compatible with the
> current Perl version anymore.

I think it should still be compatible (without actually knowing *anything*
about this module - and assuming it was, at some stage, compatible with
perl).

What errors were you getting ?

Cheers,
Rob

Re: SNMP::Util

am 09.04.2006 16:54:01 von Marcel van Leeuwen

During installation it only says that the tests fail and therefore will
not install. If you look at the prerequistes. I have tried all
combinations. I installed the newest SNMP package, the newest Net::SNMP
package. Even the fedora snmp-perl package but it does not install with
any of these. And since it did work on core 4 with a different perl
version (can't see which version since I put my new installation over it
:)) I (might be wrong) assumed that compatibility was lost when shifting
to either Fedora Core 5 or the newest Perl.

I am wondering how to turn on debug features with CPAN so that I can see
more about why the compilation fails.

Oh, and sorry for my late reply, have been away this weekend and have
only just come home again.

Thanks,
Marcel

Sisyphus wrote:
> "Marcel van Leeuwen" wrote in message
> .
> .
>
>>Have been struggling whole afternoon on how to get SNMP::Util working.
>>My (wrong??, hope so) conclusion is that it is not compatible with the
>>current Perl version anymore.
>
>
> I think it should still be compatible (without actually knowing *anything*
> about this module - and assuming it was, at some stage, compatible with
> perl).
>
> What errors were you getting ?
>
> Cheers,
> Rob
>
>

Re: SNMP::Util

am 10.04.2006 07:44:22 von Sisyphus

"Marcel van Leeuwen" wrote in message
..
..
>
> I am wondering how to turn on debug features with CPAN so that I can see
> more about why the compilation fails.
>

I would think that this question has been asked and answered on either this
list or c.l.p.misc (or both) - so a search of the archives might provide the
solution.

I don't use CPAN, so I can't tell you the answer - though I'm sure it can be
done, and would expect it to be explained somewhere in the CPAN
documentation.

I always install manually - download the tarball, unpack it, then run 'perl
Makefile.PL', 'make test', and 'make install'. If a test script (let's say
't/test.t') fails, then verbose output can be obtained by simply running:

perl -Mblib t/test.t

You could try it that way if you like.

Cheers,
Rob

Re: SNMP::Util

am 10.04.2006 19:57:18 von unknown

Sisyphus wrote:
> "Marcel van Leeuwen" wrote in message
> .
> .
>
>>I am wondering how to turn on debug features with CPAN so that I can see
>>more about why the compilation fails.
>>
>
>
> I would think that this question has been asked and answered on either this
> list or c.l.p.misc (or both) - so a search of the archives might provide the
> solution.
>
> I don't use CPAN, so I can't tell you the answer - though I'm sure it can be
> done, and would expect it to be explained somewhere in the CPAN
> documentation.
>
> I always install manually - download the tarball, unpack it, then run 'perl
> Makefile.PL', 'make test', and 'make install'. If a test script (let's say
> 't/test.t') fails, then verbose output can be obtained by simply running:
>
> perl -Mblib t/test.t
>
> You could try it that way if you like.
>
> Cheers,
> Rob
>
>

Assuming you do not want to mess with tar yourself:

cpan> look SNMP::Util

will download the tarball, unpack it, and drop you into the directory
you unpacked it into. This directory will be in whatever shape CPAN left
it in; that is, if you already did (e.g.) 'install SNMP::Util', it will
have had 'perl Makefile.PL', 'make', 'make test', and 'make install' (if
'make test' succeeded) done. If this is the first reference to
SNMP::Util in your CPAN session, you have to do these yourself.

Once you are in the directory of the unpacked and 'made' distribution,
either Rob's method or

$ make test TEST_VERBOSE=1

will work. I like Rob's way better because it lets you look at the test
script output one at a time.

Of course, this may not get you where you need to be, but it's a start.

Tom Wyant