[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with net-snmp-5.2.3



The net-snmp-5.2.3-7~bpo.1 package does not seem to support
the lmSensors queries.  I have tracked this down to a debian/rules
problem where rules is trying to get the architecture type using
an etch type query from dpkg-architecture, which doesn't work on sarge. I have looked and don't see an etch based dpkg-dev package.

The following patch should fix this, and allow net-snmp to compile and
respond to lmSensors queries.
(Patch is for net-snmp-5.2.3/debian/rules)



$ diff -u debian/rules.old debian/rules
--- debian/rules.old    2007-03-21 08:23:29.000000000 -0600
+++ debian/rules        2007-03-21 07:51:00.000000000 -0600
@@ -21,7 +21,7 @@
PERL=/usr/bin/perl
endif

-DEB_HOST_ARCH_OS = $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+DEB_HOST_ARCH_OS = $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM)

CFLAGS = -O2 -D_REENTRANT -DNETSNMP_USE_INLINE -Wall
ifneq "$(findstring debug,$(DEB_BUILD_OPTIONS))" ""


Reply to: