[ros-users] Fail to compile cturtle from source using distcc

Brian Gerkey gerkey at willowgarage.com
Mon Sep 27 14:37:23 UTC 2010


On Mon, Sep 27, 2010 at 5:40 AM, Tinne De Laet
<tinne.delaet at mech.kuleuven.be> wrote:
> I'm getting a problem (distcc related it seems) when I try to compile
> cturtle from source using distcc (export CCACHE_PREFIX=distcc, ...)
>
> * My system "Ubuntu 10.04.1 LTS" (Lucid).
> * cturtle from source: http://code.ros.org/svn/ros/stacks/ros/tags/cturtle
>
> * Error:

> CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52
> (MESSAGE):
>  The C compiler "/usr/bin/distcc" is not able to compile a simple test
>  program.

hi Tinne,

Looks like there's something wrong with your distcc setup.  Try
running distcc directly on a simple C file; I expect that you'll see
an error of some sort.  Once you've worked that out, try the ROS build
again.

Btw, because you're running Ubuntu, you might want to install cturtle
from binary packages:
http://www.ros.org/wiki/cturtle/Installation/Ubuntu#Ubuntu_install_of_C_turtle
.

	brian.



More information about the ros-users mailing list