can't run a scala script on Mac OS X
- by wataradio
Running a scala script on Mac OS X results in the following error:
Unable to establish connection to
compilation daemon
I googled and found a page reported the same problem:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576568
To solve the problem, the page said:
Can you please tell what does
/etc/sysctl.d/bindv6only.conf contain?
If the value is 1, can you try to:
1) sudo sed -i 's/net.ipv6.bindv6only\
=\ 1/net.ipv6.bindv6only\ =\ 0/' \ /etc/sysctl.d/bindv6only.conf && sudo
invoke-rc.d procps restart
2) Then, run scala/fsc as usual and
see if the bug is still there.
But I can't find a bindv6only.conf in my Mac OS X.
How can I solve the problem?
-- System Information:
Scala version 2.7.7.final (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_20)
Mac OS X 10.6.3