So, if you've been itching to try embedded perl in snmpd or snmptrapd, grab
net-snmp-5.2.2.pre1 from http://www.net-snmp.org/download/ when it appears
(should be later today, maybe Monday), and let us know how it works! (Grab the
V5-2-patches cvs branch if you can't wait.)

hi robert,

fyi, attempting to build net-snmp-5.2.2.pre1 on OSX 10.4.2, w/

unsetenv CFLAGS CPPFLAGS CXX CXXFLAGS LDFLAGS LDDLFLAGS LD_PREBIND LC_ALL LANG LINGUAS
setenv CPPFLAGS "-I/usr/local/berkeley-db/include -I/usr/local/ssl/include"
setenv LDFLAGS "-bind_at_load -L/usr/local/berkeley-db/lib -ldb -L/usr/local/ssl/lib -lcrypto -ldl"

echo "#undef ICMPSTAT_SYMBOL" >> include/net-snmp/system/darwin7.h

./configure \
 --prefix=/usr/local/net-snmp \
 --with-logfile=/var/Logs/snmpd.log \
 --sysconfdir=/var/Settings/NetSNMPd \
 --mandir=/var/Documentation/man \
 --with-persistent-directory=/var/Data/NetSNMPd \
--with-defaults \
--disable-mini-agent \
--enable-shared --disable-static \
--with-libwrap \
--with-default-snmp-version=3 \
--with-openssl=/usr/local/ssl \
[EMAIL PROTECTED] \
--with-perl-modules --enable-embedded-perl \
--without-rpm \
--with-transports="UDP TCP Unix Callback" \
--with-mib-modules="agentx disman/event-mib smux" \
--with-out-mib-modules="host mibII/icmp mibII/mta_sendmail " \
--disable-ipv6


result in a config of:

        ---------------------------------------------------------
                                Net-SNMP configuration summary:
        ---------------------------------------------------------

          SNMP Versions Supported:    1 2c 3
          Net-SNMP Version:           5.2.2.0.1
          Building for:               darwin8
          Network transport support:  UDP TCP Unix Callback
          SNMPv3 Security Modules:    usm
Agent MIB code: snmpv3mibs mibII/snmp_mib mibII/system_mib mibII/sysORTable mibII/vacm_vars utilities/execute agentx disman/event-mib smux
          SNMP Perl modules:          building -- embeddable
          Embedded perl support:      enabled
          Authentication support:     MD5 SHA1
          Encryption support:         DES AES

        ---------------------------------------------------------

subsequent

        % make
        % umask 022
        % make install

complete w/o immediately apparent error.

but:

        % /usr/local/net-snmp/sbin/snmpd -v

still results in:

        dyld: Symbol not found: _boot_DynaLoader
          Referenced from: /usr/local/net-snmp/lib/libnetsnmpagent.9.dylib
          Expected in: flat namespace

        Trace/BPT trap


let me know if/what info you need.

cheers,

richard

Attachment: pgpJETLswNE5j.pgp
Description: PGP signature

Reply via email to