Re: [lisp-snmp] latest SBCL not working with latest cl-net-snmp
Brought to you by:
binghe
From: Chun T. (binghe) <bin...@gm...> - 2009-07-09 17:05:07
|
Hi, David Latest release of cl-net-snmp is a bit old, and your modifications on update-mib.lisp are not supported in theory. I'm not sure what exactly you want to do, but I suggest you trying my "trunk" code, in which SBCL are supported by update-mib.lisp already. You'll need following packages directly from SVN: 1) SNMP trunk (pre 6.0), checkout from https://cl-net-snmp.svn.sourceforge.net/svnroot/cl-net-snmp/snmp/trunk 2) ASN.1 trunk (pre 5.0), checkout from https://cl-net-snmp.svn.sourceforge.net/svnroot/cl-net-snmp/asn.1/trunk 3) USOCKET "experimental-udp" branch (pre 0.5), from svn://common-lisp.net/project/usocket/svn/usocket/branches/ experimental-udp I hope all your issues can be directly solved by these latest trunk code. Regards, Chun Tian (binghe) > I, with the help of a friend, discovered that many functions are not > exported unless used with the lispworks Common Lisp environment. This > includes seemingly very useful functions like 'snmp:update-mib. > > I'd REALLY like to use this project to test an SNMP agent I've been > developing in another language, but I really would like to be able to > compile MIBs too. > > Here's what I've done so far. > > [on snmp version 5.19] > > 1. I've asdf-installed the whole snmp software stack > 2. I've removed the #+(lispworks) line from above > (:file "update-mib" :depends-on ("mib")) > > so that I can get that file compiled via sbcl > > 3. to make update-mib.lisp compile I've commented out: > ;;; Empty and old MIB module > ;(eval-when (:load-toplevel :execute) > ; (setf *mib-name-map* > ; '((rfc1155-smi . snmpv2-smi) > ; (rfc1212 . nil) > ; (rfc-1212 . nil) > ; (rfc1213-mib . nil) > ; (rfc-1215 . nil))) > ; (make-mib-name-map)) > > from update-mib.lisp in the snmp-5.19 directory of my site lisp stuff. > > 4. Now I can (require :asdf) and (require :snmp) and everything > seemingly loads up ok. But when I try to use snmp:update-mib I get > complaints about undefined functions for asn.1:compile-asn.1 > > I'm at the point where I feel I need help, and would like to make sure > my changes, if they're any good, go upstream :-) > > > Any help would be greatly appreciated. I do love the with-open- > session and snmp-walk implementation and results by the way. This > looks like a great package! I hope I can use it! > > Dave > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited > time, > vendors submitting new applications to BlackBerry App World(TM) will > have > the opportunity to enter the BlackBerry Developer Challenge. See > full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > cl-net-snmp-general mailing list > cl-...@li... > https://lists.sourceforge.net/lists/listinfo/cl-net-snmp-general |