I've finally been able to build and run WSPR on Snow Leopard on top of the Mac Ports platform.
At this stage it involved some manual modification of the ./configure generated Makefile.
The "show stoppers" for me were:
portaudio as built with mac ports exits on an assert about integer size. To overcome this I downloaded the latest trunk and built that.
Then used:
./configure \
--with-portaudio-include-dir=/usr/local/include \
--with-portaudio-lib-dir=/usr/local/lib
Then during linking of wspr I got "/usr/bin/libtool: can't locate file for: -lfftw3f"
The fix for this was to change the Makefile to include /opt/local/lib as follows:
LDFLAGS = -L/opt/local/lib -L/usr/local/lib
I don't know much about mac ports but I'd love to get WSPR in there. Can anyone mentor me on that project?
Thanks to Ross, T61AA for assistance and prodding to get this far, and to John who helped him.
WSPR sure is popular these days:

And thanks to Joe Taylor K1JT for coming up with this amazing software.
Update
Seems rock solid on the Mac. WSPR has been running day and night. Not many spots on 80m last night but 40m is looking really good tonight.

I'm learning about Macports but still haven't quite got to my objective.


4 comments:
I am very interested in a OSX solution to run WSPR.
Can you please tell me more about where and how to get this app?
Thanks!
Hi Rogier,
Unfortunately it's not as simple as distributing a bundled application due to the external libraries which it depends on.
The build instructions are in the article but if you are not familiar with compiling things it's a bit of a learning curve.
Let me know if you have any questions.
Peter
Peter
Firstly a big thanks for giving us Mac users some hope of running WSPR. VMWare and Win7 just isn't cutting it for me on this front right now, and a native Mac version was a dream not that long ago.
I followed the steps you laid out in the first post in December, and got past the variable naming issues with crackfortran.py, and everything else installed OK (although it took ages to build all the packages and components).
However when I follow the next steps you lay out in this post I run aground. I've downloaded the WSPR branch and when I try and run ./configure I get the following message:
"This program needs portaudio v19 to compile."
I think MacPorts is up to date as well, and I thought the port for portaudio was already v19? You mentioned you needed the latest trunk, but I'm not sure of what trunk you were referring to - portaudio, MacPorts or WSPR?
Any hints for the myopic amongst us to get past the last few steps :-)
Cheers
Robin G7VKQ
Hi Robin,
sorry if I wasn't clear. I needed trunk of portaudio so it would build 64 bit. Last time I checked the port of portaudio hadn't been updated.
Thanks for writing in.
Peter
Post a Comment