chleggett / homebrew-gqrx Goto Github PK
View Code? Open in Web Editor NEWThis is an effort to setup a homebrew formula for http://gqrx.dk.
This is an effort to setup a homebrew formula for http://gqrx.dk.
Hi,
I am following your instructions to build gqrx with homebrew under El Capitan,
and I am getting an error when running the step
$ brew install gqrx
...
Error: chleggett/gr-osmosdr/gr-osmosdr 0.1.4 did not build
The logfiles do not tell anything special to me, beside the error that I paste here.
Thanks for having a look
Fabrizio
-------------------------- The only error that I see in the logfiles
[ 48%] Built target gnuradio-osmosdr
make: *** [all] Error 2
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 38df5e567a7ac2c73e557805b183e80341a36e9a
Last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: dual-core 64-bit core2
OS X: 10.11.1-x86_64
Xcode: 7.1
CLT: N/A
GCC-4.2: build 0
Clang: 7.0 build 700
X11: 2.7.6 => /opt/X11
System Ruby: 2.0.0-p645
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Java: N/A
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j2
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/libxml2:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/apache2:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.11
HOMEBREW_SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/cmake/bin:/usr/bin:/bin:/usr/sbin:/sbin
I get the error *make: * [all] Error 2
couldn't understand kern.osversion `14.3.0'
14.3.0 is the current kernel for Mac OS X 10.0.3
I am running Mac OS X 10.0.3, Xcode 6.3 and have run brew update so everything else is current
$ brew install gqrx
==> Installing gqrx from chleggett/homebrew-gqrx
==> Installing dependencies for gqrx: cmake, gr-osmosdr
==> Installing gqrx dependency: cmake
==> Downloading https://homebrew.bintray.com/bottles/cmake-3.2.2.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring cmake-3.2.2.yosemite.bottle.tar.gz
๐บ /usr/local/Cellar/cmake/3.2.2: 1847 files, 32M
==> Installing gqrx dependency: gr-osmosdr
==> Downloading http://cgit.osmocom.org/gr-osmosdr/snapshot/gr-osmosdr-0.1.4.tar.gz
Already downloaded: /Library/Caches/Homebrew/gr-osmosdr-0.1.4.tar.gz
==> cmake .. -DCMAKE_C_FLAGS_RELEASE= -DCMAKE_CXX_FLAGS_RELEASE= -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/gr-osmosdr/0.1.4 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_
==> make install
/usr/local/Library/ENV/4.3/clang++ -dynamiclib -Wl,-headerpad_max_install_names -compatibility_version 0.1.4 -o libgnuradio-osmosdr.0.1.4.dylib -install_name /tmp/gr-osmosdr20150415-4025-1n8vulx/gr-osmosdr-0.1.4/build/lib/libgnuradio-osmosdr.0.1.4.dylib CMakeFiles/gnuradio-osmosdr.dir/source_impl.cc.o CMakeFiles/gnuradio-osmosdr.dir/sink_impl.cc.o CMakeFiles/gnuradio-osmosdr.dir/ranges.cc.o CMakeFiles/gnuradio-osmosdr.dir/device.cc.o CMakeFiles/gnuradio-osmosdr.dir/fcd/fcd_source_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/file/file_source_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/rtl/rtl_source_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/rtl_tcp/rtl_tcp_source_f.cc.o CMakeFiles/gnuradio-osmosdr.dir/rtl_tcp/rtl_tcp_source_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/rfspace/rfspace_source_c.cc.o /usr/local/lib/libboost_thread-mt.dylib /usr/local/lib/libboost_system-mt.dylib /usr/local/lib/libgnuradio-runtime.dylib /usr/local/lib/libgnuradio-blocks.dylib /usr/local/lib/libgnuradio-pmt.dylib /usr/local/lib/libgnuradio-fcd.dylib /usr/local/lib/librtlsdr.dylib
cd /tmp/gr-osmosdr20150415-4025-1n8vulx/gr-osmosdr-0.1.4/build/lib && /usr/local/Cellar/cmake/3.2.2/bin/cmake -E cmake_symlink_library libgnuradio-osmosdr.0.1.4.dylib libgnuradio-osmosdr.0.1.4.dylib libgnuradio-osmosdr.dylib
/usr/local/Cellar/cmake/3.2.2/bin/cmake -E cmake_progress_report /tmp/gr-osmosdr20150415-4025-1n8vulx/gr-osmosdr-0.1.4/build/CMakeFiles 3 4 5 6 7 8 9 10 11 12
[ 62%] Built target gnuradio-osmosdr
make: *** [all] Error 2
couldn't understand kern.osversion `14.3.0'
READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/chleggett/homebrew-gr-osmosdr/issues
The formula requires depends_on "pkg-config" => :build
or it will fail with sh: pkg-config: command not found
.
Hey @metacollin, I just noticed that there is a GnuRadio formula in Homebrew's library.
Any idea if it works? Are there any advantages of sticking with yours, or can my gqrx formula switch over to that one now?
Let me know what you think.
I just installed all the dependencies as listed in the readme, and get the following error at the end:
==> Installing gqrx from chleggett/homebrew-gqrx
==> Installing gqrx dependency: gr-osmosdr
==> Downloading http://cgit.osmocom.org/gr-osmosdr/snapshot/gr-osmosdr-0.1.4.tar.gz
==> cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/gr-osmosdr/0.1.4 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAME
==> make install
/usr/local/Library/ENV/4.3/clang++ -dynamiclib -Wl,-headerpad_max_install_names -compatibility_version 0.1.4 -o libgnuradio-osmosdr.0.1.4.dylib -install_name /tmp/gr-osmosdr-MtJjXT/gr-osmosdr-0.1.4/build/lib/libgnuradio-osmosdr.0.1.4.dylib CMakeFiles/gnuradio-osmosdr.dir/source_impl.cc.o CMakeFiles/gnuradio-osmosdr.dir/sink_impl.cc.o CMakeFiles/gnuradio-osmosdr.dir/ranges.cc.o CMakeFiles/gnuradio-osmosdr.dir/device.cc.o CMakeFiles/gnuradio-osmosdr.dir/fcd/fcd_source_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/file/file_source_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/rtl/rtl_source_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/rtl_tcp/rtl_tcp_source_f.cc.o CMakeFiles/gnuradio-osmosdr.dir/rtl_tcp/rtl_tcp_source_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/rfspace/rfspace_source_c.cc.o /usr/local/lib/libboost_thread-mt.dylib /usr/local/lib/libboost_system-mt.dylib /usr/local/lib/libgnuradio-runtime.dylib /usr/local/lib/libgnuradio-blocks.dylib /usr/local/lib/libgnuradio-pmt.dylib /usr/local/lib/libgnuradio-fcd.dylib /usr/local/lib/librtlsdr.dylib
cd /tmp/gr-osmosdr-MtJjXT/gr-osmosdr-0.1.4/build/lib && /usr/local/Cellar/cmake/3.1.2/bin/cmake -E cmake_symlink_library libgnuradio-osmosdr.0.1.4.dylib libgnuradio-osmosdr.0.1.4.dylib libgnuradio-osmosdr.dylib
/usr/local/Cellar/cmake/3.1.2/bin/cmake -E cmake_progress_report /tmp/gr-osmosdr-MtJjXT/gr-osmosdr-0.1.4/build/CMakeFiles 3 4 5 6 7 8 9 10 11 12
[ 81%] Built target gnuradio-osmosdr
make: *** [all] Error 2
I am having trouble with signal strength. The waves are there, but they are very shallow.
reported by changealife (on Reddit): rtl_tcp on a remote host isn't tuning properly based on what I see from the waterfall, and I just hear clicking instead of demodulation. Same server works fine with the dmg from 2.2.0.
Hi,
I'm trying to install gnuradio but I'm having some issues. brew doctor
fails with the following:
Error: compile error
/usr/local/Library/Taps/metacollin/homebrew-gnuradio/gnuradio.rb:115: syntax error, unexpected tSTAR, expecting tAMPER
system "cmake", "..", *args, *std_cmake_args
^
Please report this bug:
https://git.io/brew-troubleshooting
/usr/local/Library/Taps/metacollin/homebrew-gnuradio/gnuradio.rb:124:in `load_file'
/usr/local/Library/Homebrew/formulary.rb:82:in `klass'
/usr/local/Library/Homebrew/formulary.rb:71:in `get_formula'
/usr/local/Library/Homebrew/formulary.rb:200:in `factory'
/usr/local/Library/Homebrew/formula.rb:604:in `each'
/usr/local/Library/Homebrew/formula.rb:602:in `each'
/usr/local/Library/Homebrew/cmd/doctor.rb:931:in `check_for_linked_keg_only_brews'
/usr/local/Library/Homebrew/cmd/doctor.rb:1256:in `send'
/usr/local/Library/Homebrew/cmd/doctor.rb:1256:in `doctor'
/usr/local/Library/Homebrew/cmd/doctor.rb:1254:in `each'
/usr/local/Library/Homebrew/cmd/doctor.rb:1254:in `doctor'
/usr/local/Library/brew.rb:140:in `send'
/usr/local/Library/brew.rb:140
brew install gruradio
fails with the same problem.
I am running 10.8.5, Xcode 5.1.1, Build version 5B1008 (not current, I haven't had issues with anything else)
What should I do?
% brew audit --strict --online gqrx
==> brew style gqrx
== /usr/local/Library/Taps/chleggett/homebrew-gqrx/gqrx.rb ==
C: 10: 14: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
C: 11: 14: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
C: 12: 14: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
C: 13: 14: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
C: 14: 14: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
1 file inspected, 5 offenses detected
==> audit problems
chleggett/gqrx/gqrx:
require "formula"
is now unnecessaryError: 3 problems in 1 formula
Update the brew install python statement installed by python3. Python2 is assigned to EOL. The pip install Cheetah command no longer works, and pip3 install Cheetah results in an error.
brew cask install gqrx
Apple@iMac-Apple ~ % brew cask install gqrx
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> Updated Formulae
fastlane v8
==> Updated Casks
homebrew/cask/cctalk
==> Downloading https://github.com/csete/gqrx/releases/download/v2.11.5/Gqrx-2.1
Already downloaded: /Users/Apple/Library/Caches/Homebrew/downloads/21e7343a967187ddb56723d54f5f726bf378704c3486520fb34618ba61a4032d--Gqrx-2.11.5.dmg
==> Verifying SHA-256 checksum for Cask 'gqrx'.
==> Installing Cask gqrx
==> Moving App 'Gqrx.app' to '/Applications/Gqrx.app'.
==> Linking Binary 'airspy_info' to '/usr/local/bin/airspy_info'.
==> Linking Binary 'airspy_spiflash' to '/usr/local/bin/airspy_spiflash'.
==> Linking Binary 'hackrf_cpldjtag' to '/usr/local/bin/hackrf_cpldjtag'.
==> Linking Binary 'hackrf_debug' to '/usr/local/bin/hackrf_debug'.
==> Linking Binary 'hackrf_info' to '/usr/local/bin/hackrf_info'.
==> Linking Binary 'hackrf_spiflash' to '/usr/local/bin/hackrf_spiflash'.
==> Linking Binary 'hackrf_transfer' to '/usr/local/bin/hackrf_transfer'.
==> Linking Binary 'rtl_adsb' to '/usr/local/bin/rtl_adsb'.
==> Linking Binary 'rtl_eeprom' to '/usr/local/bin/rtl_eeprom'.
==> Linking Binary 'rtl_fm' to '/usr/local/bin/rtl_fm'.
==> Linking Binary 'rtl_power' to '/usr/local/bin/rtl_power'.
==> Linking Binary 'rtl_sdr' to '/usr/local/bin/rtl_sdr'.
==> Linking Binary 'rtl_tcp' to '/usr/local/bin/rtl_tcp'.
==> Linking Binary 'rtl_test' to '/usr/local/bin/rtl_test'.
==> Linking Binary 'SoapySDRUtil' to '/usr/local/bin/soapysdrutil'.
==> Linking Binary 'volk_profile' to '/usr/local/bin/volk_profile'.
==> Linking Binary 'gqrx.wrapper.sh' to '/usr/local/bin/gqrx'.
==> Unlinking Binary '/usr/local/bin/volk_profile'.
==> Unlinking Binary '/usr/local/bin/soapysdrutil'.
==> Unlinking Binary '/usr/local/bin/rtl_test'.
==> Unlinking Binary '/usr/local/bin/rtl_tcp'.
==> Unlinking Binary '/usr/local/bin/rtl_sdr'.
==> Unlinking Binary '/usr/local/bin/rtl_power'.
==> Unlinking Binary '/usr/local/bin/rtl_fm'.
==> Unlinking Binary '/usr/local/bin/rtl_eeprom'.
==> Unlinking Binary '/usr/local/bin/rtl_adsb'.
==> Unlinking Binary '/usr/local/bin/hackrf_transfer'.
==> Unlinking Binary '/usr/local/bin/hackrf_spiflash'.
==> Unlinking Binary '/usr/local/bin/hackrf_info'.
==> Unlinking Binary '/usr/local/bin/hackrf_debug'.
==> Unlinking Binary '/usr/local/bin/hackrf_cpldjtag'.
==> Unlinking Binary '/usr/local/bin/airspy_spiflash'.
==> Unlinking Binary '/usr/local/bin/airspy_info'.
==> Backing App 'Gqrx.app' up to '/usr/local/Caskroom/gqrx/2.11.5/Gqrx.app'.
==> Removing App '/Applications/Gqrx.app'.
==> Purging files for version 2.11.5 of Cask gqrx
Error: Failure while executing; `/usr/bin/xattr -w com.apple.metadata:kMDItemAlternateNames \(\"gqrx\"\) /usr/local/Caskroom/gqrx/2.11.5/gqrx.wrapper.sh` exited with 127. Here's the output:
No such file or directory - /usr/bin/xattr
Follow the instructions here:
https://github.com/Homebrew/homebrew-cask#reporting-bugs
/usr/local/Homebrew/Library/Homebrew/system_command.rb:176:in `assert_success!'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:53:in `run!'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:29:in `run'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:33:in `run!'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/relocated.rb:75:in `add_altname_metadata'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/symlinked.rb:67:in `create_filesystem_link'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/symlinked.rb:54:in `link'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/binary.rb:9:in `link'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/symlinked.rb:17:in `install_phase'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:218:in `block in install_artifacts'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:777:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:777:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:209:in `install_artifacts'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:101:in `install'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:22:in `block in run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:16:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:16:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/abstract_command.rb:36:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:92:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:158:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:123:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:9:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:103:in `<main>'
Thank you for creating and maintaining this repo. I'm installing on El Capital (10.11.2) and when I reached the brew install gqrx
step I got this:
$ brew install gqrx
==> Installing gqrx from chleggett/gqrx
gr-osmosdr: Unsatisfied dependency: Cheetah
Homebrew does not provide Python dependencies; install with:
pip install Cheetah
Error: An unsatisfied requirement failed this build.
Running pip install Cheetah
as suggested seems to have worked fine, but you should probably mention it in the installation instructions.
Thanks again, and happy new year!
gqrx requires gnuradio-osmosdr and if it isn't available it will fail with Project ERROR: Package gnuradio-osmosdr not found
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.