installing direwolf on macOS

I’ve been using APRS quite alot recently and wanted to install my favorite igate program “direwolf” on my macbook pro. unfortunatly, while direwolf is able to run on OSX, it does not come with updated support and documentation. so here’s what I’ve done.

First update your XCode to a recent version.

next you’ll need to compile portaudio which direwolf relay’s on. so go over to http://www.portaudio.com/download.html and download the latest release. it will be marked by “<== You probably want this!!“. unzip and move to whereever you preffer. open a terminal and head over there

type:

./configure --disable-mac-universal
make
sudo make install

you should have a file named libportaudio.dylib in your /usr/local/ folder

next download direwold from github

git clone http://github.com/wb2osz/direwolf
cd direwolf/
make

the program should compile with no errors.

in order to install, we’ll need to make some adjustments to the Makefile.macosx file

you can download my updated file here, but here’s a quick rundown

we need to change

INSTALL=ginstall
to:
INSTALL=install

than add :

        $(INSTALL)  -d $(INSTALLDIR)/share/direwolf
        $(INSTALL)  -d $(INSTALLDIR)/share/doc/direwolf

finally we need to change every line that looks like

$(INSTALL)  -D --mode=644 tocalls.txt $(INSTALLDIR)/share/direwolf/tocalls.txt

to

$(INSTALL)  -m 644 tocalls.txt $(INSTALLDIR)/share/direwolf/tocalls.txt

now run:

sudo make install
make install-conf

if you run direwolf you’ll see something like

Dire Wolf version 1.5

Reading config file direwolf.conf
Audio device for both receive and transmit:   (channel 0)
Number of devices = 2
--------------------------------------- device #0
[ Default Input ]
Name        = "Built-in Microphone"
Host API    = Core Audio
Max inputs  = 2
Max outputs = 0
--------------------------------------- device #1
[ Default Output ]
Name        = "Built-in Output"
Host API    = Core Audio
Max inputs  = 0
Max outputs = 2
Input device name null
Pointless to continue without audio device.

you will also find a direwolf.conf file in your home folder open it and add a line like

ADEVICE  "Built-in Microphone"  "Built-in Output"

fill in the rest of the parameters as per the manuall

good luck

Pin It
(Visited 112 times, 1 visits today)

Leave a Reply

Your email address will not be published. Required fields are marked *