[new MIB module]Can't compile the agent

CHAHIBI Samira <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi all,
Now that I have my leadTechDesign.h and  leadTechDesign.c files completed, i want to compile my agent with this new MIB module. according to net-snmp wiki tutorial, i must copy this files into a agent/mibgroup/leadTechDesign.h and agent/mibgroup/leadTechDesign.c file and make:
./configure --with-mib-modules="leadTechDesign"
make
make install

I'm on fedora and I installed net-snmp with "yum install" command, I didn't download the net-snmp-5.4.1.tar package, so I don't find in my system the agent/mibgroup folder, neither the necessery header files net-snmp/net-snmp-config.h, net-snmp/net-snmp-includes.h and net-snmp/agent/net-snmp-agent-includes.h.
Where should I put my files in this case? What commands should  I perform  to  compile  the agent with new mib module?
Thanks for your help.

P.S : What I've done is the following:
$ yum install net-snmp net-snmp-utils
$ yum install net-snmp-libs
$ yum install net-snmp-perl
$ yum install net-snmp-devel
$ yum list | grep -i net-snmp
net-snmp.i386                            1:5.4-17.fc7           installed       
net-snmp-devel.i386                      1:5.4-17.fc7           installed       
net-snmp-libs.i386                       1:5.4-17.fc7           installed       
net-snmp-perl.i386                       1:5.4-17.fc7           installed       
net-snmp-utils.i386                      1:5.4-17.fc7           installed       
perl-Net-SNMP.noarch                     5.2.0-1.fc6            fedora

I have now: snmpd under /etc/init.d
                  snmpd.conf under  /etc/snmp
                    an snmp folder unde /usr/share/  with:
 $ ls /usr/share/snmp
mib2c.access_functions.conf    mib2c-data                 mib2c.row.conf
mib2c.array-user.conf          mib2c.emulation.conf       mib2c.scalar.conf
mib2c.check_values.conf        mib2c.genhtml.conf         mib2c.table_data.conf
mib2c.check_values_local.conf  mib2c.int_watch.conf       mibs
mib2c.column_defines.conf      mib2c.iterate_access.conf  snmpconf-data
mib2c.column_enums.conf        mib2c.iterate.conf         snmpd.conf
mib2c.column_storage.conf      mib2c.mfd.conf             snmp_perl.pl
mib2c.conf                     mib2c.notify.conf          snmp_perl_trapd.pl
mib2c.container.conf           mib2c.old-api.conf
mib2c.create-dataset.conf      mib2c.perl.conf
     



_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE

-------------------------------------------------------------------------
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
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.