Fail to execute shell commands from Orocos installation + errors

Hello,

I have followed the instructions on this page: www.orocos.org/wiki/orocos/toolchain/quick-start My configuration options are: "compilers: all; os: xenomai; CORBA implementation: tao".

However, the shell commands do not work. (I've had absolutely no compilation error whatsoever).

In orocos/orocos-toolchain/install/bin I can find orocreate-pkg (which works), ctaskbrowser (which throws an error: '../librtt-transport-mqueue-xenomai.so': libpthread_rt.so.1: shared object cannot be dlopen()ed) [same error for ctaskbrowser-xenomai and deployer-xenomai].

typegen is not in the /install/bin directory, but I found it in orogen/bin, along with orogen. When I try to open these files I get an error: 'gem_original_require': no such file to load -- orogen (LoadError) from [..]/rubygemscustom_require.rb

Are those commands supposed to be available from any directory? And how do I fix those errors?

Thank you

Fail to execute shell commands from Orocos installation + errors

On 05/16/2013 10:16 AM, f [dot] hautbois [..] ... wrote:
> Hello,
>
> I have followed the instructions on this page:
> www.orocos.org/wiki/orocos/toolchain/quick-start
> My configuration options are: "compilers: all; os: xenomai; CORBA
> implementation: tao".
>
> However, the shell commands do not work. (I've had absolutely no compilation
> error whatsoever).
>
> In orocos/orocos-toolchain/install/bin I can find orocreate-pkg (which
> works), ctaskbrowser (which throws an error:
> '../librtt-transport-mqueue-xenomai.so': libpthread_rt.so.1: shared object
> cannot be dlopen()ed) [same error for ctaskbrowser-xenomai and
> deployer-xenomai].
>
> typegen is not in the /install/bin directory, but I found it in orogen/bin,
> along with orogen. When I try to open these files I get an error:
> 'gem_original_require': no such file to load -- orogen (LoadError) from
> [..]/rubygemscustom_require.rb
>
> Are those commands supposed to be available from any directory? And how do I
> fix those errors?

at the command prompt, you should

$ source /path/to/env.sh

better yet, put that line in your $HOME/.bashrc so that the paths are
setup properly every time you log in.

The importance of env.sh is mentioned among all the output you see on
the screen when you build the toolchain.

Regards,
Sagar

Fail to execute shell commands from Orocos installation + errors

Did you configured xenomai with "./configure --enable-dlopen-skins" before
compiling it ?

There are many thread on the subject, just google "orocos xenomai dlopen"
and you should have all information you need.

2013/5/16 <f [dot] hautbois [..] ...>

> Hello,
>
> I have followed the instructions on this page:
> www.orocos.org/wiki/orocos/toolchain/quick-start
> My configuration options are: "compilers: all; os: xenomai; CORBA
> implementation: tao".
>
> However, the shell commands do not work. (I've had absolutely no
> compilation
> error whatsoever).
>
> In orocos/orocos-toolchain/install/bin I can find orocreate-pkg (which
> works), ctaskbrowser (which throws an error:
> '../librtt-transport-mqueue-xenomai.so': libpthread_rt.so.1: shared object
> cannot be dlopen()ed) [same error for ctaskbrowser-xenomai and
> deployer-xenomai].
>
> typegen is not in the /install/bin directory, but I found it in orogen/bin,
> along with orogen. When I try to open these files I get an error:
> 'gem_original_require': no such file to load -- orogen (LoadError) from
> [..]/rubygemscustom_require.rb
>
> Are those commands supposed to be available from any directory? And how do
> I
> fix those errors?
>
> Thank you
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>

Fail to execute shell commands from Orocos installation + errors

I will be a little bit more precise. Recompiling xenomai with said
configuration option does the trick. Here is a documentation page giving
some details: http://www.kieltech.de/uweswiki/Xenomai (search dlopen).

2013/5/16 Willy Lambert <lambert [dot] willy [..] ...>

> Did you configured xenomai with "./configure --enable-dlopen-skins" before
> compiling it ?
>
> There are many thread on the subject, just google "orocos xenomai dlopen"
> and you should have all information you need.
>
>
> 2013/5/16 <f [dot] hautbois [..] ...>
>
>> Hello,
>>
>> I have followed the instructions on this page:
>> www.orocos.org/wiki/orocos/toolchain/quick-start
>> My configuration options are: "compilers: all; os: xenomai; CORBA
>> implementation: tao".
>>
>> However, the shell commands do not work. (I've had absolutely no
>> compilation
>> error whatsoever).
>>
>> In orocos/orocos-toolchain/install/bin I can find orocreate-pkg (which
>> works), ctaskbrowser (which throws an error:
>> '../librtt-transport-mqueue-xenomai.so': libpthread_rt.so.1: shared object
>> cannot be dlopen()ed) [same error for ctaskbrowser-xenomai and
>> deployer-xenomai].
>>
>> typegen is not in the /install/bin directory, but I found it in
>> orogen/bin,
>> along with orogen. When I try to open these files I get an error:
>> 'gem_original_require': no such file to load -- orogen (LoadError) from
>> [..]/rubygemscustom_require.rb
>>
>> Are those commands supposed to be available from any directory? And how
>> do I
>> fix those errors?
>>
>> Thank you
>> --
>> Orocos-Users mailing list
>> Orocos-Users [..] ...
>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>>
>
>

Fixed! But...

So apparently this was all because of the env.sh file which didn't do its job properly. I seem to have magically fixed it (now the path variables are set etc.).

Fixed! But...

Am I the only one that often have such messages by email without any
context information ?

2013/5/16 <f [dot] hautbois [..] ...>

> So apparently this was all because of the env.sh file which didn't do its
> job
> properly. I seem to have magically fixed it (now the path variables are set
> etc.).
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>