I installed the setuptools package for ubuntu (named python-setuptools) and
then did again :
m...@sumac-clusterhead-1:~/net-snmp-5.4.2.1/python$ python setup.py build
>
I have lots of errors, so I posted it on pastebin again :
http://pastebin.ca/1489465
It seems that nothing is good :/
Thank you
2009/7/9 François Dumont <francoisdumon...@gmail.com>
> When trying that :
>
> cd python
>> python setup.py build
>> sudo python setup.py install
>
>
> I have this problem :
>
> m...@sumac-clusterhead-1:~/net-snmp-5.4.2.1$ cd python/
>> m...@sumac-clusterhead-1:~/net-snmp-5.4.2.1/python$ python setup.py build
>> Traceback (most recent call last):
>> File "setup.py", line 2, in <module>
>> from setuptools import setup, Extension, find_packages
>> ImportError: No module named setuptools
>
>
> How do I fix this problem ?
>
> Thank you
>
> 2009/7/9 Dave Shield <d.t.shi...@liverpool.ac.uk>
>
> 2009/7/9 François Dumont <francoisdumon...@gmail.com>:
>> >> 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
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