This is a discussion on Re: 5.4 Open Issues within the SNMP Coders forums, part of the Networking and Network Related category; --===============2031909360== Content-Type: multipart/alternative; boundary=Apple-Mail-1--258701319 --Apple-Mail-1--258701319 Content-Transfer-Encoding: quoted-printable Content-...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============2031909360== Content-Type: multipart/alternative; boundary=Apple-Mail-1--258701319 --Apple-Mail-1--258701319 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8; delsp=yes; format=flowed On 10-Oct-2006, at 12:19 PM, Dave Shield wrote: > On 10/10/06, Dave Shield <D.T.Shield@csc.liv.ac.uk> wrote: >> I offer the following list - complete with comments and strawman >> proposals - for the purpose of stimulating debate: > > Argghh. > I knew there was another issue I wanted to add: > > 11) Darwin build > There have been reports of the HAL CPU code failing to > build on Darwin > systems. I've submitted a patch that should partially > address this, but > probably isn't a complete solution. And I gather there > may be other problems > with this build. > What's the current state of play under Darwin? I've been having issues building the Perl modules (not just embedded =20 Perl) on OS X. The patches I have to properly enable the CPU (and memory) code =20 allows it to compile; I don't know if it runs properly because Perl =20 is blocking the full build and install. The patch to memory_darwin.c has already been applied to CVS. Here is =20= the patch I have for cpu.h and memory.h: =EF=BF=BC --chris net-snmp-owners at group.apple.com --Apple-Mail-1--258701319 Content-Type: multipart/mixed; boundary=Apple-Mail-2--258701319 --Apple-Mail-2--258701319 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 <HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; = -khtml-line-break: after-white-space; "><DIV><DIV>On 10-Oct-2006, at = 12:19 PM, Dave Shield wrote:</DIV><BR = class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite"><P = style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Courier" = size=3D"3" style=3D"font: 11.0px Courier">On 10/10/06, Dave Shield = <<A = href=3D"mailto:D.T.Shield@csc.liv.ac.uk">D.T.Shiel d@csc.liv.ac.uk</A>> = wrote:</FONT></P> <BLOCKQUOTE type=3D"cite"><P style=3D"margin: 0.0px = 0.0px 0.0px 10.0px"><FONT face=3D"Courier" size=3D"3" style=3D"font: = 11.0px Courier">I offer the following list - complete with comments and = strawman</FONT></P> <P style=3D"margin: 0.0px 0.0px 0.0px 10.0px"><FONT = face=3D"Courier" size=3D"3" style=3D"font: 11.0px Courier">proposals - = for the purpose of stimulating debate:</FONT></P> </BLOCKQUOTE><P = style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Courier; = min-height: 13.0px"><BR></P> <P style=3D"margin: 0.0px 0.0px 0.0px = 0.0px"><FONT face=3D"Courier" size=3D"3" style=3D"font: 11.0px = Courier">Argghh.</FONT></P> <P style=3D"margin: 0.0px 0.0px 0.0px = 0.0px"><FONT face=3D"Courier" size=3D"3" style=3D"font: 11.0px = Courier">I knew there was another issue I wanted to add:</FONT></P> <P = style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Courier; = min-height: 13.0px"><BR></P> <P style=3D"margin: 0.0px 0.0px 0.0px = 0.0px"><FONT face=3D"Courier" size=3D"3" style=3D"font: 11.0px = Courier">11)<SPAN class=3D"Apple-converted-space">=A0 </SPAN>Darwin = build</FONT></P> <P style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT = face=3D"Courier" size=3D"3" style=3D"font: 11.0px Courier"><SPAN = class=3D"Apple-converted-space">=A0 =A0 =A0 =A0 =A0 =A0 </SPAN>There = have been reports of the HAL CPU code failing to</FONT></P> <P = style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Courier" = size=3D"3" style=3D"font: 11.0px Courier">build on Darwin</FONT></P> <P = style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Courier" = size=3D"3" style=3D"font: 11.0px Courier"><SPAN = class=3D"Apple-converted-space">=A0 =A0 =A0 =A0 =A0 =A0 = </SPAN>systems.<SPAN class=3D"Apple-converted-space">=A0 </SPAN>I've = submitted a patch that should partially</FONT></P> <P style=3D"margin: = 0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Courier" size=3D"3" style=3D"font: = 11.0px Courier">address this, but</FONT></P> <P style=3D"margin: 0.0px = 0.0px 0.0px 0.0px"><FONT face=3D"Courier" size=3D"3" style=3D"font: = 11.0px Courier"><SPAN class=3D"Apple-converted-space">=A0 =A0 =A0 =A0 =A0 = =A0 </SPAN>probably isn't a complete solution.<SPAN = class=3D"Apple-converted-space">=A0 </SPAN>And I gather there</FONT></P> = <P style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Courier" = size=3D"3" style=3D"font: 11.0px Courier">may be other = problems</FONT></P> <P style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT = face=3D"Courier" size=3D"3" style=3D"font: 11.0px Courier"><SPAN = class=3D"Apple-converted-space">=A0 =A0 =A0 =A0 =A0 =A0 </SPAN>with this = build.</FONT></P> <P style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT = face=3D"Courier" size=3D"3" style=3D"font: 11.0px Courier"><SPAN = class=3D"Apple-converted-space">=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 = </SPAN>What's the current state of play under Darwin?</FONT></P> = </BLOCKQUOTE></DIV><DIV><BR class=3D"khtml-block-placeholder"></DIV>I've = been having issues building the Perl modules (not just embedded Perl) on = OS X.<DIV><BR class=3D"khtml-block-placeholder"></DIV><DIV>The patches I = have to properly enable the CPU (and memory) code allows it to compile; = I don't know if it runs properly because Perl is blocking the full build = and install.</DIV><DIV><BR = class=3D"khtml-block-placeholder"></DIV><DIV>The patch to = memory_darwin.c has already been applied to CVS. Here is the patch I = have for cpu.h and memory.h:</DIV><DIV><SPAN></SPAN></DIV></BODY></HTML>= --Apple-Mail-2--258701319 Content-Transfer-Encoding: 7bit Content-Type: application/octet-stream; x-unix-mode=0644; name=cpu.patch Content-Disposition: attachment; filename=cpu.patch --- net-snmp-5.4/agent/mibgroup/hardware/cpu.h 2006-08-27 10:04:22.000000000 -0700 +++ net-snmp/agent/mibgroup/hardware/cpu.h 2006-10-03 17:18:30.000000000 -0700 @@ -6,7 +6,7 @@ #elif (defined(freebsd2) || defined(freebsd3) || defined(freebsd4) || defined(freebsd5)|| defined(freebsd6)) config_require(hardware/cpu/cpu_nlist) -#elif (defined(netbsd) || defined(netbsd1) || defined(netbsdelf) || defined(netbsdelf2)|| defined(netbsdelf3) || defined(openbsd2)|| defined(openbsd3)) +#elif (defined(netbsd) || defined(netbsd1) || defined(netbsdelf) || defined(netbsdelf2)|| defined(netbsdelf3) || defined(openbsd2)|| defined(openbsd3)) || defined(darwin) config_require(hardware/cpu/cpu_sysctl) #elif (defined(aix4) || defined(aix5)) --- net-snmp-5.4/agent/mibgroup/hardware/memory.h 2006-09-26 15:39:32.000000000 -0700 +++ net-snmp/agent/mibgroup/hardware/memory.h 2006-10-03 18:12:56.000000000 -0700 @@ -2,6 +2,7 @@ config_arch_require(aix4, hardware/memory/memory_aix) config_arch_require(aix5, hardware/memory/memory_aix) config_arch_require(darwin8, hardware/memory/memory_darwin) +config_arch_require(darwin9, hardware/memory/memory_darwin) config_arch_require(dynix, hardware/memory/memory_dynix) config_arch_require(freebsd2, hardware/memory/memory_freebsd) config_arch_require(freebsd3, hardware/memory/memory_freebsd) --Apple-Mail-2--258701319 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=US-ASCII <HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><SPAN></SPAN></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Times; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>--chris</DIV><DIV>net-snmp-owners at group.apple.com</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></DIV></BODY></HTML> --Apple-Mail-2--258701319-- --Apple-Mail-1--258701319-- --===============2031909360== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642 --===============2031909360== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders --===============2031909360==-- |