Jan Safranek wrote:
> I've already tried this, but snmptrapd still creates files in /tmp. And
> if I patch the net-snmp-config.h.in manually, it creates it wherever I
> want.
> 
> There should be some #ifndef NETSNMP_TEMP_FILE_PATTERN in the .h file to
> make it working...

You're right. I've realized it myself shortly after hitting 'Send'.
The "--with-cflags=-D..." approach doesn't work for settings that are 
unconditionally defined in net-snmp-config.h, unfortunately. I agree there 
should be a way other than hacking net-snmp-config.h, though.


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)  

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to