LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 04-12-2019, 11:04 PM   #1
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 743

Rep: Reputation: 78
distcc "....... Is the server configured to access the compiler?"


I've been using distcc-3.3 on my b'pro client running current to my 64bit desktop server running current with negligible compiling on the server and frequent errors on the client as below:
Code:
distcc[17097] (dcc_r_result_header) ERROR: server provided no answer. Is the server configured to allow access from your IP address? Is the server performing authentication and your client isn't? Does the server have the compiler installed? Is the server configured to access the compiler?
By adding another option to the distccd command in rc,local-addition, as below, I have an increased the workload on my server.
Code:
/usr/bin/distccd \
   --verbose \
   --make-me-a-botnet \
   --log-file /tmp/distcc.log \
   -j 12 \
   --daemon \
   --allow 192.168.1.10
My client no longer presents error messages as above, however, when compiling kerenel modules, there is still quite a bit that is pre processed locally as per the message below. I'm on a small home network and not bothered about running distccd with the option --make-me-a-botnet.
Code:
CC [M]  drivers/gpu/drm/amd/amdgpu/../display/dc/virtual/virtual_link_encoder.o
distcc[7354] (dcc_perhaps_adjust_cpp_where_and_protover) Warning: cannot use distcc_pump with any of environment variables CPATH, C_INCLUDE_PATH or CPLUS_INCLUDE_PATH set, preprocessing locally
There's nothing to be done about this as pump mode allows preprocessing on the server although I distccmon-text still shows some happening locally and this is probably due to the environment variables in the warning above. Note that to use pump mode you have to use append cpp and lzo to every host listed.
Code:
# export DISTCC_HOSTS='192.168.1.2,cpp,lzo'
# pump make CC=distcc modules
I hope someone finds this helpful.
Code:
  CC [M]  drivers/gpu/drm/amd/amdgpu/../display/dc/virtual/virtual_link_encoder.o
distcc[7354] (dcc_perhaps_adjust_cpp_where_and_protover) Warning: cannot use distcc_pump with any of environment variables CPATH, C_INCLUDE_PATH or CPLUS_INCLUDE_PATH set, preprocessing locally
  LD [M]  drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.o
distcc[7201] (dcc_perhaps_adjust_cpp_where_and_protover) Warning: cannot use distcc_pump with any of environment variables CPATH, C_INCLUDE_PATH or CPLUS_INCLUDE_PATH set, preprocessing locally
  CC [M]  drivers/gpu/drm/amd/amdgpu/../display/dc/virtual/virtual_stream_encoder.o
  CC [M]  drivers/iio/light/bh1750.o
distcc[7393] (dcc_perhaps_adjust_cpp_where_and_protover) Warning: cannot use distcc_pump with any of environment variables CPATH, C_INCLUDE_PATH or CPLUS_INCLUDE_PATH set, preprocessing locally
  CC [M]  drivers/media/common/b2c2/flexcop-fe-tuner.o
  CC [M]  drivers/iio/light/cm3323.o
EDIT 14//2019: The additional distccd option in the rc.local-additions script in this post was originally--enable-tcp-insecure. Slackwarearm current as of 04/28/2019 ships with distcc-3.3 which uses --make-me-a-botnet. Distcc-3.3.2 will instead use --enable-tcp-insecure. I have changed this post accordingly.

Last edited by justwantin; 04-13-2019 at 11:07 PM. Reason: edit change option to --make-me-a-botnet
 
  


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 usage in a "chaotic" environment Linux.tar.gz Linux - Software 1 10-20-2010 09:17 PM
distcc ERROR: compile dir.c on <server ip> failed DragonM15 Linux - Software 1 01-08-2009 03:24 PM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 06:02 PM
distcc error "failed to distribute..." vbtalent Linux - Software 0 02-18-2006 03:24 PM
Undefined Screen " XFree86" reference by serverLayout "XFree86 Configured" comox *BSD 7 01-17-2005 05:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 12:08 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration