|

Next: SND-GTK-on-OSX
Up: The OS-X Linux Connection
Previous: Fink
SND-on-OSX
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 !)
- 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:
- fink selfupdate
- fink update-all
- 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
- fink install openmotif3
Next, install guile16 and its development libraries:
- fink install guile16
- 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.
- fink install fftw
Beware that installation of fftw takes a while because it needs to
compile itself and several dependencies.
- 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:''
- 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 \
--with-motif-prefix=/sw
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:
- setenv LDFLAGS "-L/sw/lib -lmx -bind_at_load""
- setenv CFLAGS "-I/sw/include"
After this, you're nearly home:
- make
- sudo make install
(you need to sudo make install, because it will install a
Snd executable in /usr/local/bin)
Next: SND-GTK-on-OSX
Up: The OS-X Linux Connection
Previous: Fink
© Copyright 2001-2006 CCRMA, Stanford University. All rights reserved.
Created and Mantained by Juan Reyes
|