hi
i'm trying to peep out the new gridflow 0.8.4 and everything seems to
compile correctly on OS X 10.3.9 with ruby-1.8.5 compiled with
--enable-shared --enable-pthread (libruby.dylib)
gridflow spits out the following error on initialization
[LoadError] [no such file to load -- gridflow]: (eval):1:in `require' (eval):1
this is what gets printed in the Pd window
setting up Ruby-for-PureData...
gridflow.pd_darwin found itself in
/Applications/Pd.app/Contents/Resources/Scripts/../extra/gridflow
we are using Ruby version 1.8.5
DIR =
"/Applications/Pd.app/Contents/Resources/Scripts/../extra/gridflow"
Ruby's path =
["/Applications/Pd.app/Contents/Resources/Scripts/../extra/gridflow/
..",
"/Applications/Pd.app/Contents/Resources/Scripts/../extra/gridflow",
"/Applications/Pd.app/Contents/Resources/Scripts/../extra/gridflow/
optional/rblti", "/usr/lib/ruby/site_ruby/1.8",
"/usr/lib/ruby/site_ruby/1.8/powerpc-darwin7.9.0",
"/usr/lib/ruby/site_ruby", "/usr/lib/ruby/1.8",
"/usr/lib/ruby/1.8/powerpc-darwin7.9.0", "."]
ERROR: Cannot load GridFlow-for-Ruby (gridflow.so)
i tried everything - upon making gridflow i was left with
gridflow.dylib and gridflow.pd_darwin and i tried doing ln -s
gridflow.dylib gridflow.so and put it in all the pd directories and the
directories in PATH but no joy
also, i think gridflow.so is a linux convention as i use gridflow on
linux regularly is there someplace in the ruby sources to change the
require statement to the correct extension?
an additional note is that i'm trying all this with the Hans
Christoph-Steiner Pd.app distribution - is this even possible or does
it only work if you build Pd from source?
./d5
On Fri, 13 Oct 2006, day 5 wrote:
i tried everything - upon making gridflow i was left with gridflow.dylib and gridflow.pd_darwin and i tried doing ln -s gridflow.dylib gridflow.so and put it in all the pd directories and the directories in PATH but no joy
That has to do with the throwing away of mkmf.rb, a makefile generator which is basically unusable. At the same time I had to throw away the OSX stuff because it had to be rewritten anyway and I didn't know how to rewrite it.
also, i think gridflow.so is a linux convention as i use gridflow on linux regularly is there someplace in the ruby sources to change the require statement to the correct extension?
edit "gridflow/Makefile". Add a line like "DLEXT = bundle" or something.
an additional note is that i'm trying all this with the Hans Christoph-Steiner Pd.app distribution - is this even possible or does it only work if you build Pd from source?
I wouldn't see why this would make a difference.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada
hi
thanks that worked
at the start of the process, i consciously changed the DLEXT to dylib thinking that would be the better solution for OS X. turns out that the bundle is what it needed and now it works.. if only i knew how to use the software now lol
./d5
On Oct 13, 2006, at 6:32 PM, Mathieu Bouchard wrote:
On Fri, 13 Oct 2006, day 5 wrote:
i tried everything - upon making gridflow i was left with gridflow.dylib and gridflow.pd_darwin and i tried doing ln -s gridflow.dylib gridflow.so and put it in all the pd directories and the directories in PATH but no joy
That has to do with the throwing away of mkmf.rb, a makefile generator which is basically unusable. At the same time I had to throw away the OSX stuff because it had to be rewritten anyway and I didn't know how to rewrite it.
also, i think gridflow.so is a linux convention as i use gridflow on linux regularly is there someplace in the ruby sources to change the require statement to the correct extension?
edit "gridflow/Makefile". Add a line like "DLEXT = bundle" or something.
an additional note is that i'm trying all this with the Hans Christoph-Steiner Pd.app distribution - is this even possible or does it only work if you build Pd from source?
I wouldn't see why this would make a difference.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada