[Gridflow-dev] osx ruby/ruby configure

james tittle tigital at mac.com
Sun Mar 26 12:24:42 EST 2006

On Mar 25, 2006, at 5:22 PM, Mathieu Bouchard wrote:

> On Tue, 21 Mar 2006, james tittle wrote:
>> ...ok, had to remove "-shared", "-lcrypt", and do:
>> LDSHARED = $(CXX) -undefined dynamic_lookup
> I suppose you can make those changes to the Makefile yourself. Note  
> that
> there are a few OSX things in the Makefile but maybe it's not detected
> correctly... at least it's now a normal Makefile so it should be  
> easier to
> modify for you.
>> ...nifty!  The deployment target is necessary to make "-undefined
>> dynamic_lookup" work:  might be able to add "-mmacosx-version- 
>> min=10.3"
>> to the link line, but I haven't tested (seems like xcode does this  
>> for
>> gem)...
> There's also "-undefined suppress", which is sort of equivalent to the
> default behaviour of "-shared" on Linux. I don't know how fast things
> compiled with dynamic_lookup would be, but I'd guess it'd be slightly
> slower, no?  How does it work?

...dynamic_lookup has always been suggested to me as a replacement  
for suppress, since it's addition (10.3+)...I don't know if there'd  
be any "speed" difference, but I do know that python has switched to  
this flag...

>> ...anyway, I added the path and such to my pd.app, relaunched, and  
>> got the
>> following:
>> setting up Ruby-for-PureData...
>> gridflow.pd_darwin found itself in /Users/tigital/puredataDev/ 
>> gridflow
>> we are using Ruby version 1.8.4
>> (done)
>> ERROR: Cannot load GridFlow-for-Ruby (gridflow.so)
>> ...any ideas?
> Not enough info to answer you... run "pd -stderr" to get all error
> messages together and maybe you'll have something.

...this was with "-stderr" :-\

switching thread,

More information about the Gridflow-dev mailing list