Opened 4 years ago
Last modified 3 years ago
#62060 closed defect
Gnuradio configure and build failure on OSX 10.14.6 — at Version 9
Reported by: | pa3axa | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | Cc: | ra1nb0w | |
Port: | gnuradio |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Hi,
the problems i have are exactly the same as mentioned in the now closed tickets #61934, #61995. I tried al the suggestions but nothing worked.
The OSX is a clean installed OSX Mojave 10.14.6 and a fresh Macport with the only port to install gnuradio.
% grep "shared-library" $(port contents atk | grep "\.gir") shared-library="libatk-1.0.0.dylib"
I even edited the file to reflect the installed path, then clean gnuradio and install both the configure failure remains.
sudo port -sn upgrade --force gobject-introspection gdk-pixbuf2 atk
fails confifure
on "gobject-introspection"
Installed Xcode Version 11.3.1 (11C505).
Just as a matter of interest I tried to install gnuradio37, this fails during build.
Regards Rens
Change History (9)
comment:1 Changed 4 years ago by ra1nb0w
comment:2 Changed 4 years ago by michaelld (Michael Dickens)
Can you try this:
sudo port clean gobject-introspection sudo port -sn upgrade --force gobject-introspection
and if that fails, attach the build log here. If it succeeds, then do:
sudo port clean gdk-pixbuf2 atk sudo port -sn upgrade --force gdk-pixbuf2 atk
and if either of those fail then attach that build log here. Now if that succeeds, do:
sudo port clean gnuradio37 sudo port install gnuradio37
... worth a try!
comment:3 Changed 4 years ago by jmroot (Joshua Root)
Cc: | ra1nb0w added; michaelld@… ra1nb0w@… removed |
---|---|
Keywords: | 10.14.4 Mojave Configure Build Failure removed |
Owner: | set to michaelld |
comment:4 Changed 4 years ago by pa3axa
Yes Hamradio is one of my interest and PA3AXA is my call sign.
Yesterday I restarted this again, clean install OSX 10.14.4,
updated to 10.14.6 and Xcode 10.3.1. First had to fix the
OSX 10.14 SDK with the suggestions done in #59837
Then sudo port install gnuradio this failed during
configure on the atk library
:info:configure -- Dependency GTK_GI_FOUND = FALSE
Then I followed the above suggestions.
Clean and Reinstall gobject-introspection forced
MacPro:~ macpro$ sudo port -sn upgrade --force gobject-introspection ---> Computing dependencies for gobject-introspection
That worked, then
sudo port clean gdk-pixbuf2 atk sudo port -sn upgrade --force gdk-pixbuf2 atk
That finished without any error.
Next
macpro$ sudo port clean gnuradio ---> Cleaning gnuradio MacPro:~ macpro$ sudo port install gnuradio ---> Computing dependencies for gnuradio
That finishes without errors but during the building a message about installing the JAVA SDK popup, and agreed.
Put it all to the test gnuradio-companion won't start
gnuradio-companion:54059): Gtk-WARNING **: 18:09:36.500: Locale not supported by C library. Using the fallback 'C' locale. No such schema ?org.gnome.desktop.interface? Traceback (most recent call last): File "/opt/local/bin/gnuradio-companion", line 102, in <module> run_main() File "/opt/local/bin/gnuradio-companion", line 95, in run_main exit(main()) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/gnuradio/grc/main.py", line 73, in main from .gui.Platform import Platform File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/gnuradio/grc/gui/Platform.py", line 26, in <module> from . import canvas File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/gnuradio/grc/gui/canvas/__init__.py", line 21, in <module> from .param import Param File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/gnuradio/grc/gui/canvas/param.py", line 23, in <module> from .. import ParamWidgets, Utils, Constants File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/gnuradio/grc/gui/ParamWidgets.py", line 69, in <module> add_style_provider() File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/gnuradio/grc/gui/ParamWidgets.py", line 67, in add_style_provider Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION TypeError: Argument 0 does not allow None as a value
Remove gnuradio and installed gnuradio37 error remains
but now refers to Python 2.7.
MacPro:~ macpro$ gnuradio-companion (process:81795): Gtk-WARNING **: 20:26:19.224: Locale not supported by C library. Using the fallback 'C' locale. Traceback (most recent call last): File "/opt/local/bin/gnuradio-companion", line 97, in <module> check_gtk() File "/opt/local/bin/gnuradio-companion", line 64, in check_gtk die(err, "Failed to initialize GTK. If you are running over ssh, " File "/opt/local/bin/gnuradio-companion", line 42, in die import gtk File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 69, in <module> _init() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 57, in _init warnings.warn(str(e), _gtk.Warning) gtk.GtkWarning: could not open display
So all in all, we managed to fix the configuration error, building is fine but now we another GTK related issue
comment:5 Changed 4 years ago by pa3axa
I managed to fix this by setting the locale to ENG-US in Mac preference, reboot
then set to my originals settings ENG-NL en reboot.
GNU Radio Companion 3.7.14.0 is now starting up and present the normal GUI.
Will try this tomorrow on my MacBookPro and Mojave see if will get this running to.
Thanks for all your suggestions
comment:6 Changed 4 years ago by pa3axa
Just to make it complete change the port to gnuradio
It has this warning but the GUI starts normally, did not made any
other tests but this is promising.
(gnuradio-companion:766): Gtk-WARNING **: 00:02:18.671: Locale not supported by C library. Using the fallback 'C' locale. dbus[766]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded! No such schema ?org.gnome.desktop.interface? <<< Welcome to GNU Radio Companion 3.8.2.0 >>> Block paths: /opt/local/share/gnuradio/grc/blocks
comment:7 Changed 4 years ago by pa3axa
Tested on a MacBookPro following the steps below will install GNU Radio 37
without any config and building errors that prevent the completion of the instal
l
sudo port install gnuradio37
Below the complete list of commands used to get GNUradio installed
Steps for Macport on Mojave -------------------------------------------------------------------------------------------------- --> Install Mojave by Mac Installer --> Software Update to latest version 10.14.6 --> Install Java JRE & SDK --> Install Xcode 13.1 --> Install Xcode CMD tools --> Test if the CMD tools can be found xcrun --sdk macosx10.14 --show-sdk-path -v --> If not Fix 10.14SDK following Macport #59837 Check 10.14.sdk is installed. ls -l /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk Create a symlink for the Xcode Application $ cd /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs $ ls -l total 0 drwxr-xr-x 4 root wheel 128 Jan 14 07:14 DriverKit19.0.sdk drwxr-xr-x 8 root wheel 256 Jan 14 07:14 MacOSX.sdk lrwxr-xr-x 1 root wheel 10 Nov 18 16:10 MacOSX10.15.sdk -> MacOSX.sdk $ sudo ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk $ ls -l total 0 drwxr-xr-x 4 root wheel 128 Jan 14 07:14 DriverKit19.0.sdk drwxr-xr-x 8 root wheel 256 Jan 14 07:14 MacOSX.sdk lrwxr-xr-x 1 root wheel 56 May 10 12:53 MacOSX10.14.sdk -> /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk lrwxr-xr-x 1 root wheel 10 Nov 18 16:10 MacOSX10.15.sdk -> MacOSX.sdk Test again xcrun --sdk macosx10.14 --show-sdk-path -v --> Install Macport --> Macport selfupdate --> sudo port install gnuradio --> Installed, no fatal errors --> Startup failed on "fallback 'C' locale." error fix by setting to US reboot. --> Reset my prefered setting ENG-NL. --> Gnuradio GUI launching
comment:8 follow-up: 9 Changed 4 years ago by pa3axa
Maybe not the right place but a new ticket seems not the right thing either.
gr37-osmosdr fails on bladeRF due to missing help2man, installing this fixes that.
:info:configure CMake Error at host/utilities/bladeRF-cli/CMakeLists.txt:330 (message): :info:configure Could not find help2man. bladeRF-cli man page cannot be built. :info:configure -- Configuring incomplete, errors occurred!
comment:9 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
Replying to pa3axa:
Maybe not the right place but a new ticket seems not the right thing either.
gr37-osmosdr fails on bladeRF due to missing help2man, installing this fixes that.
jmr fixed this in [b32187351d40c39c3c6e6a648fcecb3fbff98c9e/macports-ports]. In the future, please file new tickets for new unrelated errors.
You are an ham, Welcome :)
Can you paste the gobject-introspection's error log?