[MacPorts] #60852: gnuradio-next: fatal error: 'endian.h' file not found

MacPorts noreply at macports.org
Sun Mar 6 14:34:09 UTC 2022


#60852: gnuradio-next: fatal error: 'endian.h' file not found
----------------------------+-----------------------
  Reporter:  ryandesign     |      Owner:  michaelld
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.6.2
Resolution:                 |   Keywords:
      Port:  gnuradio-next  |
----------------------------+-----------------------

Comment (by nospam2000):

 I now tried to compile gnuradio 3.10 from source and had a partial
 success.

 First the additional dependencies I needed to install:

 {{{
  sudo port install texlive-latex-recommended
  sudo port install texlive-latex-extra
  sudo port install boost
  sudo port install boost178
  sudo port install boost178-numpy
  sudo port install py310-pygccxml
  sudo port install spdlog
  sudo port install libiio
  sudo port install qwtplot3d
  sudo port install qwt-qt5
  sudo port install qwt61 # qwt52 will cause compile error in gnuradio;
 qwt61 not detected by gnuradio Cmake
 }}}

 And use the following build command:

 {{{
 CC=/usr/bin/llvm-gcc CXX=/usr/bin/llvm-g++ cmake \
 -Dpybind11_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/pybind11/share/cmake/pybind11 \
 -DPYTHON_EXECUTABLE=/opt/local/bin/python3.10 \
 -DPYTHON_INCLUDE_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/3.10/Headers
 \
 -DPYTHON_LIBRARY=/opt/local/Library/Frameworks/Python.framework/Versions/3.10/Python
 \
 -DSPHINX_EXECUTABLE=/opt/local/bin/rst2html-3.10.py \
 -DGR_PYTHON_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages \
 ..
 }}}

 The only issue for compiling I had with that is with `qwt`:
 - qwt52 will cause a compile error in gnuradio because a Qt define is
 missing.
 - qwt61 is not detected by gnuradio Cmake and will cause `gr-qtgui` to be
 excluded from the build.

-- 
Ticket URL: <https://trac.macports.org/ticket/60852#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list