This is a discussion on Re: Net-snmp compilation issue within the SNMP Coders forums, part of the Networking and Network Related category; --===============0780034826== Content-Type: multipart/alternative; boundary="----=_Part_9622_3335045.1150804964786" ------=_Part_9622_3335045.1150804964786 Content-Type: text/plain; charset=ISO-8859-1; ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============0780034826==
Content-Type: multipart/alternative; boundary="----=_Part_9622_3335045.1150804964786" ------=_Part_9622_3335045.1150804964786 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Thomas, Thanks for your reply. Currently I am trying to compile the source in Solaris 10. With --enable-ipv6 --with-transports="UDP UDPIPv6 TCPIPv6 TCP" enabled. It failes to configure with below errror <<snip of config.log>> | #if HAVE_UNISTD_H | # include <unistd.h> | #endif | int | main () | { | if ((u_int64_t *) 0) | return 0; | if (sizeof (u_int64_t)) | return 0; | ; | return 0; | } configure:12439: result: no configure:12457: checking ipv6 stack type conftest.c:42:45: /usr/local/v6/include/sys/types.h: No such file or directory conftest.c:42:22: features.h: No such file or directory configure:12631: result: "unknown, no" configure:12661: checking for platform-specific source configure:12694: result: configure:12696: result: configure:12702: checking for and configuring transport modules to use configure:12779: error: IPv6 transports not available if IPv6 support is not enabled <<snip>> If I try to --enable-ipv6 --with-transports="UDP TCP" without "UDPIPv6 TCPIPv6" transports configure goes through fine... Any idea what is causing this issue. thanks, Pradhap.D On 6/20/06, Thomas Anders <thomas.anders@blue-cable.de> wrote: > > Pradhap D wrote: > > I am trying to compile latest net-snmp 5.3.1 with the options > > #./configure --enable-ipv6 --with-mib-modules='host disman/event-mib > ucd-snmp/diskio' --with-cflags=-Dsolaris_2 --with-transports='UDP > UDPIPv6 > > TCPIPv6 TCP' > > > > But it thows error as > > > > checking for uint64_t... yes > > checking for u_int64_t... no > > checking ipv6 stack type... "unknown, no" > > checking for platform-specific source... > > > > checking for and configuring transport modules to use... > > configure: error: IPv6 transports not available if IPv6 support is not > > enabled > > What OS version are you running? Based on your > "--with-cflags=-Dsolaris_2" (what do you need this for?) I assume you're > running Solaris at least. Based on my testing, --enable-ipv6 works fine > on Solaris 8 and later. > > If it doesn't work for you, you need to look into config.log to see why > it fails. You may also want to try ommitting the UDPIPv6 and TCPIPv6 > transports as I think they'll be added automatically on --enable-ipv6. > > > +Thomas > > -- > Thomas Anders (thomas.anders at blue-cable.de) > > > _______________________________________________ > Net-snmp-coders mailing list > Net-snmp-coders@lists.sourceforge.net > https://lists.sourceforge.net/lists/...et-snmp-coders > ------=_Part_9622_3335045.1150804964786 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Thomas,<br> Thanks for your reply. Currently I am trying to compile the source in Solaris 10. With --enable-ipv6 --with-transports="UDP UDPIPv6 TCPIPv6 TCP" enabled. It failes to configure with below errror <br> <br> <<snip of config.log>><br> <br> | #if HAVE_UNISTD_H<br> | # include <unistd.h><br> | #endif<br> | int<br> | main ()<br> | {<br> | if ((u_int64_t *) 0)<br> | return 0;<br> | if (sizeof (u_int64_t))<br> | return 0;<br> | ;<br> | return 0;<br> | }<br> configure:12439: result: no<br> configure:12457: checking ipv6 stack type<br> conftest.c:42:45: /usr/local/v6/include/sys/types.h: No such file or directory<br> conftest.c:42:22: features.h: No such file or directory<br> configure:12631: result: "unknown, no"<br> configure:12661: checking for platform-specific source<br> configure:12694: result: <br> configure:12696: result: <br> configure:12702: checking for and configuring transport modules to use<br> configure:12779: error: IPv6 transports not available if IPv6 support is not enabled<br> <br> <<snip>><br><br> If I try to --enable-ipv6 --with-transports="UDP TCP" without "UDPIPv6 TCPIPv6" transports configure goes through fine...<br> <br> Any idea what is causing this issue.<br> <br> thanks,<br> Pradhap.D<br> <br><div><span class="gmail_quote">On 6/20/06, <b class="gmail_sendername">Thomas Anders</b> <<a href="mailto:thomas.anders@blue-cable.de">thomas.anders@blue-cable.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Pradhap D wrote:<br>> I am trying to compile latest net-snmp 5.3.1 with the options<br>> #./configure --enable-ipv6 --with-mib-modules='host disman/event-mib</blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> > ucd-snmp/diskio' --with-cflags=-Dsolaris_2 --with-transports='UDP UDPIPv6<br>> TCPIPv6 TCP'<br>><br>> But it thows error as<br>><br>> checking for uint64_t... yes<br>> checking for u_int64_t... no <br>> checking ipv6 stack type... "unknown, no"<br>> checking for platform-specific source...<br>><br>> checking for and configuring transport modules to use...<br>> configure: error: IPv6 transports not available if IPv6 support is not <br>> enabled<br><br>What OS version are you running? Based on your<br>"--with-cflags=-Dsolaris_2" (what do you need this for?) I assume you're<br>running Solaris at least. Based on my testing, --enable-ipv6 works fine <br>on Solaris 8 and later.<br><br>If it doesn't work for you, you need to look into config.log to see why<br>it fails. You may also want to try ommitting the UDPIPv6 and TCPIPv6<br>transports as I think they'll be added automatically on --enable-ipv6. <br><br><br>+Thomas<br><br>--<br>Thomas Anders (thomas.anders at <a href="http://blue-cable.de">blue-cable.de</a>)<br><br><br>___________________________________ ____________<br>Net-snmp-coders mailing list<br><a href="mailto:Net-snmp-coders@lists.sourceforge.net"> Net-snmp-coders@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/net-snmp-coders">https://lists.sourceforge.net/lists/listinfo/net-snmp-coders</a><br></blockquote></div><br> ------=_Part_9622_3335045.1150804964786-- --===============0780034826== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============0780034826== 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 --===============0780034826==-- |