Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brew install broken #27

Open
RichNeese opened this issue Nov 26, 2023 · 1 comment
Open

Brew install broken #27

RichNeese opened this issue Nov 26, 2023 · 1 comment

Comments

@RichNeese
Copy link

RichNeese commented Nov 26, 2023

brew install libusb installed libusb but airspyhf is not locating it

on masoc on m1-m3 lubusb-1.0 is in /opt/homebrew/lib/libusb-1.0
libusb.h is in /opt/homebrew/include

Last 15 lines from /Users/richardneese/Library/Logs/Homebrew/airspyhf/02.make:
#include <libusb.h>
^~~~~~~~~~
/tmp/airspyhf-20231126-67586-3yqr1q/airspyhf-1.0/libairspyhf/src/airspyhf.c:34:10: fatal error: 'libusb.h' file not found
#include <libusb.h>
^~~~~~~~~~
1 error generated.
1 error generated.
make[2]: *** [libairspyhf/src/CMakeFiles/airspyhf-static.dir/airspyhf.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [libairspyhf/src/CMakeFiles/airspyhf.dir/airspyhf.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [libairspyhf/src/CMakeFiles/airspyhf.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [libairspyhf/src/CMakeFiles/airspyhf-static.dir/all] Error 2
make: *** [all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
https://github.com/pothosware/homebrew-pothos/issues

These open issues may also help:
SoapySDR airspyhf not match with GNU Radio under MacOS Ventura pothosware/homebrew-pothos#61
richardneese@Richards-Mini pihpsdr %

@bobbyl140
Copy link

brew install libusb installed libusb but airspyhf is not locating it

on masoc on m1-m3 lubusb-1.0 is in /opt/homebrew/lib/libusb-1.0 libusb.h is in /opt/homebrew/include

Last 15 lines from /Users/richardneese/Library/Logs/Homebrew/airspyhf/02.make: #include <libusb.h> ^~~~~~~~~~ /tmp/airspyhf-20231126-67586-3yqr1q/airspyhf-1.0/libairspyhf/src/airspyhf.c:34:10: fatal error: 'libusb.h' file not found #include <libusb.h> ^~~~~~~~~~ 1 error generated. 1 error generated. make[2]: *** [libairspyhf/src/CMakeFiles/airspyhf-static.dir/airspyhf.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [libairspyhf/src/CMakeFiles/airspyhf.dir/airspyhf.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [libairspyhf/src/CMakeFiles/airspyhf.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [libairspyhf/src/CMakeFiles/airspyhf-static.dir/all] Error 2 make: *** [all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core): https://github.com/pothosware/homebrew-pothos/issues

These open issues may also help: SoapySDR airspyhf not match with GNU Radio under MacOS Ventura pothosware/homebrew-pothos#61 richardneese@Richards-Mini pihpsdr %

@RichNeese Just had the same problem, solvable by editing the formula: brew edit pothosware/pothos/airspyhf, set that path (/opt/homebrew) and then install (brew install pothosware/pothos/airspyhf). Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants