Friday, December 25, 2009

How to build WSPR on MacOS X Snow Leopard

First, the bad news, it doesn't get very far, but I'm working on that.
Screen shot 2009-12-25 at 8.42.12 AM.png

Using MacPorts:
port install portaudio
port install fftw-3-single +g95
port install g95
port install py26-numpy
port install py26-scipy


Using easy_install or pip or whatever:

pip install f2py


There is a python patch I needed:

crackfortran.py in numpy line 1586 has a variable named 'as' that causes a syntax error in python 2.6. I renamed it asx.

To build:

./configure --with-portaudio-lib-dir=/opt/local/lib \
--with-portaudio-include-dir=/opt/local/include
make

Screen shot 2009-12-25 at 8.42.34 AM.pngIf I run the program is crashes shortly after the UI comes up.

I hadn't found what I needed to get this far anywhere so wanted to share. Please let me know if you're got WSPR running on MacOS.

My sincere thanks to the MacPorts users mailing lists for help last night. And thanks of course to Jo Taylor. I'll update when I have some progress to report.

3 comments:

Anonymous said...

Hi Peter,

Any further news on getting WSPR running?

Kind regards,


Sean.
G0OAN.

Peter Marks said...

Hi Sean,

no further news, I've given up for now.

cheers,

peter

Peter Marks said...

Update, I have got this working, see my later post.