For more information and tutorials on SND please look at the Snd section: ยง9.13.

Cristopher Pierson Ewing has provided the steps for installing SND on OS-X (thanks Chris !)

  1. The first step (and it is a vital one) is to make sure that your version of fink is fully up-to-date. Start by running:
  2. Verify that you have a working version of X11 on your machine. This must include the development libs found in the X11SDK. If you are using apple's version of X11, the SDK package is _not_ installed by default when you install X11. You have to do a custom install from the X Code disk to get the package.

    Once all this is in place, use fink to install openmotif3

  3. fink install openmotif3

    Next, install guile16 and its development libraries:

  4. fink install guile16
  5. fink install guile16-dev

    You can also use fink to install the fftw package. It really takes a longtime to build, but helps to speed up the fft-based functions in snd.

  6. fink install fftw

    Beware that installation of fftw takes a while because it needs to compile itself and several dependencies.

  7. Download and untar the latest SND sources from ccrma-ftp

    Cris Ewing suggests:

    “If you have trouble with the configure process, you may want to check to make sure what the guile binaries are named. All the information you will need to get configure to work successfully is in README.Snd inside the snd distribution. It seems important to use the switch –disable-nls. I'm not sure why, but I couldn't get the build to work with nls enabled. This is the configuration command that I used after following the instructions above:”

  8. On the SND directory you can try this options with the configure command on the tsch before making its binaries (all in one line or using backslash):
       ./configure CFLAGS=-I/sw/include LDFLAGS=-L/sw/lib \
       GUILE_CONFIG_path=/sw/bin/ --disable-nls \
      --with-guile --with-motif --with-static-xm  \

    This config was run from a bash shell. If you are using tcsh (and you might be if you upgraded to panther) then you will have to omit the part about CFLAGS and LDFLAGS above. Instead, you can set these through the shell by running:

  9. setenv LDFLAGS "-L/sw/lib -lmx -bind_at_load""
  10. setenv CFLAGS "-I/sw/include"

    After this, you're nearly home:

  11. make
  12. sudo make install

    (you need to sudo make install, because it will install a Snd executable in /usr/local/bin)

© Copyright 2001-2022 CCRMA, Stanford University. All rights reserved.
Created and Mantained by Juan Reyes