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