[MacRuby] #444: no such file to load -- libyaml (LoadError)
#444: no such file to load -- libyaml (LoadError) ----------------------------------+----------------------------------------- Reporter: james@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: install leopard yaml ----------------------------------+----------------------------------------- I've just been trying to build the latest revision (3035) of MacRuby trunk on Leopard 10.5.8 by following the instructions in the README.rdoc :- $ svn co -r 82747 https://llvm.org/svn/llvm-project/llvm/trunk llvm- trunk $ cd llvm-trunk $ ./configure --enable-bindings=none $ UNIVERSAL=1 UNIVERSAL_ARCH="i386 x86_64" ENABLE_OPTIMIZED=1 make $ sudo env UNIVERSAL=1 UNIVERSAL_ARCH="i386 x86_64" ENABLE_OPTIMIZED=1 $ cd ../MacRuby $ rake I get the following error :- no such file to load -- libyaml (LoadError) See http://gist.github.com/239664 for a full stack trace. Anyone got any ideas? Thanks, James. -- Ticket URL: <http://www.macruby.org/trac/ticket/444> MacRuby <http://macruby.org/>
#444: no such file to load -- libyaml (LoadError) ----------------------------------+----------------------------------------- Reporter: james@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: install leopard yaml ----------------------------------+----------------------------------------- Comment(by eloy.de.enige@…): Hmm, unfortunately I don't think anyone of the team is on 10.5 anymore, maybe Laurent can have access to one after the weekend. Anyway, it shouldn't even evaluate `rubygems/config_file.rb' at that point. Could you try to track down from where it is being loaded? I've added a copy of the ouput on my machine (10.6) where you can see that yaml doesn't even get build until the end. http://gist.github.com/239822 -- Ticket URL: <http://www.macruby.org/trac/ticket/444#comment:1> MacRuby <http://macruby.org/>
#444: Leopard build fails: no such file to load -- libyaml (LoadError) ----------------------------------+----------------------------------------- Reporter: james@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: install leopard yaml ----------------------------------+----------------------------------------- Comment(by lsansonetti@…): It looks like the bin/rubyc program requires RubyGems. It should not do it. I wonder, do you have a RUBY_OPT environment variable? -- Ticket URL: <http://www.macruby.org/trac/ticket/444#comment:2> MacRuby <http://macruby.org/>
#444: Leopard build fails: no such file to load -- libyaml (LoadError) ----------------------------------+----------------------------------------- Reporter: james@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: install leopard yaml ----------------------------------+----------------------------------------- Comment(by james@…): I'm sorry not to have responded sooner - I've had some problems with my hard drive. I think I've solved the problem - I had RUBYOPT defined in my environment. This seems to have completely broken miniruby. I undefined it and the build succeeds. Thanks, James. -- Ticket URL: <http://www.macruby.org/trac/ticket/444#comment:3> MacRuby <http://macruby.org/>
#444: Leopard build fails: no such file to load -- libyaml (LoadError) ----------------------------------+----------------------------------------- Reporter: james@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Resolution: fixed Keywords: install leopard yaml | ----------------------------------+----------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed Comment: Thanks for the quick reply. I committed a fix in r3042 and in theory RUBYOPT should not be read anymore by the processes spawned by the build process. Let me know if it doesn't work for you still. -- Ticket URL: <http://www.macruby.org/trac/ticket/444#comment:4> MacRuby <http://macruby.org/>
#444: Leopard build fails: no such file to load -- libyaml (LoadError) ----------------------------------+----------------------------------------- Reporter: james@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Resolution: fixed Keywords: install leopard yaml | ----------------------------------+----------------------------------------- Comment(by stephen.bannasch@…): Thanks, Just pulled and ran rake *with* RUBYOPT=rubygems and the compile worked on 10.5.8. -- Ticket URL: <http://www.macruby.org/trac/ticket/444#comment:5> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby