Hi Seshu, I think what you actually need in the net-snmp-devel RPM package. Install this, and you should find that the below #include statements will stop failing. (See /usr/include/net-snmp.) But with this you will be introducing a new build dependency: 1. First talk to Mardy Marshall about getting this RPM installed on the build machines. 2. In your code patch, include addition of "net-snmp-devel" to the YUM_PACKAGES in main/extras/ede/ede_base_root.sh. This will ensure that new EDEs will continue to work seamlessly. 3. Update the list of dependencies at http://sipx-wiki.calivia.com/index.php/Setting_up_a_development_environm ent_on_Fedora - EDE largely obsoletes these instructions, but some people still use them. 4. When the code is about to be submitted: Announce the change on the sipx-dev list. People with existing development environments will want to know what to fix when they pull in the code with the new dependency. Others please chime in if I've missed anything. Thanks.
-Paul [email protected] ________________________________ From: Kollipara, Seshu-Babu (AMR:9T40) Sent: November 2, 2009 8:49 AM To: Mossman, Paul (CAR:9D30); 'Sipx-dev list' Subject: RE: [sipX-dev] Using net-snmp for issue XX-6870: Add SNMP traps as analarm notification method Hi Paul, The RPM packages of net-snmp are installed in the system. But the libraries and the header files required to use net-snmp in our code will not be available if net-snmp is installed from RPMs. For example, if we include the net-snmp header files (mentioned below) in a C program and compile it, we will get an error saying the files are not found. #include <net-snmp/net-snmp-config.h> #include <net-snmp/net-snmp-includes.h> The net-snmp has to be installed from the source to make these header files available for sipXecs. Please let us know the procedure followed to make an open source package (net-snmp) a part of the main code repository, so that net-snmp gets installed from the source when the sipXecs is compiled. Thanks & Regards, Seshu ________________________________ From: Mossman, Paul (CAR:9D30) Sent: 30 October 2009 18:25 To: Kollipara, Seshu-Babu (AMR:9T40); Sipx-dev list Subject: RE: [sipX-dev] Using net-snmp for issue XX-6870: Add SNMP traps as analarm notification method Hi Seshu, I checked on an ISO install and an EDE, both had the net-snmp RPM package installed. Is there something more that you need? -Paul [email protected] ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Kollipara, Seshu-Babu (AMR:9T40) Sent: October 30, 2009 7:29 AM To: Sipx-dev list Subject: [sipX-dev] Using net-snmp for issue XX-6870: Add SNMP traps as analarm notification method Hi all, This is regarding issue xx-6870 :Add SNMP traps as an alarm notification method. http://track.sipfoundry.org/browse/XX-6870 <http://track.sipfoundry.org/browse/XX-6870> There is a reference to net-snmp in the patch code attached in issue xx-5207. Issue xx-5207 is mentioned in xx-6870 as a guideline for implementing mibs. We couldn't find that net-snmp code(referring to xx-5207 patch) or the net-snmp libraries in the current Sipx code. Also as a part of our investigation we found that net-snmp is good fit for sipx. Please let us know your comments on using/introducing net-snmp for implementing the alarm notification via SNMP v2 traps. Thanks & Regards, Seshu
_______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev sipXecs IP PBX -- http://www.sipfoundry.org/
