Skip to content
Bill Fenner edited this page Aug 30, 2018 · 1 revision

RedHat Enterprise Linux

RHEL 4

RHEL uses the following configure options to build their RPM (which was based on release 5.1.2 the last time I checked): Architecture specific flags are omitted.

  • {|

'--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include/net-snmp' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--enable-static' '--enable-shared' '--with-cflags=-O2 -g -lcrypto' '--with-sys-location=Unknown' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/var/net-snmp' '--with-mib-modules=host agentx smux ucd-snmp/lmSensors' '--with-libwrap=/usr/lib' '--sysconfdir=/etc' '--enable-ipv6' '--enable-ucd-snmp-compatibility' '--enable-mfd-rewrites' '--with-pic' '--with-sys-contact=root@localhost' 'CFLAGS=-O2 -g -lcrypto' |}

RHEL 3

RHEL uses the following configure options to build their RPM (which was based on release 5.0.9 the last time I checked). Architecture specific flags are omitted.

  • {|

--program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include/net-snmp --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --enable-static --enable-shared '--with-cflags=-O2 -g' --with-sys-location=Unknown --with-logfile=/var/log/snmpd.log --with-persistent-directory=/var/net-snmp '--with-mib-modules=host agentx smux' --with-libwrap=/usr/lib --sysconfdir=/etc --enable-ipv6 --enable-ucd-snmp-compatibility --with-sys-contact=root@localhost |}

Clone this wiki locally