Chris> It doesn't need kernel support to build with ipv6 support.
Chris> Trying to use the ipv6 support without it in the kernel is the
Chris> only problem.

dgilbert> Well... ruby refuses to build with IPv6 if it's not enabled and mtr
dgilbert> dies with a "cannot open socket".

dgilbert> In escence, both ports (and possibly others) don't work in 4.0 without 
dgilbert> INET6 in your kernel.

Thanks for the reporting. I attach the patch for ruby. I've already
send it to the maintainer.

As for mtr, I'll check it.

---
Munechika SUMIKAWA @ KAME Project / FreeBSD.org

Index: patches/patch-aa
===================================================================
RCS file: /home/ncvs/ports/lang/ruby/patches/patch-aa,v
retrieving revision 1.1
diff -u -r1.1 patch-aa
--- patches/patch-aa    2000/01/12 19:16:44     1.1
+++ patches/patch-aa    2000/02/20 13:06:46
@@ -1,5 +1,5 @@
 --- ext/socket/extconf.rb.orig Fri Oct 29 13:45:41 1999
-+++ ext/socket/extconf.rb      Wed Jan 12 17:15:03 2000
++++ ext/socket/extconf.rb      Sun Feb 20 22:04:32 2000
 @@ -57,8 +57,6 @@
  #endif
  EOF
@@ -9,3 +9,14 @@
      $CFLAGS="-DINET6 "+$CFLAGS
    elsif File.directory? "/usr/inet6"
      $ipv6type = "linux"
+@@ -225,7 +223,9 @@
+     }
+   }
+ 
+-  if (inet6 != 2 || inet4 != 2)
++  if (!(inet4 == 0 || inet4 == 2))
++    goto bad;
++  if (!(inet6 == 0 || inet6 == 2))
+     goto bad;
+ 
+   if (aitop)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to