Opened 6 years ago
Closed 6 years ago
#57037 closed defect (worksforme)
gnuradio: Build failure on macOS High Sierra 10.13.6
Reported by: | jht15 | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | gnuradio |
Description
I follow the guide on https://wiki.gnuradio.org/index.php/MacInstall .
I input
sudo port install gnuradio
in the terminal, and error occurs
---> Computing dependencies for gnuradio ---> Fetching archive for gnuradio ---> Attempting to fetch gnuradio-3.7.13.4_0+docs+grc+jack+log4cpp+logging+portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq.darwin_17.x86_64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/gnuradio ---> Attempting to fetch gnuradio-3.7.13.4_0+docs+grc+jack+log4cpp+logging+portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq.darwin_17.x86_64.tbz2 from https://sha.cn.packages.macports.org/macports/packages/gnuradio ---> Attempting to fetch gnuradio-3.7.13.4_0+docs+grc+jack+log4cpp+logging+portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/gnuradio ---> Fetching distfiles for gnuradio ---> Verifying checksums for gnuradio ---> Extracting gnuradio ---> Applying patches to gnuradio ---> Configuring gnuradio ---> Building gnuradio Error: Failed to build gnuradio: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gnuradio/gnuradio/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port gnuradio failed
Attachments (1)
Change History (7)
Changed 6 years ago by jht15
comment:1 Changed 6 years ago by mf2k (Frank Schima)
comment:2 Changed 6 years ago by mf2k (Frank Schima)
Owner: | set to michaelld |
---|---|
Port: | gnuradio added |
Status: | new → assigned |
comment:3 Changed 6 years ago by michaelld (Michael Dickens)
OK so the error is this:
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gnuradio/gnuradio/work/gnuradio-3.7.13.4/gr-fcd/lib/hid/hidmac.c:25: :info:build In file included from /System/Library/Frameworks/IOKit.framework/Headers/hid/IOHIDManager.h:29: :info:build In file included from /System/Library/Frameworks/IOKit.framework/Headers/hid/IOHIDLib.h:27: :info:build In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43: :info:build In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:72: :info:build /usr/local/include/Block.h:16:3: error: Never include this file directly. Use <lzma.h> instead. :info:build # error Never include this file directly. Use <lzma.h> instead. :info:build ^ :info:build /usr/local/include/Block.h:93:2: error: unknown type name 'lzma_check' :info:build lzma_check check; :info:build ^ :info:build /usr/local/include/Block.h:148:2: error: unknown type name 'lzma_vli' :info:build lzma_vli compressed_size; :info:build ^ :info:build /usr/local/include/Block.h:172:2: error: unknown type name 'lzma_vli' :info:build lzma_vli uncompressed_size; :info:build ^ :info:build /usr/local/include/Block.h:200:2: error: unknown type name 'lzma_filter' :info:build lzma_filter *filters; :info:build ^
I don't know what /usr/local/include/Block.h
is for, but it's not a good header to have around if it causes issues with system headers.
I would strongly advise you to remove whatever is in /usr/local
, clean the GNU Radio build, and start from scratch. If you cannot remove whatever is in /usr/local
, move it out of the way temporarily while you install GNU Radio.
comment:6 Changed 6 years ago by michaelld (Michael Dickens)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Great; thanks for reporting back! I'm closing this as "works for me" since it does ;)
Note: See
TracTickets for help on using
tickets.
In the future, please fill in the Port field and add the port maintainer(s) to Cc (
port info --maintainers gnuradio
), if any.