From: Stacy Millions on 19 May 2010 18:45 On 05/19/10 15:25, Damian Gerow wrote: > Stacy Millions wrote: > : AAAA records are not part of the issue... if you want a quick and dirty > : test, try this > > Regardless, I tried with java.net.preferIPv4Stack=true, and it had no effect. Dug into the build process a bit... they use a bundled version of ant which doesn't call /usr/local/bin/java (who uses JAVAVM_OPTS). Try adding these two lines to the MAKE_ENV of the port's Makefile JAVACMD=${LOCALBASE}/bin/java \ JAVAVM_OPTS=-Djava.net.preferIPv4Stack=true \ and rerun make. It works for me. > : At least that is how things behave for me. > > That seems ... counter-intuitive. It seems counter to the documentation too http://java.sun.com/javase/6/docs/technotes/guides/net/ipv6_guide but I tend to take the pragmatic approach that when reality disagrees with the documentation, I believe reality :-) -stacy _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Damian Gerow on 20 May 2010 09:01 Stacy Millions wrote: : Dug into the build process a bit... they use a bundled version of ant : which doesn't call /usr/local/bin/java (who uses JAVAVM_OPTS). : : Try adding these two lines to the MAKE_ENV of the port's Makefile : JAVACMD=${LOCALBASE}/bin/java \ : JAVAVM_OPTS=-Djava.net.preferIPv4Stack=true \ : : and rerun make. It works for me. Yup, that seems to have fixed it. Thanks! : but I tend to take the pragmatic approach that when reality disagrees : with the documentation, I believe reality :-) Stupid reality, always getting in the way... _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Jung-uk Kim on 21 May 2010 10:50 On Thursday 20 May 2010 09:01 am, Damian Gerow wrote: > Stacy Millions wrote: > : Dug into the build process a bit... they use a bundled version of > : ant which doesn't call /usr/local/bin/java (who uses > : JAVAVM_OPTS). > : > : Try adding these two lines to the MAKE_ENV of the port's Makefile > : JAVACMD=${LOCALBASE}/bin/java \ > : JAVAVM_OPTS=-Djava.net.preferIPv4Stack=true \ > : > : and rerun make. It works for me. > > Yup, that seems to have fixed it. Thanks! > > : but I tend to take the pragmatic approach that when reality > : disagrees with the documentation, I believe reality :-) > > Stupid reality, always getting in the way... FYI, it should be fixed by the following commit: http://docs.freebsd.org/cgi/mid.cgi?201005210511.o4L5BwmD064669 Jung-uk Kim _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
First
|
Prev
|
Pages: 1 2 3 Prev: Depend on ${PORTSDIR}/foo WITH_OPTION Next: Simultaneous encoding using Gogo. (petite port) |