On only two boxes I manage, I had problems updating net-snmp to net-snmp-5.4.2.1. During the compile I would receive the following failure message:
chmod 755 ../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.so
cp TrapReceiver.bs ../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.bs
chmod 644 ../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.bs
Manifying ../blib/man3/NetSNMP::TrapReceiver.3pm
make[2]: Leaving directory `/var/tmp/portage/net-analyzer/net-snmp-5.4.2.1/work/net-snmp-5.4.2.1/perl/TrapReceiver'
make[1]: Leaving directory `/var/tmp/portage/net-analyzer/net-snmp-5.4.2.1/work/net-snmp-5.4.2.1/perl'
Traceback (most recent call last):
File "setup.py", line 2, in <module>
from setuptools import setup, Extension, find_packages
ImportError: No module named setuptools
make: *** [pythonmodules] Error 1
The issue (as stated in the error message) was related to python's setuptools. The problem was the I did not run python-updater on those boxes after a recent python update. To fix the problem, simply execute the following:
python-updater -i
Recent comments
8 years 18 weeks ago
8 years 19 weeks ago
8 years 23 weeks ago
8 years 23 weeks ago
8 years 39 weeks ago
8 years 47 weeks ago
9 years 2 weeks ago
9 years 6 weeks ago
9 years 13 weeks ago
9 years 13 weeks ago