Help move gcc stuff into shared root for diskless node
I currently have setup a diskless node that boots via etherboot, gets an IP address from my master's dhcp server, downloads my custom kernel and mounts a mini-shared root via nfs. Everything works nicely. My plans are to run distccd to do distrubuted and in my case, diskless compiling tasks...but.. I am now trying to get distccd running but I am having a problem moving all the gcc crap from my currently setup master into my shared root. which would be /diskless/node02 which is populated with most of the directorys and configs to get a system booted
I moved all the librarys I thought, gcc binary and gcc-config but when I type "gcc" in my diskless terminal after boot I get gcc-config error: Could not run/locate "gcc"
I think this is one of the reasons I can't /etc/init.d/distccd start... but I dont know because distccd doesn't report anything into /var/log/messages so I can only trouble shoot. But any how even if I do get distccd running I still need a fully working c compiler which is my current problem.
I have a few ideas of my own that I havn't tryed yet and have posted my question on various forums and now waiting for an answer (like this one).
These were some of the things I was thinking
A. Find out what is really missing and copy that into my shared root (which I would like to do most)
B. Chroot into my /diskless/node02 and somehow link portage from outside the padded cell, and emerge gcc using my directorys insted of the main system
C. rsync -avz every damn directory of my master except /dev and /proc to maintain symlinks and permissions into /diskless/nodexx and use that as my new shared root (which would be over 3gb and I don't want to do cause of all the extra and un-needed crap)
|