Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 01-08-2009, 03:31 AM   #1
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 (Quad Core AMD Phenom 9550) and (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=""

Started the distccd daemon on my Quad-Core: distccd --allow -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 failed

Any ideas? Did I miss a step?

Old 01-08-2009, 04:24 PM   #2
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?



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 09:15 AM
distcc error "failed to distribute..." vbtalent Linux - Software 0 02-18-2006 04:24 PM
Getting an error: Failed to start the X server Fasn8n Linux - General 5 02-09-2006 10:05 AM
kernel 2.6.8 compile error mkinitrd failed mcalizo Linux - Software 0 11-30-2004 02:58 AM
using distcc to compile pengStudent Programming 3 03-10-2004 09:33 PM

All times are GMT -5. The time now is 12:52 PM.

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