LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-08-2009, 02:31 AM   #1
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
distcc ERROR: compile dir.c on <server ip> failed


In case you couldnt tell by my subject, I am playing around with distcc/d because I have an old Pentium processor that I dont feel like waiting the next 5 years to compile a new kernel for, and ran across distcc.

My 2 computers at 192.168.1.100 (Quad Core AMD Phenom 9550) and 192.168.1.102 (Old computer that I use as a home server... aka.. old and slow)

Things I did in my attempts:
Set my DISTCC_HOSTS environment variable on my old computer: DISTCC_HOSTS="192.168.1.100 192.168.1.102"

Started the distccd daemon on my Quad-Core: distccd --allow 192.168.1.0/24 -j 200 --daemon

I verified that the daemon was indeed running on my Quad-Core via: ps -ax, and nmap localhost (port 3632)

After this, on my old computer I ran the command:
make -j6 CC=distcc


It appears to work find for about 10 seconds... On my quad core I get about 20 distccd processes going, and then my old machine gives the error:

distcc[9157] ERROR: compile dir.c on 192.168.1.100 failed


Any ideas? Did I miss a step?

Thanks
 
Old 01-08-2009, 03:24 PM   #2
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Original Poster
Rep: Reputation: 31
I am just not 100% sure what to do from here. I have done everything that I saw on multiple websites, and this is where I end up. Again I have never used distcc/d before, but it looks to be a great idea. By the way, one computer is running slackware 11, and the other is running slackware 12.2, but distcc is the same version (2.18.3). However, a though just occured to me, and i think im going to feel stupid because of it.

Does gcc have to be of the same version? my slackware 11 install is running gcc 3.3.6, and my slackware 12.2 is running 4.2.3. Could this be the problem?

Thanks
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
distcc compilation gives g++ not found error cellist Linux - Software 2 03-30-2006 08:15 AM
distcc error "failed to distribute..." vbtalent Linux - Software 0 02-18-2006 03:24 PM
Getting an error: Failed to start the X server Fasn8n Linux - General 5 02-09-2006 09:05 AM
kernel 2.6.8 compile error mkinitrd failed mcalizo Linux - Software 0 11-30-2004 01:58 AM
using distcc to compile pengStudent Programming 3 03-10-2004 08:33 PM


All times are GMT -5. The time now is 03:40 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration