<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>Am 01.07.2014 um 09:32 schrieb Matthias Goldhoorn <<a href="mailto:matthias.goldhoorn@dfki.de">matthias.goldhoorn@dfki.de</a>>:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">@Ruby binding guy's:<br>I think the problem with orocos.rb is related to some linking problems of the orocos extenstion.<br>I attached the ldd output and the CMakeCache from my installation. So Far i see it should work.<br>I compared the CMakeCache with my local one and can't find the fault here.<br><br>Has someone i idea what's going on here?<br><br></div></blockquote><div><br></div><div>The ruby extension is not linked against ruby. In general it is not nice but should not be a problem because the symbols are already known if the extension is loaded by ruby. </div><div><br></div><div>You can try the following and post the output for all steps:</div><div><br></div><div>orocos.rb: rake</div><div>ruby —version</div><div>which ruby</div><div>which irb</div><div>irb -r 'orocos/rorocos'</div><div><br></div><div>Alex</div><br><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Best,<br>Matthias<br><br>On 30.06.2014 13:57, Matthias Goldhoorn wrote:<br><blockquote type="cite">I got the same on my xenomai version of rock.<br>I cc the rock-dev therefore.<br><br>If there noone give's a hint, i will take a look during this week...<br><br>Best,<br>Matthias<br><br><br><br>On 30.06.2014 13:50, Tavakoli Siavash wrote:<br><blockquote type="cite">Recreating and resourcing the env.sh didn't help. Irb outputs some additional info:<br><br>NotImplementedError: method `backtrace' called on unexpected T_NODE object (0x00000002b56bf0 flags=0x381c klass=0x0)<br> from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'<br> from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'<br> from (irb):1<br> from /usr/bin/irb1.9.1:12:in `<main>'<br><br>Best,<br>Siavash<br>________________________________________<br>From: Matthias Goldhoorn [<a href="mailto:matthias.goldhoorn@dfki.de">matthias.goldhoorn@dfki.de</a>]<br>Sent: Monday, June 30, 2014 2:18 PM<br>To: Tavakoli Siavash<br>Cc: <a href="mailto:rock-users@dfki.de">rock-users@dfki.de</a><br>Subject: Re: [Rock-users] Unable to start component by ruby<br><br>If the suggestion from below (and rebuilding) does not help<br><br>try:<br><br>source env.sh<br>irb<br> > require 'orocos'<br><br>and post (if hopefully) the additional error msg.<br><br>Best,<br>Matthias<br><br>On 30.06.2014 13:02, Sascha Arnold wrote:<br><blockquote type="cite">Hello,<br><br>I think to remember, that I solved this error once by recreate the<br>env.sh with<br><blockquote type="cite">autoproj envsh<br></blockquote>and resource the environment<br><blockquote type="cite">. env.sh<br></blockquote>Maybe that helps.<br><br>Best,<br>Sascha<br><br>On 30.06.2014 12:12, Tavakoli Siavash wrote:<br><blockquote type="cite">Hi,<br>Thanks for your reply.<br>So I did:<br><br>rm -r tools/orocos.rb/<br>autoproj update<br>amake<br><br>but the error is still there. Maybe it was fixed in next or master?<br><br>________________________________________<br>From: Matthias Goldhoorn [<a href="mailto:matthias.goldhoorn@dfki.de">matthias.goldhoorn@dfki.de</a>]<br>Sent: Monday, June 30, 2014 12:05 PM<br>To: <a href="mailto:rock-users@dfki.de">rock-users@dfki.de</a>; Tavakoli Siavash<br>Subject: Re: [Rock-users] Unable to start component by ruby<br><br>Hi,<br>Please try to delete the whole orocos.rb folder and then run a update &&<br>build again.<br>We had some problems in the past with rebuilding of ruby packages.<br><br><br>Best,<br>Matthias<br><br>On 30.06.2014 10:25, Tavakoli Siavash wrote:<br><blockquote type="cite">Hello,<br><br>I have created a component and wrote a script to run it by using the ruby interface but running the script fails with an error:<br><br>Cannot require orocos.rb's Ruby/C extension<br>If you are using Rock, this should have been done automatically.<br>Run<br> amake orocos.rb<br>and try again<br><br>rebuilding orocos.rb doesn't help and I get the same error again. I'm running the stable branch and target is Xenomai.<br><br>Thanks,<br>Siavash<br>_______________________________________________<br>Rock-users mailing list<br><a href="mailto:Rock-users@dfki.de">Rock-users@dfki.de</a><br>http://www.dfki.de/mailman/cgi-bin/listinfo/rock-users<br></blockquote>--<br> Dipl.-Inf. Matthias Goldhoorn<br> Space and Underwater Robotic<br><br> Universität Bremen<br> FB 3 - Mathematik und Informatik<br> AG Robotik<br> Robert-Hooke-Straße 1<br> 28359 Bremen, Germany<br><br> Zentrale: +49 421 178 45-6611<br><br> Besuchsadresse der Nebengeschäftstelle:<br> Robert-Hooke-Straße 5<br> 28359 Bremen, Germany<br><br> Tel.: +49 421 178 45-4193<br> Empfang: +49 421 178 45-6600<br> Fax: +49 421 178 45-4150<br> E-Mail: <a href="mailto:matthias.goldhoorn@informatik.uni-bremen.de">matthias.goldhoorn@informatik.uni-bremen.de</a><br><br> Weitere Informationen: <a href="http://www.informatik.uni-bremen.de/robotik">http://www.informatik.uni-bremen.de/robotik</a><br><br>_______________________________________________<br>Rock-users mailing list<br><a href="mailto:Rock-users@dfki.de">Rock-users@dfki.de</a><br>http://www.dfki.de/mailman/cgi-bin/listinfo/rock-users<br></blockquote></blockquote>--<br> Dipl.-Inf. Matthias Goldhoorn<br> Space and Underwater Robotic<br><br> Universität Bremen<br> FB 3 - Mathematik und Informatik<br> AG Robotik<br> Robert-Hooke-Straße 1<br> 28359 Bremen, Germany<br><br> Zentrale: +49 421 178 45-6611<br><br> Besuchsadresse der Nebengeschäftstelle:<br> Robert-Hooke-Straße 5<br> 28359 Bremen, Germany<br><br> Tel.: +49 421 178 45-4193<br> Empfang: +49 421 178 45-6600<br> Fax: +49 421 178 45-4150<br> E-Mail: <a href="mailto:matthias.goldhoorn@informatik.uni-bremen.de">matthias.goldhoorn@informatik.uni-bremen.de</a><br><br> Weitere Informationen: <a href="http://www.informatik.uni-bremen.de/robotik">http://www.informatik.uni-bremen.de/robotik</a><br><br></blockquote><br></blockquote><br><br>--<span class="Apple-converted-space"> </span><br>Dipl.-Inf. Matthias Goldhoorn<br>Space and Underwater Robotic<br><br>Universität Bremen<br>FB 3 - Mathematik und Informatik<br>AG Robotik<br>Robert-Hooke-Straße 1<br>28359 Bremen, Germany<br> Zentrale: +49 421 178 45-6611<br> Besuchsadresse der Nebengeschäftstelle:<br>Robert-Hooke-Straße 5<br>28359 Bremen, Germany<br> Tel.: +49 421 178 45-4193<br>Empfang: +49 421 178 45-6600<br>Fax: +49 421 178 45-4150<br>E-Mail: <a href="mailto:matthias.goldhoorn@informatik.uni-bremen.de">matthias.goldhoorn@informatik.uni-bremen.de</a><br><br>Weitere Informationen: <a href="http://www.informatik.uni-bremen.de/robotik">http://www.informatik.uni-bremen.de/robotik</a><br><br><span><ldd-output.txt></span><span><CMakeCache.txt></span>_______________________________________________<br>Rock-dev mailing list<br><a href="mailto:Rock-dev@dfki.de">Rock-dev@dfki.de</a><br><a href="http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev">http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev</a></div></blockquote></div><br><div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class="Apple-interchange-newline">--</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Dipl.-Ing. Alexander Duda<br>Unterwasserrobotik<br>Robotics Innovation Center<br><br>Hauptgeschäftsstelle Standort Bremen:<br>DFKI GmbH<br>Robotics Innovation Center<br>Robert-Hooke-Straße 1<br>28359 Bremen, Germany<br><br>Tel.: +49 421 178 45-6620<br>Zentrale: +49 421 178 45-0<br>Fax: +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen)<br>E-Mail: <a href="mailto:Alexander.Duda@dfki.de">Alexander.Duda@dfki.de</a><br><br>Weitere Informationen: <a href="http://www.dfki.de/robotik">http://www.dfki.de/robotik</a><br>-----------------------------------------------------------------------<br>Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH<br>Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern<br>Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster<br>(Vorsitzender) Dr. Walter Olthoff<br>Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes<br>Amtsgericht Kaiserslautern, HRB 2313<br>Sitz der Gesellschaft: Kaiserslautern (HRB 2313)<br>USt-Id.Nr.: DE 148646973<br>Steuernummer: 19/673/0060/3</div></div></div>
</div>
<br></body></html>