Difference between revisions of "Net-Snmp"
From CBLFS
Jump to navigationJump to searchWeibullguy (talk | contribs) m |
|||
Line 28: | Line 28: | ||
Compile the package: | Compile the package: | ||
+ | export USE_ARCH=32 | ||
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ | ||
− | PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" | + | PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ |
./configure --prefix=/usr && | ./configure --prefix=/usr && | ||
make | make | ||
Line 37: | Line 38: | ||
make install && | make install && | ||
mv /usr/bin/net-snmp-config{,-32} | mv /usr/bin/net-snmp-config{,-32} | ||
+ | unset USE_ARCH | ||
=== N32 === | === N32 === |
Revision as of 19:14, 10 September 2008
Download Source: | http://superb-east.dl.sourceforge.net/sourceforge/net-snmp/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:
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}
64Bit
Compile the package:
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