Re: [ros-users] Fail to compile cturtle from source using di…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: User discussions
Subject: Re: [ros-users] Fail to compile cturtle from source using distcc
Hi Brian,

On Mon, Sep 27, 2010 at 16:37, Brian Gerkey <> wrote:
> On Mon, Sep 27, 2010 at 5:40 AM, Tinne De Laet
> <> 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.


I did some other tests already (before bothering the ros mailinglist
with this problem).
I can make all the other examples I tried with distcc (for instance
rtt_2.0 and ocl_2.0).
I only get a message saying that one of the computers I try to
distribute to is offline , but this does not cause my build to fail.
(distcc[21499] (dcc_select_for_write) ERROR: IO timeout
distcc[21499] ERROR: timeout while connecting to 192.168.10.94:3632
distcc[21499] Warning: failed to distribute
/home/fiep/src/svn/twoLevelMTTL-ros/packages/kul-ros-pkg/stacks/orocos_toolchain_ros/trunk/ocl/build/orocos-toolchain-ocl/taskbrowser/TaskBrowser.cpp
to pma-09-040, running locally instead
)
Maybe the test that is failing during the ros installation is just to
strict about this error?


> 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


I already have these.
I was justed constructing a rosinstall file which should work on any
linux system.

Tinne