Re: [libsmi] two libsmi 0.2 bugs on Solaris

Saurabh> I am writing this to report two libsmi bugs I encountered on Solaris Saurabh> sun4u systems.
Thank you very much and sorry for the late response.
Saurabh> 1. core dump on MIB module location search
Saurabh> If SMIPATH is not set to include locations of imported MIB Saurabh> modules, then smidump/smilint will dump core instead of Saurabh> exiting gracefully with an error message.
Thanks. I've fixed this to check for the availability of imported modules and claim about missing modules at severity level 1. However, the parsers tries to continue parsing. So, I've changed some more points in the parser code, so that it crashes at least in less cases.
Saurabh> 2. make install error
Saurabh> There is an error towards the end of "make install" :
Saurabh> Making install in test Saurabh> Making install in mibs Saurabh> Making install in dumps Saurabh> Making install in doc Saurabh> make: Warning: Too many rules defined for target config.h Saurabh> Current working directory /home/tornado/jang/local/libsmi-0.2
I can't find a problem here. There's nearly nothing to be done in the doc directory. Maybe, it's been a temporary bug. Please let me know, if this problem still exists.
Saurabh> I also noticed that setting the "prefix" setting to the Saurabh> desired value (in this case /home/tornado/jang/local) is not Saurabh> enough to cause the MIBs to be installed in Saurabh> "prefix"/share/mibs which still want to go into Saurabh> /usr/local/share/mibs (where I don't have write perms, Saurabh> although there was no error message when the write must have Saurabh> failed).
Thanks. I've fixed this bug. The --with-mibdir default is now $datadir/mibs == $prefix/share/mibs. -- !! This message is brought to you via the `libsmi' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to libsmi-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/libsmi/ for more information.
participants (1)
-
Frank Strauss