[CM] cml, ruby, sndlib

rm at tuxteam.de rm at tuxteam.de
Wed Mar 28 10:10:57 PDT 2012


On Wed, Mar 28, 2012 at 05:19:57PM +0200, Ren? Bastian wrote:
> Le Wed, 28 Mar 2012 15:30:50 +0200 (CEST),
> Michael Scholz <mike at fth-devel.net> a écrit :
> 
> > Rene Bastian wrote:
> > 
> > > ./ws.rb:386:in `require': no such file to load -- sndlib (LoadError)
> > 
> > There are two options:
> > 
> > Load Ruby scripts from snd (configured --with-ruby) with 'require
> > "ws.rb"'; the sndlib functions exist already in snd.
> 
> I dont know if Snd has been configured --with-ruby 
> > 
> > Compile sndlib.so from sndlib.tar.gz configured --with-ruby and
> > locate it where Ruby can find it, you can set environment variable
> > RUBYLIB.
> 
> I tried to compile sndlib, but 'make' cannot find
> 'ruby.h' - which is missing; I suppose that Debian6.0 installed
> binaries of 'ruby'. 
> 
> In file included from _sndlib.h:512,
>                  from headers.c:58:
> xen.h:169:19: error: ruby.h: Aucun fichier ou dossier de ce type
> 
> (next month I will try to compile Ruby from a tar.gz)

You'll need to install one of the ruby development packages:

 $ apt-file search ruby.h
 ....
 ruby1.8-dev: /usr/lib/ruby/1.8/x86_64-linux/ruby.h
 ruby1.9.1-dev: /usr/include/ruby-1.9.1/ruby.h
 ruby1.9.1-dev: /usr/include/ruby-1.9.1/ruby/ruby.h

Choose the one matching your ruby.

 HTH Ralf Mattes


> Grüsse,
> 
> > 
> > Mike
> > 
> > _______________________________________________
> > Cmdist mailing list
> > Cmdist at ccrma.stanford.edu
> > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
> 
> 
> 
> -- 
> René Bastian
> www.pythoneon.org
> 
> _______________________________________________
> Cmdist mailing list
> Cmdist at ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist



More information about the Cmdist mailing list