-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
distcc image todo #158
Comments
Noted. Thanks!
|
@jvcleave ping. |
Cross reference : openframeworks#2134 |
Just edited allowed nets to be less restrictive.
We need to make a note of this ... we should really be restricting things a bit ... but ... |
Perhaps ALLOWEDNETS should just be set to any with a note that anybody will be able to use the distcc server ... :) |
OK. So this is all working very well when the VM is bridged to the same network that the pi is connected to. When (for instance) you share internet with the PI (on os x) via ethernet, it puts the pi on a different subnet, which causes zeroconf to not recognize the distcc server. BUT as long as your ALLOWEDNETS include the PI's subnet (assigned by OSX networksharing) AND you manually add the ip of the server to the ~/.distcc/hosts file, it will connect with the server and all work just fine. I would really like to figure out a way to allow this VM to plug and play with a PI plugged into the ethernet port of a mac by just addressing everything by the *.local addresses and without the requirement of the computer being on an active internet connection or bridged to an outside net .... i think it's possible, but haven't had time to really push it yet (I have it all set up on parallels that way and it works nicely, but parallels has the option to bridge to the host computer's default network interface, which makes things a little more automagical) |
I'll bug some of my VM masters on how to do that.
|
ran into an issue last night that required gcc 4.7 - is it dangerous or rocket surgery to have our configuration use 4.7? |
I'm not sure what did you need 4.7 for?
|
it wasn't OF related but I was trying to compile a newer version of omxplayer - it was a vague error |
reading more into this - nevermind - I think it's best to keep it the way it is |
@bakercp if you have admin rights let me make a new repo for the scripts in the VM image. updating stuff now. |
sudo apt-get install console-data
and select us english for now)sudo apt-get install avahi-daemon avahi-utils libavahi-compat-libdnssd-dev
)/etc/default/distcc
-> setZEROCONF="true"
/etc/default/distcc
-> setALLOWEDNETS="127.0.0.1 192.168.0.0./8 10.0.0.0/8" for those of us working on the local host (non-bridged) and also on
10...*` networks. We share our code ... and we share our compilers :)PATH
variable inside the/etc/init.d/distcc
script to/etc/default/distcc
(to keep it all in one place) (also make a note of this location with the other notes that mention allowed nets, etc). This path variable is all you need to change to get it compiling witharmv7
(i.e. you change the path and restart the distcc daemon).PATH
variable, plus aREADME
giving basic configuration instructions (mirrored from our wiki) for how to configure basic stuff.And this
The text was updated successfully, but these errors were encountered: