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



--
Alexandre Quessy
http://alexandre.quessy.net