Building spectools on MacOS
These are some small notes on how to build spectools on MacOS. I wanted to use spectools with my ubertooth one but it didn’t build without problems on Mac. So here are the steps I took to make it work, you’ll need Honebrew.
First, open up your terminal and clone the latest spectools version
Change directory to spectools
Check if gtk+2 is installed on your system.
If not, install it by entering
During the spectools build I got some issues with gtk+ not being able to find libffi. You can check if there are any issues with your gtk+ installation by entering
On my system pkg-config was complaining that it was unable to locate libffi. So I checked if it was installed through homebrew (it was)
The ‘brew info’ command gave a hint about setting the PKG_CONFIG_PATH environment variable. So I’ve set the variable like so
Setting the variable like that only holds it for your current shell session, but it’s good enough to start the build later. So now if we would check the gtk+ installation for errors it shouldn’t complain about libffi.
Next, run ‘configure’ with the following flags and variables.
And finally, build it.
To run spectools, enter