Difference between revisions of "Net-Snmp"

From CBLFS
Jump to navigationJump to search
Line 72: Line 72:
 
  ln -sfv multiarch_wrapper /usr/bin/net-snmp-config &&
 
  ln -sfv multiarch_wrapper /usr/bin/net-snmp-config &&
 
  unset USE_ARCH
 
  unset USE_ARCH
 +
 +
[[Category:Network Applications]]

Revision as of 16:24, 19 March 2009

Download Source: http://superb-east.dl.sourceforge.net/sourceforge/net-snmp/net-snmp-5.5.tar.gz

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
Retrieved from "?title=Net-Snmp&oldid=17693"