Giter Club home page Giter Club logo

Comments (6)

dholm avatar dholm commented on July 17, 2024

@1am I fixed a bunch of bugs in the formulas today. Run brew update and reinstall gr-osmosdr.

from homebrew-sdr.

1am avatar 1am commented on July 17, 2024

Hi. Thank you!

I've just trued but still fosphor seems to be missing. I've tried rebuilding and reinstalling it but nothing fixed the missing python library.

The following is the log from brew unistallation after update and uninstalling gr-osmosdr:

# brew install gr-osmosdr --HEAD
==> Installing gr-osmosdr from dholm/homebrew-sdr
==> Installing dependencies for dholm/sdr/gr-osmosdr: harfbuzz, soapysdr
==> Installing dholm/sdr/gr-osmosdr dependency: harfbuzz
==> Downloading https://homebrew.bintray.com/bottles/harfbuzz-1.0.4.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring harfbuzz-1.0.4.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/harfbuzz/1.0.4: 94 files, 3.6M
==> Installing dholm/sdr/gr-osmosdr dependency: soapysdr
==> Cloning https://github.com/pothosware/SoapySDR.git
Cloning into '/Library/Caches/Homebrew/soapysdr--git'...
remote: Counting objects: 90, done.
remote: Compressing objects: 100% (80/80), done.
remote: Total 90 (delta 2), reused 35 (delta 0), pack-reused 0
Unpacking objects: 100% (90/90), done.
Checking connectivity... done.
==> Checking out branch master
==> cmake .. -DCMAKE_SHARED_LINKER_FLAGS='-Wl,-undefined,dynamic_lookup' -DPYTHON_LIBRARY='/usr/local/lib/libgnuradio-runtime.dylib' -DCMAKE_C_FLAGS_RELEASE= -DCMAKE_CXX_FL
==> make install
🍺  /usr/local/Cellar/soapysdr/HEAD: 29 files, 1.1M, built in 22 seconds
==> Installing dholm/sdr/gr-osmosdr
==> Cloning git://git.osmocom.org/gr-osmosdr
Updating /Library/Caches/Homebrew/gr-osmosdr--git
==> Checking out branch master
==> cmake .. -DCMAKE_SHARED_LINKER_FLAGS='-Wl,-undefined,dynamic_lookup' -DPYTHON_LIBRARY='/usr/local/lib/libgnuradio-runtime.dylib' -DCMAKE_C_FLAGS_RELEASE= -DCMAKE_CXX_FL
==> make install
🍺  /usr/local/Cellar/gr-osmosdr/HEAD: 32 files, 2.5M, built in 48 seconds

from homebrew-sdr.

dholm avatar dholm commented on July 17, 2024

@1am Looks like gr-osmosdr depends on gr-fosphor. I just pushed an updated formula with the dependency. Probably it's enough if you just brew install gr-fosphor.

from homebrew-sdr.

1am avatar 1am commented on July 17, 2024

gr-fosphor installs correctly but it fails to link and that's probably why it's not visible by python.

brew install gr-fosphor --HEAD
==> Installing gr-fosphor from dholm/homebrew-sdr
==> Cloning git://git.osmocom.org/gr-fosphor
Updating /Library/Caches/Homebrew/gr-fosphor--git
==> Checking out branch master
==> cmake .. -DCMAKE_SHARED_LINKER_FLAGS='-Wl,-undefined,dynamic_lookup' -DPYTHO
==> make install
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink include/gnuradio/fosphor/api.h
/usr/local/include/gnuradio/fosphor is not writable.

You can try again using:
  brew link gr-fosphor
==> Summary
🍺  /usr/local/Cellar/gr-fosphor/HEAD: 25 files, 1.0M, built in 22 seconds

doing a ls /usr/local/include/gnuradio/fosphor/* shows that the directory is empty. I think that the formula should try to link against ls /usr/local/Cellar/gr-fosphor/HEAD/include/gnuradio/fosphor/ ?

from homebrew-sdr.

dholm avatar dholm commented on July 17, 2024

Hmm, run ls -l /usr/local/include/gnuradio/fosphor and check the permissions. It says the path is not writable so the permissions might be incorrect.

You can try sudo chmod $(whoami):admin /usr/local/include/gnuradio/fosphor followed by brew link gr-fosphor.

from homebrew-sdr.

1am avatar 1am commented on July 17, 2024

Great! Thank you, works like a charm :)
For reference I had to do:

sudo chown -R $(whoami):admin /usr/local/include/gnuradio/fosphor
brew link gr-fosphor

and after that I needed to install OpenGL for python via:

pip install PyOpenGL PyOpenGL_accelerate

from homebrew-sdr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.