Re: [CentOS] MIB browser

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



Quoting Guillermo Garron <guillermo.fedora@xxxxxxxxx>:

looking for mib browser once i used mbrowse in my Fedora 5, but now i
installed CENTOS 4.3 in my laptop instead of Fedora 5 (wich is still in my
Desktop)

i found this
http://lists.centos.org/pipermail/centos/2005-December/057991.html

is it true that CENTOS does not have mbrowse in none repo?

Seems that my previous posting was lost somewhere in the middle (could be because it had attachment on it)... Anyhow, second attempt.


Yup, it is not in any of the repos, and it seems that the source is a bit older one.

Download mbrowse-0.3.1.tar.gz from http://www.kill-9.org/mbrowse/, unpack it and apply the patch you'll find bellow. Execute "./configure" followed by "make". It should compile fine (provided you have all required devel RPMs installed). Type "make install" as root, and you should be set to go.

If compiling on x86_64, you'll need to do "./configure --with-snmp-lib=/usr/lib64". I haven't took the time to fix that bug.

Here's the patch. Watch for tabs if you do cut&paste. The changes are minor. The first is using netsnmp_get_version() instead of NetSnmpVersionInfo (obsoleted), and addition of break statement to the end of one swtich block (gcc 3.4.x doesn't like to see it missing).

===== 8< Cut Here 8<=====
--- configure.orig	2006-07-19 09:55:10.940949000 -0500
+++ configure	2006-07-19 09:56:40.738719000 -0500
@@ -4699,7 +4699,7 @@
           }

           #ifdef HAVE_NETSNMP
-	    version2 = strdup( NetSnmpVersionInfo );
+	    version2 = strdup( netsnmp_get_version() );
           #else
             version2 = strdup( VersionInfo);
           #endif
--- src/snmpstuff.c.orig	2006-07-19 09:59:21.388000000 -0500
+++ src/snmpstuff.c	2006-07-19 09:59:38.542789000 -0500
@@ -360,6 +360,7 @@
       case TYPE_NETADDR:
       case TYPE_OTHER:
       default:
+        break;
     }
   }
   if (type == 0) {
===== 8< Cut Here 8<=====

--
See Ya' later, alligator!
http://www.8-P.ca/

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux