Re: How to change default snmp.conf path from "c:\usr\ect" to a relative path
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 17/01/2008, Xia Zhongwu <[email protected]> wrote: > Currently, I build Net-SNMP on windows with default config, How? Using Visual Studio, or some other mechanism? > I found that it always read snmp.conf from > "c:\usr\ect\snmp.conf" when I start snmpd.exe. > How to change default snmp.conf path from "c:\usr\ect" to a relative > path of the running snmpd.exe? The base of the running installation is set in the file win32/net-snmp/net-snmp-config.h Look for the definition of INSTALL_BASE Or use the Windows configure script win32/Configure --prefix=D:\not\usr I'm not sure how easy it would be to set things up with relative paths. Suck it and See. Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users