I use homebrew; it doesn’t require root privileges. Install by
- You can then install all the brew-installed pieces at one time now. Many dependencies get loaded as well.
brew install mercurial libxml2 libxslt pygtk gtk-mac-integration
Two of the brewed pieces need to be linked into python*
echo /usr/local/opt/libxslt/lib/python2.7/site-packages >> /usr/local/lib/python2.7/site-packages/libxslt.pth
echo /usr/local/opt/libxml2/lib/python2.7/site-packages >> /usr/local/lib/python2.7/site-packages/libxslt.pth
- get pyserial. I used "sudo easy-install pyserial". Perhaps better is "pip install pyserial”
The following two python installs may be optional, based upon README in the chirp source. I did them anyway.
- install suds ('pip install suds')
- Install python-support ('pip install support’)
Start up chirp
(cd chirp.hg; ./chirpw)
Woohoo: a window appears!
I still get warnings when I start up chirp. The following three show up before any radio data are displayed:
2017-06-25 19:02:19.088 Python[55559:1689118] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
/Users/declan/chirp.hg/chirp/ui/mainapp.py:1971: Warning: invalid cast from 'GtkMenuBar' to 'GtkWindow'
macapp.set_menu_bar(menu_bar)
/Users/declan/chirp.hg/chirp/ui/mainapp.py:1971: GtkWarning: gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed
macapp.set_menu_bar(menu_bar)