LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 04-19-2005, 01:49 PM   #1
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
distcc question


I'm giving distcc a try on a very old machine. I had to uninstall the C compiler on it because i was very low on space. I want to use distcc instead..

I installed distcc, and tried to compile BitchX as my test program, but i get this error

Code:
root@xushiold:/download/BitchX# ./configure
Welcome to the BitchX-1.1-final configuration

checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
root@xushiold:/download/BitchX#
How can i tell the system to use distcc as my C compiler? Or do i really need gcc installed for this to work?

And on an unrelated side note.. is it just me, or is it checking for cc twice?
 
Old 04-19-2005, 02:07 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
From distcc's docs
Quote:
distcc only ever runs the compiler and assembler remotely. The preprocessor must always run locally because it needs to access various header files on the local machine which may not be present, or may not be the same, on the volunteer. The linker similarly needs to examine libraries and object files, and so must run locally.
It seems you need the tools on the local machine too

You can try to build it using http://fabrice.bellard.free.fr/tcc/ or simply compiling it in other machine and copying the binary file.

Last edited by gbonvehi; 04-19-2005 at 02:11 PM.
 
Old 04-19-2005, 02:10 PM   #3
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Damn it.. does that mean i have to install every one of

[ description | file list ] /d/gcc-3.3.5-i486-1
[ description | file list ] /d/gcc-g++-3.3.5-i486-1
[ description | file list ] /d/gcc-g77-3.3.5-i486-1
[ description | file list ] /d/gcc-gnat-3.3.5-i486-1
[ description | file list ] /d/gcc-java-3.3.5-i486-1
[ description | file list ] /d/gcc-objc-3.3.5-i486-1

EDIT, i doubt i'll need g77 and gnat

Last edited by xushi; 04-19-2005 at 02:13 PM.
 
Old 04-19-2005, 02:13 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
No, g++ = c++
g77 = fortran
gnat = ada
java = java
objc = objetive c
if you plan to compile C you can avoid those
 
Old 04-19-2005, 02:18 PM   #5
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Thanks.

Distributed Compiling, here i come First BitchX, then Linux-2.6.11.7
 
  


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 exvor Linux - Software 1 11-17-2005 07:36 PM
distcc linuxhippy Slackware 4 05-05-2005 08:15 AM
distcc is seriously impressive dhave Slackware 2 11-17-2004 10:08 AM
Got distcc to work! wapcaplet LinuxQuestions.org Member Success Stories 1 11-28-2003 10:02 AM
Using distcc...? kleptophobiac Linux - Software 0 09-30-2003 10:32 AM


All times are GMT -5. The time now is 04:57 AM.

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