titanous / homebrew-gnuradio

GNU Radio Formulae for Homebrew (unmaintained)
109 stars 110 forks source link

gr-baz built on wrong Python Libs #38

Open yrougy opened 11 years ago

yrougy commented 11 years ago

A "brew install gr-baz --HEAD" on my system seems to work well, but I have a crash when I launch gnuradio-companion. This is because all gnuradio is built with brew Python, but gr-baz is building with Apple Python...

I had to change the system 'cmake' line in /usr/local/Library/Formula/gr-baz.rb into

system 'cmake', '..', '-DPYTHON_LIBRARY=/usr/local/Frameworks/Python.framework/Versions/2.7/Python ', *std_cmake_args

to make it work...

Y.

tlrobinson commented 11 years ago

+1 This solved the problem for me. Thanks. (Fatal Python error: PyThreadState_Get: no current thread)

diodenschein commented 9 years ago

+1 Big help thanks!