Net-Snmp
From CBLFS
Revision as of 08:00, 26 February 2010 by Chipster19 (talk | contribs)
Download Source: | http://sourceforge.net/projects/net-snmp/files/net-snmp/5.5/net-snmp-5.5.tar.gz |
---|
Contents
Introduction to Net-Snmp
Simple Network Management Protocol (SNMP) is a widely used protocol for monitoring the health and welfare of network equipment (eg. routers), computer equipment and even devices like UPSs.
Project Homepage: Unknown
Dependencies
Non-Multilib
Compile the package:
./configure --prefix=/usr && make
Install the package
make install
Multilib
32Bit
Compile the package:
export USE_ARCH=32 && CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ ./configure --prefix=/usr && make
Install the package
make install && mv /usr/bin/net-snmp-config{,-32} unset USE_ARCH
N32
Compile the package:
export USE_ARCH=n32 && CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=n32 \ ./configure --prefix=/usr --libdir=/usr/lib32 && make
Install the package
make install && mv /usr/bin/net-snmp-config{-n32} && unset USE_ARCH
64Bit
Compile the package:
export USE_ARCH=64 && CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \ ./configure --prefix=/usr --libdir=/usr/lib64 && make
Install the package
make install && mv /usr/bin/net-snmp-config{,-64} ln -sfv multiarch_wrapper /usr/bin/net-snmp-config && unset USE_ARCH