Open cjcliffe opened 8 years ago
@cjcliffe Run brew update
and try again. I added freetype
as a dependency to gr-fosphor
.
@dholm thanks I'd already manually added it thinking that was the issue as well; but it appears that the actual fix is in pull request #16 -- gr-fosphor doesn't actually find the freetype2 install without it.
brew install gr-osmosdr
now gets past the gr-fosphor
hurdle. It still doesn't build because of iqbal
and will also fail to build if the python package Cheetah
hasn't already been installed. macports disables iqbal
, probably for the same reason. Cheetah
can be installed with pip install cheetah
. Gnu Radio itself installs its own local copy of cheetah. Would it be acceptable to point gr-osmosdr
to that?
@JayKickliter I have added Cheetah as a dependency. I also reinstalled gr-osmosdr
from HEAD but I'm not getting a problem with iqbal
. What error are you getting?
does anyone managed to find a solution for this issue ? or more generally to install osmosdr on osx ?
I recently tried installing gr-osmosdr and this is the error message I got:
brew install gr-osmosdr Error: Formulae found in multiple taps:
Please use the fully-qualified name e.g. dholm/sdr/gr-osmosdr to refer the formula. MotokoMaku:Desktop ivetto$ brew install dholm/sdr/gr-osmosdr ==> Installing gr-osmosdr from dholm/sdr ==> Downloading http://git.osmocom.org/gr-osmosdr/snapshot/gr-osmosdr-0.1.4.tar.xz Already downloaded: /Users/ivetto/Library/Caches/Homebrew/gr-osmosdr-0.1.4.tar.xz ==> cmake .. -DCMAKE_SHARED_LINKER_FLAGS='-Wl,-undefined,dynamic_lookup' -DPYTHON_LIBRARY='/usr/local/lib/libgnuradio-runtime.dylib' -DCM ==> make install Last 15 lines from /Users/ivetto/Library/Logs/Homebrew/gr-osmosdr/02.make: cd /tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DHAVE_IQBALANCE=1 -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/build/lib -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/include -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib -I/usr/local/include -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/fcd -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/file -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/rtl -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/rtl_tcp -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/uhd -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/hackrf -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/rfspace -DNDEBUG -fPIC -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/uhd/uhd_sink_c.cc.o -c /tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/uhd/uhd_sink_c.cc [ 47%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/uhd/uhd_source_c.cc.o cd /tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DHAVE_IQBALANCE=1 -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/build/lib -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/include -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib -I/usr/local/include -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/fcd -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/file -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/rtl -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/rtl_tcp -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/uhd -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/hackrf -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/rfspace -DNDEBUG -fPIC -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/uhd/uhd_source_c.cc.o -c /tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/uhd/uhd_source_c.cc [ 50%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/hackrf/hackrf_source_c.cc.o cd /tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DHAVE_IQBALANCE=1 -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/build/lib -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/include -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib -I/usr/local/include -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/fcd -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/file -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/rtl -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/rtl_tcp -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/uhd -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/hackrf -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/rfspace -DNDEBUG -fPIC -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/hackrf/hackrf_source_c.cc.o -c /tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/hackrf/hackrf_source_c.cc [ 52%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/hackrf/hackrf_sink_c.cc.o cd /tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DHAVE_IQBALANCE=1 -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/build/lib -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/include -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib -I/usr/local/include -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/fcd -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/file -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/rtl -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/rtl_tcp -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/uhd -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/hackrf -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/rfspace -DNDEBUG -fPIC -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/hackrf/hackrf_sink_c.cc.o -c /tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/hackrf/hackrf_sink_c.cc [ 55%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rfspace/rfspace_source_c.cc.o cd /tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DHAVE_IQBALANCE=1 -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/build/lib -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/include -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib -I/usr/local/include -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/fcd -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/file -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/rtl -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/rtl_tcp -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/uhd -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/hackrf -I/tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/rfspace -DNDEBUG -fPIC -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/rfspace/rfspace_source_c.cc.o -c /tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/lib/rfspace/rfspace_source_c.cc [ 57%] Linking CXX shared library libgnuradio-osmosdr.dylib cd /tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/build/lib && /usr/local/Cellar/cmake/3.10.0/bin/cmake -E cmake_link_script CMakeFiles/gnuradio-osmosdr.dir/link.txt --verbose=1 /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DNDEBUG -dynamiclib -Wl,-headerpad_max_install_names -Wl,-undefined,dynamic_lookup -compatibility_version 0.1.4 -o libgnuradio-osmosdr.0.1.4.dylib -install_name /tmp/gr-osmosdr-20171206-7170-1vfrmj/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/uhd/uhd_sink_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/uhd/uhd_source_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/hackrf/hackrf_source_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/hackrf/hackrf_sink_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/libboost_chrono-mt.dylib /usr/local/lib/libboost_date_time-mt.dylib /usr/local/lib/libboost_atomic-mt.dylib /usr/local/lib/libgnuradio-runtime.dylib /usr/local/lib/libgnuradio-pmt.dylib /usr/local/lib/libgnuradio-blocks.dylib /usr/local/lib/libgnuradio-iqbalance.dylib /usr/local/lib/libgnuradio-fcd.dylib /usr/local/lib/librtlsdr.dylib /usr/local/lib/libgnuradio-uhd.dylib /usr/local/lib/libuhd.dylib /usr/local/lib/libhackrf.dylib cd /tmp/gr-osmosdr-20171206-7170-1vfrmj/gr-osmosdr-0.1.4/build/lib && /usr/local/Cellar/cmake/3.10.0/bin/cmake -E cmake_symlink_library libgnuradio-osmosdr.0.1.4.dylib libgnuradio-osmosdr.0.1.4.dylib libgnuradio-osmosdr.dylib [ 57%] Built target gnuradio-osmosdr make: *** [all] Error 2
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/dholm/homebrew-sdr/issues
These open issues may also help: brew install gr-osmosdr fails on OSX 10.11.3 at freetype2 https://github.com/dholm/homebrew-sdr/issues/15
After a fresh install of homebrew and nothing but the dholm/homebrew-sdr tap added running:
eventually results in:
freetype2 appears to be installed, I get the same error attempting to install from github source; is this just a gr-fosphor issue or have I missed something?
Thanks!