|
Posted by Marcel van Leeuwen on April 6, 2006, 10:32 am
Please log in for more thread options
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
|
|
Posted by Sisyphus on April 6, 2006, 7:34 pm
Please log in for more thread options
.
.
>
> 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
|
|
Posted by Marcel van Leeuwen on April 9, 2006, 10:54 am
Please log in for more thread options
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:
> .
> .
>
>>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
>
>
|
|
Posted by Sisyphus on April 10, 2006, 1:44 am
Please log in for more thread options
.
.
>
> 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
|
|
Posted by harryfmudd [AT] comcast [DOT] on April 10, 2006, 1:57 pm
Please log in for more thread options
Sisyphus wrote:
> .
> .
>
>>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
|
| Similar Threads | Posted | | Seeking Namespace Advice (MVS OS/390 Mainframe Util.) | March 23, 2005, 8:49 am |
| NET::SNMP | December 14, 2004, 12:32 am |
| NET::SNMP | December 14, 2004, 12:36 am |
| NET::SNMP | December 14, 2004, 12:39 am |
| net::snmp | November 5, 2006, 6:30 am |
| SNMP Set Request | July 26, 2004, 8:42 pm |
| Looking for SNMP-5.1.1/NetSNMP-5.1.1 | April 29, 2005, 3:48 pm |
| Help with SNMP get_request | April 21, 2006, 3:49 pm |
| Net::SNMP module | June 2, 2006, 10:29 am |
| please helpme: Net-SNMP-5.2.0 module | August 29, 2006, 11:47 am |
|