net/net-snmp は patch を 某所に送って
見た
configure: error: mib module "mibII/at" requires module ""
but .h or .c could not be found in ./agent/mibgroup
変な表示だな。
configure:13738: WARNING: mib module error
configure:13740: error: mib module "mibII/at" requires module "" but .h or .c could not be found in ./agent/mibgroup
something wrong happens if $new_list is empty.
--- configure.orig 2006-07-14 06:58:38.000000000 +0900
+++ configure 2006-09-11 23:58:04.000000000 +0900
@@ -13723,13 +13723,20 @@
#---------------------
# check if $i has any other required modules
#
+ if test "x$new_list" != "x"; then
new_list="$new_list `$MODULECPP $srcdir/$mibdir/$i.h | grep config_require | sed 's/.*config_require(\(.*\)).*/\1/'`"
+ else
+ new_list="`$MODULECPP $srcdir/$mibdir/$i.h | grep config_require | sed 's/.*config_require(\(.*\)).*/\1/'`"
+ fi
+
if test $module_debug -eq 1; then
echo " $i will test: $new_list"
fi
if test "x$new_list" != "x"; then