From: Talha Syed Date: 2006-10-19T01:30:11+09:00 Subject: Re: Ruby Open GL on OS X? unknown wrote: > On Thu, 19 Oct 2006, Talha Syed wrote: > >>> build the files from http://rubyforge.org/projects/ruby-opengl/ and >> Pro530Rage:~/Desktop/gzz/trunk talhasyed$ rake --trace >> {standard input}:unknown:FATAL:can't create output file: ext/gl/gl.o >> rake aborted! > > this looks like your disk is full and/or you have a permissions error. > try > running that command by hand and seeing if there's any more info > > > -a My bad, I posted the wrong log file in the post. I actually ran rake as as sudo, and didn't get that error, but another one which said that I was missing -lGL, which appears to be an OpenGL library. ------------------------------------------------- Pro530Rage:~/Desktop/ruby-opengl/trunk talhasyed$ sudo rake --trace (in /Users/talhasyed/Desktop/ruby-opengl/trunk) ** Invoke default (first_time) ** Invoke ext/gl/gl.bundle (first_time) ** Invoke ext/gl/gl.o (first_time, not_needed) ** Invoke ext/gl/gl.c (first_time, not_needed) ** Invoke ext/common/rbogl.o (first_time, not_needed) ** Invoke ext/common/rbogl.h (first_time, not_needed) ** Invoke ext/common/rbogl.c (first_time, not_needed) ** Execute ext/gl/gl.bundle ============================== linking ext/gl/gl.bundle cc -bundle -lruby -framework GLUT -framework OpenGL -o ext/gl/gl.bundle ext/gl/gl.o ext/common/rbogl.o -lGL /usr/bin/ld: can't locate file for: -lGL collect2: ld returned 1 exit status rake aborted! Command failed with status (1): [cc -bundle -lruby -framework GLUT -framewo...] /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:722:in `sh' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:729:in `sh' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:812:in `sh' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:807:in `sh' /Users/talhasyed/Desktop/ruby-opengl/trunk/rakefile:76 /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in `invoke' /usr/local/lib/ruby/1.8/thread.rb:135:in `synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in `invoke_prerequisites' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in `invoke_prerequisites' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in `invoke' /usr/local/lib/ruby/1.8/thread.rb:135:in `synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7 /usr/local/bin/rake:18 Pro530Rage:~/Desktop/ruby-opengl/trunk talhasyed$ --------------------------------------------- FYI, when running Yoshi's extconf.rb, I get a similar notification about missing -lGl and some other libraries. Any OpenGl users familiar with this library, and how to get it? -- Posted via http://www.ruby-forum.com/.