Re: Segmentation fault

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/7/9 François Dumont <[email protected]>:
>>     Have you tried applying the patch mentioned in that bug report?
>>     It's a one-line change to the file 'python/netsnmp/client_intf.c'
>>       (Though you would also need to recompile/install the python module)
>>
>>     Dave
>
> I'm using the library libsnmp-python available in the depositories of
> Ubuntu. The version of this library is 5.4.1~dfsg-4ubuntu4.2.

Hmmm....  this code affected by this patch doesn't seem to be present
in the 5.4.1 release.   It's fixing a bug that was introduced after 5.4.1
was released.
   That's assuming that Ubuntu's 5.4.1 is the same as ours, of course!


> I downloaded the lastest sources ...
> [and] tried to compile these sources (./configure, then make). But I had a
> problem with the make

I don't think you need to compile the whole of the Net-SNMP suite.
Just the python module should be sufficient.

Try
      cd python
      python setup.py build
      sudo python setup.py install

Dave

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.