LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-20-2006, 09:09 AM   #1
GUIPenguin
Member
 
Registered: Aug 2004
Location: Maine
Distribution: Gentoo Linux
Posts: 239

Rep: Reputation: 30
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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nfs root for diskless LasseBob Linux - General 1 02-19-2006 02:33 PM
how can i move this folder of music from /root/Shared to /home/coffee/Shared ? thx mr_coffee Linux - Newbie 9 01-23-2006 06:50 AM
Seg Fault in GCC when deleting Node from Linked List gren838 Programming 2 12-11-2005 04:21 PM
Diskless node in linux basbosco Linux - Networking 2 11-07-2003 09:37 AM
How can I compile stuff on one computer, and move it to another? kleptophobiac Slackware 6 09-07-2003 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration