[ First - *please* don't mail me privately, without copying
     any responses to the mailing list.  I don't have the time
     or inclination to offer private, unpaid, SNMP consultancy.
     Keep discussions to the list, where others can both learn
     and offer advice.  Thanks.   ]

On 10/10/2007, Yogesh Ankolekar <[EMAIL PROTECTED]> wrote:
> Hi Dave,
>
> Thanks for your response.
> I donot have anything like SNMP.pm in response to "perl -V"
> What does that signify ?

It signifies that I wasn't clear enough last night.

The output of "perl -V" should end with a block looking something like:

  @INC:
    /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.8
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.8
    /usr/lib/perl5/vendor_perl
    /usr/lib/perl5/5.8.8/i386-linux-thread-multi
    /usr/lib/perl5/5.8.8

(The exact list will be different, but it should look something like that).

This is a list of directories on your system.   These directories are
where perl will look for various modules.

If the file SNMP.pm exists in one of these directories, then perl
should be picking it up (and the question is why this isn't working)
If the file SNMP.pm does *not* exist in any of these directories,
then that would explain the problems you are seeing.


> Regarding the build option, I thought that might help in resolving the
> issue.  Isn't that related ?

The configure option "--with-perl-modules" doesn't typically take any
value - it's simply a flag to say "Yes, I want the perl stuff included".

Although it is possible to give a value with this option, that's a fairly
specialised requirement.   You should only do this if you *know* that
this is needed.  And it wouldn't be the path to perl anyway.


Start with a clean slate.
Run configure using "--with-perl-modules"  (no value).
When you come to install the software, run this as

    make install 2>&1 | tee _make_install.txt

If mib2c still doesn't work, please post the output of "perl -V"
and the _make_install.txt file.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to