[PD] gridflow for pd OS X

Mathieu Bouchard matju at artengine.ca
Wed Apr 27 21:30:40 CEST 2005

On Mon, 25 Apr 2005, Patrick Pagano wrote:
> i reconfigured and re-compiled and changed the makefile to produce .pd_darwin

gridflow.bundle is GridFlow-for-Ruby.

If PureData is detected (requires finding m_pd.h) then the building of 
Ruby-for-PureData will be enabled, and that produces gridflow.pd_darwin.

That's because GridFlow is split in two halves so that it can be used from 
either Ruby or PureData (and formerly also from jMax25 and jMax4).

Renaming gridflow.bundle will certainly not work, because that file is a 
plugin for Ruby, not a plugin for PureData.

To allow GridFlow to find m_pd.h, the CPLUS_INCLUDE_PATH env-var must be 
set correctly, using the export command in the Bash shell or the setenv 
command in the Tcsh shell.

>>>> Not only this, the process corrupted my Pd installation (found at
>>>> pcm.peabody.jhu.edu/~sburt) so that no externals would load.
>>>> "libraryname: can't load library" for example.

That's very strange: I never ever heard of that problem and have not 
experienced it either in all my compilations of GridFlow on my G3-700 
laptop running OSX-10.2.8.

>>>> ERROR: Cannot load GridFlow-for-Ruby (gridflow.so)
>>>> Although I haven't found gridflow.so at all.  I'm thinking the makefile
>>>> was supposed to generate it?

The error message was made for Linux. On OSX the equivalent is 
gridflow.bundle. It's supposed to be installed in the Ruby equivalent of 
the extra/ directory; on my OSX laptop that's:


But that will vary depending on which version of Ruby is installed and 
where Ruby is installed.

>>>> cp bin/jmax2pd /sw/bin; chmod 755 /sw/bin/jmax2pd
>>>> mkdir -p
>>>> /Applications/Pd-0.38-3.app/Contents/Resources/lib/pd/doc/5.reference/
>>>> gridflow
>>>> cp pd_help/*.pd
>>>> /Applications/Pd-0.38-3.app/Contents/Resources/lib/pd/doc/5.reference/
>>>> gridflow
>>>> cp gridflow.pd_darwin pd_abstractions/*.pd
>>>> /Applications/Pd-0.38-3.app/Contents/Resources/lib/pd/extra
>>>> usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
>>>>        cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN
>>>>        directory

Anyone can make sense of that error message? I can't. This "cp" program is 
getting autistic on us. Can't it just tell us what's actually going on?
I don't get those errors here.

  ,-o---------o---------o---------o-. ,---.             |               |
  | The Diagram is the Program (TM) | | ,-o-------------o--------------o-.
  `-o-----------------------------o-' | | Mathieu Bouchard (Montréal QC) |
    |                             `---' `-o-- http://artengine.ca/matju -'

More information about the Pd-list mailing list