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
better support for macOS installation (e.g. via macports) #5625
Comments
The same problem. Have issues with GUI on MacBook 16 that are probably solved on newer versions but cannot compile on latest OSX due to:
The fix https://github.com/gnuradio/gr-recipes/pull/178/files not helped. So can't try the latest version anyway. p.s. now have installed brew version and adjusted installed version sources manually and it works |
excellent support via anaconda now, and macports was our go-to mac deployment so long! https://wiki.gnuradio.org/index.php?title=InstallingGR#Quick_Start |
What happened?
I wanted to use gnuradio via macports. This has been working in an older version. With my updated environment (macOS 11.6.3, Xcode 13.2.1, python 3.9 or 3.10) I haven't found a way to get it running.
Why not using homebrew? Mixing homebrew and macport is probably not a good idea and I'm already using lots of macports tools.
Here this list of things I tried:
Class QMacAutoReleasePoolTracker is implemented in both /opt/local/libexec/qt5/lib/QtCore.framework/Versions/5/QtCore (0x10740c350) and /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/PyQt5/Qt5/lib/QtCore.framework/Versions/5/QtCore
No matter what I did, the installation always breaks my system by installing two conflicting versions of Qt5 together with python. This even broke other python apps like urh.
I googled for hours but didn't find a solution. It seem to be a problem between gnuradio, Qt5, Python and macports.
macports installation of gnuradio-next @20200419-03d92ac1_7 fails because it doesn't compile. I fixed 3 compile problems and then gave up because investing so much time to an old version is not worth it.
installing gnuradio 3.10 from source
The instructions are outdated. They reference Python 2.7 and there is no macport port named 'gnuradio-devel' any longer.
The latest update in the repo with the build script is two years old and references gnuradio 3.8.
Especially the dependencies are unclear. I had already installed all dependencies for gnuradio-next but I needed at least those additionally:
Together with the following command, the compile at least started:
The reason why the build fails is: qwt52 uses a definition which is no longer defined in recent Qt versions:
qwt61 no longer has this problem, but is not detected by the gnuradio Cmake script and means
gr-qtgui
is not built:I tried that also some weeks ago, but also failed
You can see the story of using gnuradio on macOS is a story of many failures. It would be really nice if you could support the people from macports to provide a version which can be used on macOS.
I can completely understand when Mac users give up. We want to use gnuradio and not spend days to install it and then still fail.
System Information
OS: Mac: macOS macOS 11.6.3, Xcode 13.2.1, macports python 3.9 or 3.10
GR Installation Method: macports and PyBOMBS
GNU Radio Version
3.10 (maint-3.10), actually I can't get any version to work with the recent macOS and macport versions
Specific Version
0.0.0.0
Steps to Reproduce the Problem
or
Relevant log output
Please have a look at all the issues for gnuradio at the macports bug tracking system
The text was updated successfully, but these errors were encountered: