Re: RE: Forcing configure to look in directories other than ./agent/mibgroup

parveen yadav <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Richard Gipps wrote:
> Hi Dave,
> 		Thanks for the advice.
>
> Regards,
> Richard.
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield
> Sent: Tuesday, 31 March 2009 6:36 PM
> To: Richard Gipps
> Cc: [email protected]
> Subject: Re: Forcing configure to look in directories other than ./agent/mibgroup
>
> 2009/3/31 Richard Gipps <[email protected]>:
>   
>> Is there any way to force configure to look in directories other than
>> netsnmp-5.4.2.1/agent/mibgroup for mib source code?
>>     
>
> No.
>
>   
>> my source files are not in the netsnmp-5.4.2.1 directory structure.
>>     
>
> Then copy them there.
> Or insert a link there pointing at the directory where they do reside.
>
>
> If you are working with dynamically loadable modules, or a separate
> subagent, then you could use a local Makefile to compile your code
> independently of the main Net-SNMP agent.
>    But if you are building a single static agent, then everything must
> be (or appear to be) within the agent/mibgroup subtree.
>
> Dave
>
>
>   
this might help

Use configure_require in a header file to give path of your mib modules.
put this file in  /agent/mibgroup.
now you can use configure using --with-mib-modules="___.h"

parveen yadav

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

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.