[MacPorts] #57037: gnuradio: Build failure on macOS High Sierra 10.13.6
MacPorts
noreply at macports.org
Sun Aug 26 19:03:01 UTC 2018
#57037: gnuradio: Build failure on macOS High Sierra 10.13.6
-----------------------+-----------------------
Reporter: jht15 | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: gnuradio |
-----------------------+-----------------------
Comment (by michaelld):
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.
--
Ticket URL: <https://trac.macports.org/ticket/57037#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list