[CM] Compiling snd on OSX Snow Leopard with homebrew

Brooke Mitchell mitchell.brooke at gmail.com
Fri Sep 23 18:16:01 PDT 2011


Hi All,

I had to give a short presentation on snd for my class here at New
Zealand School of Music and since most everyone is mac based gave a
run though on compiling on the mac. This is how I got snd working
using homebrew instead of fink (trying to document everything I did).
The guide for fink'd snd-on-osx was a great help though. I'm
inexperienced with using the terminal and unix commands (and snd!) so
can't offer any more help so ymmv but thought I'd post this in case
anyone else attempts anything similar. Was pretty painless to get a
useful snd install. Anyway here is the guide I gave..

Regards
Brooke


How to install snd on Mac OSX Snow Leopard using homebrew:
--have you installed Developer Tools???

1) install openmotif osx package
(http://www.ist.co.uk/downloads/motif_download.html)
open terminal:
    export DYLD_LIBRARY_PATH=/usr/OpenMotif/lib

2) install homebrew:
  /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"

3) install dependencies.
  brew install libffi
 (repository link should be fixed, otherwise terminal:
	brew edit libffi
change line 4:" url'sourceware.org:/pub/libffi/libffi-3.0.9.tar.gz'"

  brew install --HEAD guile


then:
  brew install fftw
...wait

4) compile the source

  ./configure \
  --with-static-xm  \
  --with-motif-prefix=/usr/OpenMotif
  (--with-ruby  //if you want ruby)

edit makefile. add to line 19: ORIGINAL_LDFLAGS = /usr/OpenMotif/lib

make
sudo make install



More information about the Cmdist mailing list