<div dir="ltr"><div><div><div><div><div>I tried two separate code bases.  One could not find X11/Xlib.h (which is installed on the computer running distcc-pump) and the other could not find GL/gl.h.  These are system headers that, in my understanding, should be transmitted to the remote distcc build host.<br>
<br><br></div>I start distcc-pump as follows:<br><br></div>eval `INCLUDE_SERVER_ARGS="--exact_analysis" distcc-pump --startup`<br></div><div>(Note I have tried without --exact_analysis as well)<br></div><div><br>
</div>And I compile with:<br>DISTCC_FALLBACK=0 scons <br><br></div>(Internally, this scons file uses CC=distcc CXX=distcc)<br><br>It is a C++ project.<br><br><br>distcc g++-4.7 <tons of build options omitted><br><br>
</div>generates:<br><div><br>distcc[28829] ERROR: compile cl_draw.cpp on remotesrv,cpp,lzo failed<br>distcc[28829] (dcc_build_somewhere) Warning: remote compilation of 'cl_draw.cpp' failed, retrying locally<br>distcc[28829] (dcc_build_somewhere) Warning: failed to distribute and fallbacks are disabled<br>
In file included from /home/mlabbe/dev/include/Or/TextureSet.h:25:0,<br>                 from /home/mlabbe/dev/include/Or/Font.h:26,<br>                 from /home/mlabbe/dev/include/Or/DebugDraw.h:27,<br>                 from /home/mlabbe/dev/include/Or/DefaultSubsystems.h:28,<br>
                 from local.h:26,<br>                 from cl_draw.cpp:23:<br>/home/mlabbe/dev/include/OrionRenderer.h:58:19: fatal error: GL/gl.h: No such file or directory<br>compilation terminated.<br>scons: *** [cl_draw.o] Error 1<br>
<br>I am running:<br>distccd 3.1 x86_64-pc-linux-gnu<br>  (protocols 1, 2 and 3) (default port 3632)<br>  built May  9 2013 23:15:01<br><br><br></div><div>To me, this looks like the compile host is trying to look for system header files locally.  The compile host definitely does not have GL/gl.h.<br>
</div><div><br></div><div>Much thanks.<br><br>Michael Labbe<br></div></div>