bistromath / gr-air-modes

Gnuradio Mode-S/ADS-B radio
This project implements a Mode S receiver for the Gnuradio software-defined radio project. It is designed to receive Mode S transmissions from aircraft and decode them to a human-readable format, including ADS-B information messages such as position and a
GNU General Public License v3.0
443 stars 126 forks source link

pyuic4 not found, not installing GUI application #74

Closed 0x00-0xFF closed 8 years ago

0x00-0xFF commented 9 years ago

Hi, I can't install the gui version of gr-air-modes on OSX 10.10.4:

anonymous:build anonymous$ cmake -DPYTHON_LIBRARY=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib -DCMAKE_INSTALL_PREFIX=/opt/local ../ -- Build type not specified: defaulting to release. -- Boost version: 1.58.0 -- Found the following Boost libraries: -- date_time -- program_options -- filesystem -- system -- thread Checking for GNU Radio Module: RUNTIME

But pyqt4 is installed and the output of cmake/Modules/FindPyQt.py is: anonymous:Modules anonymous$ python FindPyQt.py pyqt_version:040b04 pyqt_version_str:4.11.4 pyqt_version_tag:Qt_4_8_6 pyqt_sip_dir:/opt/local/share/py27-sip/PyQt4 pyqt_sip_flags:-x VendorID -t WS_MACX -x PyQt_NoPrintRangeBug -t Qt_4_8_6 -x Py_v3 -g

bistromath commented 9 years ago

I don't know about Mac, but on Ubuntu at least pyuic4 is not bundled with pyqt4 -- you have to also install pyqt4-dev-tools. There's probably a similar package for Mac.

--n

On Mon, Jul 13, 2015 at 9:06 AM bram-s notifications@github.com wrote:

Hi, I can't install the gui version of gr-air-modes on OSX 10.10.4:

anonymous:build anonymous$ cmake -DPYTHON_LIBRARY=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib -DCMAKE_INSTALL_PREFIX=/opt/local ../ -- Build type not specified: defaulting to release. -- Boost version: 1.58.0 -- Found the following Boost libraries: -- date_time -- program_options -- filesystem -- system -- thread Checking for GNU Radio Module: RUNTIME

  • INCLUDES=/opt/local/include
  • LIBS=/opt/local/lib/libgnuradio-runtime.dylib;/opt/local/lib/libgnuradio-pmt.dylib GNURADIO_RUNTIME_FOUND = TRUE -- -- Checking for module SWIG -- Found SWIG version 3.0.6. -- Found PythonLibs: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib (found version "2.7.6") -- Found PythonLibs: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib (found suitable version "2.7.6", minimum required is "2") -- pyuic4 not found, not installing GUI application -- Configuring done -- Generating done -- Build files have been written to: /Users/anonymous/Documents/SDR/gr-air-modes/build

But pyqt4 is installed and the output of cmake/Modules/FindPyQt.py is: anonymous:Modules anonymous$ python FindPyQt.py pyqt_version:040b04 pyqt_version_str:4.11.4 pyqt_version_tag:Qt_4_8_6 pyqt_sip_dir:/opt/local/share/py27-sip/PyQt4 pyqt_sip_flags:-x VendorID -t WS_MACX -x PyQt_NoPrintRangeBug -t Qt_4_8_6 -x Py_v3 -g

— Reply to this email directly or view it on GitHub https://github.com/bistromath/gr-air-modes/issues/74.

devnulling commented 9 years ago

@bram-s If you used macports to install, check if pyuic4 is located in: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin

If so, add this line to your ~/.profile file and then rebuild. export PATH="/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin:$PATH"