I purchased a Mac Mini recently and figured it would be the perfect machine to hook up to my long silent Flex-Radio and would let me dive into development on the OSX for the first time. I’ll detail the process I followed to get everything compiled.. running later.
First we need to satisfy the pre-reqs required by sdr-main. Install MacPorts (formerly DarwinPorts) and install fftw3f. To do this you need to navigate to the bin directory of the ports (on my machine it was /opt/local/bin) and issue the command:
#/opt/local/bin $ sudo ./port install fftw-3-single
Make sure it is fftw-3-single, for if you neglect the “-single” it won’t install the libfftwf.* libraries. This install can take a while and appear frozen but be patient.
Next you need to install Jacks which is trivial for OSX as there is a nice GUI installer already built for you. Their homepage is http://www.jackosx.com/ (for those wanting a direct link use (possibly out of date)this.).
Now we need a working directory to compile so pull the latest source tip from svn://206.216.146.154/svn/repos_sdr_linux/.
Navigate into the source directory and use ./configure to create the proper Makefile.
./configure --prefix=/Users/johnbradley/sdr/sdr-core/
The prefix is one directory level up from the source directory since I want all the binaries to go in ../bin
Then simple make and install the sdr-dttsp:
make && make install