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 <[EMAIL PROTECTED]> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to