Problem using typegen in the orocos_toolchain_ros

Hi,

I am trying to generate my typekits. I went into the orogen/bin folder in
which is the typegen executable. When I launched it, it fails with the
following error :
ard@ard-host-v5:/opt/ros/orocos_toolchain_ros/orogen/bin$ ./typegen `rospack
find can_festival`/include/canfestival/states.h
bash: ./typegen : /usr/bin/ruby : mauvais interpréteur: Aucun fichier ou
dossier de ce type

I had a quick watch into manifests a run :
ard@ard-host-v5:/opt/ros/orocos_toolchain_ros$ rospack depends orogen
rtt
utilmm
utilrb
typelib

I think a dependency to ruby is missing, isn't it ?

Ruben Smits's picture

Problem using typegen in the orocos_toolchain_ros

On Sunday 06 March 2011 14:34:18 Willy Lambert wrote:
> Hi,
>
> I am trying to generate my typekits. I went into the orogen/bin folder in
> which is the typegen executable. When I launched it, it fails with the
> following error : ard@ard-host-v5:/opt/ros/orocos_toolchain_ros/orogen/bin$
> ./typegen `rospack find can_festival`/include/canfestival/states.h bash:
> ./typegen : /usr/bin/ruby : mauvais interpréteur: Aucun fichier ou dossier
> de ce type
>
> I had a quick watch into manifests a run :
> ard@ard-host-v5:/opt/ros/orocos_toolchain_ros$ rospack depends orogen
> rtt
> utilmm
> utilrb
> typelib
>
> I think a dependency to ruby is missing, isn't it ?

Ruby is a system dependency, can you check what 'rosdep satisfy orogen' gives?

-- Ruben

Problem using typegen in the orocos_toolchain_ros

2011/3/7 Ruben Smits <ruben [dot] smits [..] ...>

> On Sunday 06 March 2011 14:34:18 Willy Lambert wrote:
> > Hi,
> >
> > I am trying to generate my typekits. I went into the orogen/bin folder in
> > which is the typegen executable. When I launched it, it fails with the
> > following error : ard@ard-host-v5
> :/opt/ros/orocos_toolchain_ros/orogen/bin$
> > ./typegen `rospack find can_festival`/include/canfestival/states.h bash:
> > ./typegen : /usr/bin/ruby : mauvais interpréteur: Aucun fichier ou
> dossier
> > de ce type
> >
> > I had a quick watch into manifests a run :
> > ard@ard-host-v5:/opt/ros/orocos_toolchain_ros$ rospack depends orogen
> > rtt
> > utilmm
> > utilrb
> > typelib
> >
> > I think a dependency to ruby is missing, isn't it ?
>
> Ruby is a system dependency, can you check what 'rosdep satisfy orogen'
> gives?
>
> -- Ruben
>

Rigth, I was confused beetween packages and dependencies :

ard@ard-host-v5:/media/DD_data/home/ard$ rosdep satisfy orogen
set -o errexit
#No Packages to install
sudo gem install hoe --version 2.8.0

ard@ard-host-v5:/media/DD_data/home/ard$

I just have hoe

BTW are typegen and orogen usable on a ROS installed system ?