Compiling snd on OSX Snow Leopard with homebrew

View: New views
2 Messages — Rating Filter:   Alert me  

Compiling snd on OSX Snow Leopard with homebrew

by Brooke Mitchell :: Rate this Message:

| View Threaded | Show Only this Message

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

_______________________________________________
Cmdist mailing list
Cmdist@...
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist

Re: Compiling snd on OSX Snow Leopard with homebrew

by Bill Schottstaedt :: Rate this Message:

| View Threaded | Show Only this Message

Thanks very much!  I'll add that to README.Snd.  I'm amazed
(and pleased) that someone ported Motif -- if I had 2 lives,
I'd take that package and bring it into the "modern" world --
it is still better than anything else, says this grouchy old-timer
(who is now trying to move to Xfce and escape Gnome).
Please let me know of any troubles.

_______________________________________________
Cmdist mailing list
Cmdist@...
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist