Hello there,
I know this issue has been addressed before on the pd-list and
gridflow lists but I'm stuck nonetheless. Maybe somebody can help.
Using Pd version 0.38.4-extended-RC8 on OS X Tiger (10.4.6),
Gridflow 0.8.3 built using recent Ruby 1.9 CVS snapshot. gridflow
builds fine for me when I do the following:
./configure --use-compiler=/usr/bin/g++-3.3 --no-fftw MACOSX_DEPLOYMENT_TARGET=10.3 make
and I get a gridflow.bundle and gridflow.pd_darwin file as a result.
I have copied gridflow.pd_darwin to the extras/gridflow directory,
and copied the gridflow.bundle file all over the freakin place,
everywhere that Ruby reports it's trying to look for it, with no
luck. Running PD fails like so:
gridflow.pd_darwin found itself in ./extra/gridflow we are using Ruby version 1.8.4 DIR = "./extra/gridflow" Ruby's path = ["./extra/gridflow/..", "./extra/gridflow", "./extra/ gridflow/optional/rblti", "/sw/lib/ruby/site_ruby/1.8", "/sw/lib/ruby/ site_ruby/1.8/powerpc-darwin", "/sw/lib/ruby/site_ruby", "/sw/lib/ ruby/1.8", "/sw/lib/ruby/1.8/powerpc-darwin", "."] [LoadError] [Failed to load ./extra/gridflow/gridflow.bundle]: ./extra/gridflow/gridflow.bundle (eval):1 ERROR: Cannot load GridFlow-for-Ruby (gridflow.so)
Mystery #1: Why is PD reporting Ruby version 1.8.4?
Mystery #2: If gridflow.bundle is in one of the locations in the
path, why can't GridFlow-for-Ruby be loaded?
Help would be very very much appreciated!
Best regards, John Berry
You compiled it successfully on Tiger ? Wow. Never got it to work. Supposed to work on Panther though.
I think you should create a symbolic link to Ruby 1.9 and delete the old one:
rm /usr/bin/ruby ln -s /usr/bin/ruby1.9 /usr/bin/ruby
Do that at your own risks !!!!
aalex
On 6/9/06, John Berry john@ulfmagnet.com wrote:
Hello there,
I know this issue has been addressed before on the pd-list and gridflow lists but I'm stuck nonetheless. Maybe somebody can help.
Using Pd version 0.38.4-extended-RC8 on OS X Tiger (10.4.6), Gridflow 0.8.3 built using recent Ruby 1.9 CVS snapshot. gridflow builds fine for me when I do the following:
./configure --use-compiler=/usr/bin/g++-3.3 --no-fftw MACOSX_DEPLOYMENT_TARGET=10.3 make
and I get a gridflow.bundle and gridflow.pd_darwin file as a result.
I have copied gridflow.pd_darwin to the extras/gridflow directory, and copied the gridflow.bundle file all over the freakin place, everywhere that Ruby reports it's trying to look for it, with no luck. Running PD fails like so:
gridflow.pd_darwin found itself in ./extra/gridflow we are using Ruby version 1.8.4 DIR = "./extra/gridflow" Ruby's path = ["./extra/gridflow/..", "./extra/gridflow", "./extra/ gridflow/optional/rblti", "/sw/lib/ruby/site_ruby/1.8", "/sw/lib/ruby/ site_ruby/1.8/powerpc-darwin", "/sw/lib/ruby/site_ruby", "/sw/lib/ ruby/1.8", "/sw/lib/ruby/1.8/powerpc-darwin", "."] [LoadError] [Failed to load ./extra/gridflow/gridflow.bundle]: ./extra/gridflow/gridflow.bundle (eval):1 ERROR: Cannot load GridFlow-for-Ruby (gridflow.so)
Mystery #1: Why is PD reporting Ruby version 1.8.4? Mystery #2: If gridflow.bundle is in one of the locations in the path, why can't GridFlow-for-Ruby be loaded?
Help would be very very much appreciated!
Best regards, John Berry _______________________________________________ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Jun 9, 2006, at 12:52 AM, John Berry wrote:
Using Pd version 0.38.4-extended-RC8 on OS X Tiger (10.4.6),
Gridflow 0.8.3 built using recent Ruby 1.9 CVS snapshot. gridflow
builds fine for me when I do the following:
...hmm, I think matju claims that a specific version of ruby is
needed (the most recent working one I know of is "cvs update -
D2006-01-01 ruby")...
./configure --use-compiler=/usr/bin/g++-3.3 --no-fftw MACOSX_DEPLOYMENT_TARGET=10.3 make
and I get a gridflow.bundle and gridflow.pd_darwin file as a result.
I have copied gridflow.pd_darwin to the extras/gridflow directory,
and copied the gridflow.bundle file all over the freakin place,
everywhere that Ruby reports it's trying to look for it, with no
luck. Running PD fails like so:gridflow.pd_darwin found itself in ./extra/gridflow we are using Ruby version 1.8.4 DIR = "./extra/gridflow" Ruby's path = ["./extra/gridflow/..", "./extra/gridflow", "./extra/ gridflow/optional/rblti", "/sw/lib/ruby/site_ruby/1.8", "/sw/lib/ ruby/site_ruby/1.8/powerpc-darwin", "/sw/lib/ruby/site_ruby", "/sw/ lib/ruby/1.8", "/sw/lib/ruby/1.8/powerpc-darwin", "."] [LoadError] [Failed to load ./extra/gridflow/gridflow.bundle]: ./extra/gridflow/gridflow.bundle (eval):1 ERROR: Cannot load GridFlow-for-Ruby (gridflow.so)
Mystery #1: Why is PD reporting Ruby version 1.8.4? Mystery #2: If gridflow.bundle is in one of the locations in the
path, why can't GridFlow-for-Ruby be loaded?
...the answer to both of these mysteries is that you may have
compiled gridflow against rubycvs 1.9, but it is linked against ruby
1.8.4 in fink: you can see this by running
otool -L gridflow.pd_darwin otool -L gridflow.pd_darwin
...if either one has something like "/sw/lib/libruby.1.8.dylib"
listed, then it needs to be changed to your libruby.
1.9.dylib...luckily there's an easy step to fix this: run the
following command (after correcting the paths for your system):
install_name_tool -change /sw/lib/libruby.1.8.dylib /your/path/to/ gridflow/lib/libruby.1.9.0.dylib gridflow.pd_darwin
...then run the otool stuff to check that it changed...if that works,
you should be able to load gridflow, but don't expect much, because
we quickly found lotsa unusual crashing, and haven't yet had time to
track down who's fault it is (ruby/gridflow/ppc/etc)...
jamie