[PD] Gridflow objects creation problem

Jerome Tuncer columbiatwo at free.fr
Fri Apr 7 14:30:15 CEST 2006


Hi list, Matju,

I finally managed to compile gridflow on my ubuntu box:

Here are the final steps I had to go through:

- Get CVS version of gridflow (see gridflow doc., quite easy)

- Install ruby 1.9 which is "not supported" by ubuntu team (i.e. part ot 
the universe/multiverse repositories)

- Make symlink called /usr/bin/ruby to /usr/bin/ruby1.9
-> $ sudo ln -s /usr/bin/ruby1.9 /usr/bin/ruby

- Make symlink called /usr/lib/libruby.so to /usr/lib/libruby1.9.so.1.9.0
-> $ sudo ln -s  ./libruby1.9.so.1.9.0 ./libruby

- Run ldconfig
-> $ sudo ldconfig

=> Configure & successful compilation!

This is not very tricky but as I'm no programmer nor linux specialist, 
I'd like to have found such things (mainly the whole bunch of symlinks 
to be created) written somewhere to save me some time. Maybe in gridflow 
html doc Matju? Added to the "other tips" section in it? As a noob 
subsection? (-:

Nervertheless, after successful compilation of gridflow. I started it, 
pd says:

setting up Ruby-for-PureData...
gridflow.pd_linux found itself in /home/jerome/pdStuff/gridflow-CVS
we are using Ruby version 1.9.0
DIR = "/home/jerome/pdStuff/gridflow-CVS"
Ruby's path = ["/home/jerome/pdStuff/gridflow-CVS/..", 
"/home/jerome/pdStuff/gridflow-CVS", 
"/home/jerome/pdStuff/gridflow-CVS/optional/rblti", 
"/usr/local/lib/site_ruby/1.9", 
"/usr/local/lib/site_ruby/1.9/i486-linux", 
"/usr/local/lib/site_ruby/1.9/i386-linux", "/usr/local/lib/site_ruby", 
"/usr/lib/ruby/1.9", "/usr/lib/ruby/1.9/i486-linux", 
"/usr/lib/ruby/1.9/i386-linux", "."]

Which seems to be OK. Or maybe there's something wrong with Ruby's path?

But as soon as I try to open any gridflow example patch:

error: NoMethodError: undefined method `[]' for GridFlow::FObject:Class
(eval):1
... you might be able to track this down from the Find menu.
  # rand
... couldn't create

This is an example with the #rand object but it seems as it will do the 
same for every gridflow object...

Any idea on what it can come from?

Do you need more details? Which ones?

++


Jé




More information about the Pd-list mailing list