marksatt / DistCode

A GUI & Xcode plugin for the distcc distributed compiler using dmucs for compile host management
Other
71 stars 16 forks source link

Having a hostname set does not show any machines in the Hosts pane #7

Open nickbit opened 8 years ago

nickbit commented 8 years ago

Installed DistCode 2.0 I have 2 macs in the same network (WiFi) and see them both in the Hosts pane (without a name but their IP address). I've set the compiler to distcc for my project Compile starts but stops at some point with "Could not get my hostname". The other problem is that it uses only the coordinator machine (reported in a separate issue). I've set a hostname with sudo scutil --set HostName "somename" different for the 2 machines Now no hosts appear in the Hosts. Removing the host names with sudo scutil --set HostName "" reverts to the previous state.

Any suggestions?

marksatt commented 8 years ago

"Could not get my hostname” means distcc and/or dmucs isn’t able to resolve the name of the machine they are running on which is a bit strange. I’ve not seen this before myself and I’m travelling today so I won’t be able to look at it immediately.

My initial concern is that dmucs & distcc are very much IPv4 based and Apple are marching toward making IPv6 mandatory which could be a huge wrench but I don’t think they’ve flipped that switch yet…

Mark Satt.

On 18 Jan 2016, at 23:23, Nikos Bitoulas notifications@github.com wrote:

Installed DistCode 2.0 I have 2 macs in the same network (WiFi) and see them both in the Hosts pane (without a name but their IP address). I've set the compiler to distcc for my project Compile starts but stops at some point with "Could not get my hostname". The other problem is that it uses only the coordinator machine (reported in a separate issue). I've set a hostname with sudo scutil --set HostName "somename" different for the 2 machines Now no hosts appear in the Hosts. Removing the host names with sudo scutil --set HostName "" reverts to the previous state.

Any suggestions?

— Reply to this email directly or view it on GitHub https://github.com/marksatt/DistCode/issues/7.