On Mon, Mar 23, 2009 at 3:32 PM, Eric Miller <[email protected]> wrote: > Guillaume Ballet wrote: > > On Mon, Mar 23, 2009 at 2:51 PM, Eric Miller <[email protected]> wrote: > > > Guillaume Ballet wrote: > > On Mon, Mar 23, 2009 at 1:46 PM, Eric Miller <[email protected]> wrote: > > > Hi, > > I'm getting an error compiling shoes from git in Ubuntu 8.10. Is anyone else > seeing this problem? Looks more like a ruby problem from the trace. > > e...@lappy:~/Source/shoes$ rake VIDEO=1 --trace > (in /home/eric/Source/shoes) > rake aborted! > uninitialized constant YAML > /usr/lib/ruby/1.8/rake.rb:2237:in `const_missing' > /home/eric/Source/shoes/Rakefile:9 > /usr/lib/ruby/1.8/rake.rb:2149:in `load' > /usr/lib/ruby/1.8/rake.rb:2149:in `raw_load_rakefile' > /usr/lib/ruby/1.8/rake.rb:1897:in `load_rakefile' > /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling' > /usr/lib/ruby/1.8/rake.rb:1896:in `load_rakefile' > /usr/lib/ruby/1.8/rake.rb:1880:in `run' > /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling' > /usr/lib/ruby/1.8/rake.rb:1878:in `run' > /usr/bin/rake:28 > > > > > Looks like the YAML library is not properly installed. Try: > > apt-get install libyaml-ruby > > > > It did download so something must have been wrong. Tried to compile, same > error. Tried sudo apt-get install libruby* and lib*ruby, some additional > libs were installed. Tried to compile again, same error. > > Should I true removing ruby and reinstalling from scratch? > > Eric > > > > It's weird because afaik, YAML is part of any standard ruby > distribution these days... Could you please type: > > ruby -e 'require "yaml" ' > > at the shell prompt and let me know if you get an error? If you don't > get any, try adding 'require "yaml"' at the beginning of the Rakefile. > Last time I tried, it was missing. Could be the problem :) > > Guillaume > > > > No error from ruby -e 'require "yaml". I added "require 'yaml'" to the top > of the Rakefile. Problem solved. Thanks! > > Now I'm getting a new error. Perhaps the git version is a bit off. Looks > like a problem with bloopsaphone... > > bloopsaphone.c:331: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token > bloopsaphone.c: In function ‘bloops_play’: > bloopsaphone.c:370: error: ‘bloops_port_callback’ undeclared (first use in > this function) > bloopsaphone.c:370: error: (Each undeclared identifier is reported only once > bloopsaphone.c:370: error: for each function it appears in.) > bloopsaphone.c:370: warning: passing argument 8 of ‘Pa_OpenDefaultStream’ > from incompatible pointer type > bloopsaphone.c:370: error: too few arguments to function > ‘Pa_OpenDefaultStream’ > bloopsaphone.c: In function ‘bloops_load’: > >
Doesn't it complain about a missing header file? If not, I recall having a problem when trying to compile the bloopsaphone on BSD because there where two different version of some library (don't remember which one though, it started with "audio") and it was using the wrong header. Maybe you should take a look at this. Guillaume
