I installed GNU on ubuntu 12.04 lts *before* installing UHD from http://gnuradio.org/redmine/projects/gnuradio/wiki/UbuntuInstall by running the following commands:
sudo apt-get -y install git-core autoconf automake libtool g++ python-dev swig \ pkg-config libboost1.48-all-dev libfftw3-dev libcppunit-dev libgsl0-dev \ libusb-dev sdcc libsdl1.2-dev python-wxgtk2.8 python-numpy \ python-cheetah python-lxml doxygen python-qt4 python-qwt5-qt4 libxi-dev \ libqt4-opengl-dev libqwt5-qt4-dev libfontconfig1-dev libxrender-dev git clone http://gnuradio.org/git/gnuradio.git cd gnuradio mkdir build cd build cmake ../ make make test sudo make install But I didn't find UHD blocks when I open gnu by running "gnuradio-companion" in terminal. So I installed UHD from http://code.ettus.com/redmine/ettus/projects/uhd/wiki/GNURadio_Linux from the unstable repositories. I wanted to check if the GNU & UHD are installed or not so I ran in terminal : dell@ubuntu:~$ dpkg -l uhd Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============================-==============================-============================================================================ rc uhd 003.007.000-1-stable Ettus Research - USRP Hardware Driver dell@ubuntu:~$ dpkg -l gnuradio No packages found matching gnuradio. Does this mean that UHD is installed but GNU isn't ?!! (THIS IS MY FIRST QUESTION) But I can run GNU from terminal , how it is written that No packages found!! I decided to build again GNU after installing UHD so I ran "cmake../" and "make" commands .. But the output of "cmake ../ " shows that gr-uhd is a disabled component!! So I won't find UHD blocks in GNU again. What can I do ? (THIS IS MY SECOND QUESTION) Here is the output of cmake .. Hope that anyone can help me :) Thanks. dell@ubuntu:~/gnuradio/gnuradio/build$ sudo cmake ../ -- Build type not specified: defaulting to release. -- Extracting version information from git describe... -- Compiler Version: gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- Compiler Flags: /usr/bin/gcc:::-O3 -DNDEBUG /usr/bin/c++:::-O3 -DNDEBUG -- NO PERF COUNTERS -- Minimum SWIG version required is 1.3.31 -- -- The build system will automatically enable all components. -- Use -DENABLE_DEFAULT=OFF to disable components by default. -- -- Configuring python-support support... -- Dependency PYTHONLIBS_FOUND = TRUE -- Dependency SWIG_FOUND = TRUE -- Dependency SWIG_VERSION_CHECK = TRUE -- Enabling python-support support. -- Override with -DENABLE_PYTHON=ON/OFF -- -- Configuring testing-support support... -- Dependency CPPUNIT_FOUND = TRUE -- Enabling testing-support support. -- Override with -DENABLE_TESTING=ON/OFF -- -- Configuring volk support... -- Enabling volk support. -- Override with -DENABLE_VOLK=ON/OFF -- -- Python checking for python >= 2.5 -- Python checking for python >= 2.5 - found -- -- Python checking for Cheetah >= 2.0.0 -- Python checking for Cheetah >= 2.0.0 - found -- checking for module 'orc-0.4 > 0.4.11' -- package 'orc-0.4 > 0.4.11' not found -- orc files (missing: ORC_LIBRARY ORC_INCLUDE_DIR ORCC_EXECUTABLE) -- Compiler name: GNU -- x86* CPU detected -- CPU missing xgetbv, Overruled arch avx -- CPU missing cvtpi32_ps, Overruled arch avx -- ORC support not found, Overruled arch orc -- CPU width is 64 bits, Overruled arch 32 -- Available architectures: generic;64;3dnow;abm;popcount;mmx;sse;sse2;norc;sse3;ssse3;sse4_a;sse4_1;sse4_2 -- Available machines: generic;sse2_64_mmx;sse3_64;ssse3_64;sse4_a_64;sse4_1_64;sse4_2_64 -- BUILTTYPERELEASE -- Base cflags = -O3 -DNDEBUG -- BUILD INFO ::: generic ::: GNU ::: -O3 -DNDEBUG -- BUILD INFO ::: sse2_64_mmx ::: GNU ::: -O3 -DNDEBUG -m64 -mmmx -msse -msse2 -- BUILD INFO ::: sse3_64 ::: GNU ::: -O3 -DNDEBUG -m64 -mmmx -msse -msse2 -msse3 -- BUILD INFO ::: ssse3_64 ::: GNU ::: -O3 -DNDEBUG -m64 -mmmx -msse -msse2 -msse3 -mssse3 -- BUILD INFO ::: sse4_a_64 ::: GNU ::: -O3 -DNDEBUG -m64 -mmmx -msse -msse2 -msse3 -msse4a -mpopcnt -- BUILD INFO ::: sse4_1_64 ::: GNU ::: -O3 -DNDEBUG -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -- BUILD INFO ::: sse4_2_64 ::: GNU ::: -O3 -DNDEBUG -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -- Compiler Version: gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- Did not find liborc and orcc, disabling orc support... -- Loading build date Tue, 18 Mar 2014 21:58:14 into constants... -- Loading version 0.1 into constants... -- Using install prefix: /usr/local -- ENABLE_GR_LOG set to ON. -- HAVE_LOG4CPP set to False. -- LOG4CPP_LIBRARIES set to . -- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE) -- -- Configuring doxygen support... -- Dependency DOXYGEN_FOUND = YES -- Enabling doxygen support. -- Override with -DENABLE_DOXYGEN=ON/OFF -- -- Configuring sphinx support... -- Dependency SPHINX_FOUND = FALSE -- Disabling sphinx support. -- Override with -DENABLE_SPHINX=ON/OFF -- -- Configuring gnuradio-runtime support... -- Dependency Boost_FOUND = TRUE -- Dependency ENABLE_VOLK = ON -- Dependency PYTHONINTERP_FOUND = TRUE -- Enabling gnuradio-runtime support. -- Override with -DENABLE_GNURADIO_RUNTIME=ON/OFF -- package 'Ice-3.5' not found -- ICE 3.5 not found. Looking for 3.4 -- package 'Ice-3.4' not found -- -- Configuring gr-ctrlport support... -- Dependency Boost_FOUND = TRUE -- Dependency SWIG_FOUND = TRUE -- Dependency SWIG_VERSION_CHECK = TRUE -- Dependency ICE_FOUND = -- Dependency ENABLE_GNURADIO_RUNTIME = ON -- Disabling gr-ctrlport support. -- Override with -DENABLE_GR_CTRLPORT=ON/OFF -- Loading build date Tue, 18 Mar 2014 21:58:15 into constants... -- Loading version v3.7.2.1-195-g19d111e2 into constants... -- TRY_SHM_VMCIRCBUF set to ON. -- -- Configuring gr-blocks support... -- Dependency Boost_FOUND = TRUE -- Dependency ENABLE_GNURADIO_RUNTIME = ON -- Enabling gr-blocks support. -- Override with -DENABLE_GR_BLOCKS=ON/OFF -- -- Python checking for python >= 2.5 -- Python checking for python >= 2.5 - found -- -- Python checking for Cheetah >= 2.0.0 -- Python checking for Cheetah >= 2.0.0 - found -- -- Python checking for lxml >= 1.3.6 -- Python checking for lxml >= 1.3.6 - found -- -- Python checking for pygtk >= 2.10.0 -- Python checking for pygtk >= 2.10.0 - found -- -- Python checking for numpy -- Python checking for numpy - found -- -- Configuring gnuradio-companion support... -- Dependency ENABLE_GNURADIO_RUNTIME = ON -- Dependency ENABLE_PYTHON = ON -- Dependency PYTHON_MIN_VER_FOUND = TRUE -- Dependency CHEETAH_FOUND = TRUE -- Dependency LXML_FOUND = TRUE -- Dependency PYGTK_FOUND = TRUE -- Dependency NUMPY_FOUND = TRUE -- Enabling gnuradio-companion support. -- Override with -DENABLE_GRC=ON/OFF -- -- Configuring gr-fec support... -- Dependency Boost_FOUND = TRUE -- Dependency ENABLE_GNURADIO_RUNTIME = ON -- Dependency ENABLE_GR_BLOCKS = ON -- Enabling gr-fec support. -- Override with -DENABLE_GR_FEC=ON/OFF -- -- Configuring gr-fft support... -- Dependency ENABLE_VOLK = ON -- Dependency Boost_FOUND = TRUE -- Dependency ENABLE_GNURADIO_RUNTIME = ON -- Dependency ENABLE_GR_BLOCKS = ON -- Dependency FFTW3F_FOUND = TRUE -- Enabling gr-fft support. -- Override with -DENABLE_GR_FFT=ON/OFF -- -- Configuring gr-filter support... -- Dependency ENABLE_VOLK = ON -- Dependency Boost_FOUND = TRUE -- Dependency ENABLE_GNURADIO_RUNTIME = ON -- Dependency ENABLE_GR_FFT = ON -- Dependency ENABLE_GR_BLOCKS = ON -- Enabling gr-filter support. -- Override with -DENABLE_GR_FILTER=ON/OFF -- -- Configuring gr-analog support... -- Dependency Boost_FOUND = TRUE -- Dependency ENABLE_VOLK = ON -- Dependency ENABLE_GNURADIO_RUNTIME = ON -- Dependency ENABLE_GR_FFT = ON -- Dependency ENABLE_GR_FILTER = ON -- Enabling gr-analog support. -- Override with -DENABLE_GR_ANALOG=ON/OFF -- -- Configuring gr-digital support... -- Dependency Boost_FOUND = TRUE -- Dependency ENABLE_VOLK = ON -- Dependency ENABLE_GNURADIO_RUNTIME = ON -- Dependency ENABLE_GR_FFT = ON -- Dependency ENABLE_GR_FILTER = ON -- Dependency ENABLE_GR_BLOCKS = ON -- Dependency ENABLE_GR_ANALOG = ON -- Dependency ENABLE_GR_BLOCKS = ON -- Dependency ENABLE_GR_FILTER = ON -- Enabling gr-digital support. -- Override with -DENABLE_GR_DIGITAL=ON/OFF -- -- Configuring gr-atsc support... -- Dependency Boost_FOUND = TRUE -- Dependency ENABLE_GNURADIO_RUNTIME = ON -- Dependency ENABLE_GR_FFT = ON -- Dependency ENABLE_GR_BLOCKS = ON -- Dependency ENABLE_GR_FEC = ON -- Dependency ENABLE_GR_FILTER = ON -- Dependency ENABLE_GR_ANALOG = ON -- Enabling gr-atsc support. -- Override with -DENABLE_GR_ATSC=ON/OFF -- -- Configuring gr-audio support... -- Dependency Boost_FOUND = TRUE -- Dependency ENABLE_GNURADIO_RUNTIME = ON -- Enabling gr-audio support. -- Override with -DENABLE_GR_AUDIO=ON/OFF -- Found ALSA 1.0.25 -- checking for module 'jack' -- package 'jack' not found -- checking for module 'portaudio' -- package 'portaudio' not found -- Could NOT find PORTAUDIO (missing: PORTAUDIO_INCLUDE_DIRS PORTAUDIO_LIBRARIES) -- checking for module 'comedilib' -- package 'comedilib' not found -- -- Configuring gr-comedi support... -- Dependency COMEDI_FOUND = -- Dependency LINUX = TRUE -- Dependency Boost_FOUND = TRUE -- Dependency ENABLE_GNURADIO_RUNTIME = ON -- Disabling gr-comedi support. -- Override with -DENABLE_GR_COMEDI=ON/OFF -- -- Configuring gr-channels support... -- Dependency ENABLE_VOLK = ON -- Dependency Boost_FOUND = TRUE -- Dependency ENABLE_GNURADIO_RUNTIME = ON -- Dependency ENABLE_GR_BLOCKS = ON -- Dependency ENABLE_GR_FFT = ON -- Dependency ENABLE_GR_FILTER = ON -- Dependency ENABLE_GR_ANALOG = ON -- Enabling gr-channels support. -- Override with -DENABLE_GR_CHANNELS=ON/OFF -- -- Configuring gr-noaa support... -- Dependency Boost_FOUND = TRUE -- Dependency ENABLE_GNURADIO_RUNTIME = ON -- Dependency ENABLE_GR_BLOCKS = ON -- Enabling gr-noaa support. -- Override with -DENABLE_GR_NOAA=ON/OFF -- -- Configuring gr-pager support... -- Dependency Boost_FOUND = TRUE -- Dependency ENABLE_GNURADIO_RUNTIME = ON -- Dependency ENABLE_GR_FILTER = ON -- Dependency ENABLE_GR_ANALOG = ON -- Enabling gr-pager support. -- Override with -DENABLE_GR_PAGER=ON/OFF -- QWT Version: 5.2.2 -- -- Python checking for PyQt4 -- Python checking for PyQt4 - found -- -- Configuring gr-qtgui support... -- Dependency Boost_FOUND = TRUE -- Dependency QT4_FOUND = TRUE -- Dependency QWT_FOUND = TRUE -- Dependency ENABLE_VOLK = ON -- Dependency ENABLE_GNURADIO_RUNTIME = ON -- Dependency ENABLE_GR_FFT = ON -- Dependency ENABLE_GR_FILTER = ON -- Dependency PYTHONLIBS_FOUND = TRUE -- Dependency PYQT4_FOUND = TRUE -- Enabling gr-qtgui support. -- Override with -DENABLE_GR_QTGUI=ON/OFF -- -- Configuring gr-trellis support... -- Dependency Boost_FOUND = TRUE -- Dependency ENABLE_GNURADIO_RUNTIME = ON -- Dependency ENABLE_GR_ANALOG = ON -- Dependency ENABLE_GR_BLOCKS = ON -- Dependency ENABLE_GR_DIGITAL = ON -- Enabling gr-trellis support. -- Override with -DENABLE_GR_TRELLIS=ON/OFF -- checking for module 'uhd' -- package 'uhd' not found -- Could NOT find UHD (missing: UHD_LIBRARIES UHD_INCLUDE_DIRS) -- -- Configuring gr-uhd support... -- Dependency Boost_FOUND = TRUE -- Dependency UHD_FOUND = FALSE -- Dependency ENABLE_GNURADIO_RUNTIME = ON -- Dependency ENABLE_GR_FILTER = ON -- Dependency ENABLE_GR_BLOCKS = ON -- Dependency ENABLE_GR_ANALOG = ON -- Disabling gr-uhd support. -- Override with -DENABLE_GR_UHD=ON/OFF -- -- Configuring gr-utils support... -- Dependency ENABLE_GNURADIO_RUNTIME = ON -- Dependency ENABLE_PYTHON = ON -- Enabling gr-utils support. -- Override with -DENABLE_GR_UTILS=ON/OFF -- -- Configuring gr-video-sdl support... -- Dependency SDL_FOUND = YES -- Dependency Boost_FOUND = TRUE -- Dependency ENABLE_GNURADIO_RUNTIME = ON -- Enabling gr-video-sdl support. -- Override with -DENABLE_GR_VIDEO_SDL=ON/OFF -- -- Configuring gr-vocoder support... -- Dependency Boost_FOUND = TRUE -- Dependency ENABLE_GNURADIO_RUNTIME = ON -- Dependency ENABLE_GR_FFT = ON -- Dependency ENABLE_GR_BLOCKS = ON -- Dependency ENABLE_GR_FILTER = ON -- Dependency ENABLE_GR_ANALOG = ON -- Enabling gr-vocoder support. -- Override with -DENABLE_GR_VOCODER=ON/OFF -- -- Configuring gr-fcd support... -- Dependency Boost_FOUND = TRUE -- Dependency ENABLE_GNURADIO_RUNTIME = ON -- Dependency ENABLE_GR_BLOCKS = ON -- Dependency ENABLE_GR_AUDIO = ON -- Dependency LIBUSB_FOUND = TRUE -- Enabling gr-fcd support. -- Override with -DENABLE_GR_FCD=ON/OFF -- -- Configuring gr-wavelet support... -- Dependency Boost_FOUND = TRUE -- Dependency ENABLE_GNURADIO_RUNTIME = ON -- Dependency ENABLE_GR_BLOCKS = ON -- Dependency ENABLE_GR_ANALOG = ON -- Dependency GSL_FOUND = 1 -- Enabling gr-wavelet support. -- Override with -DENABLE_GR_WAVELET=ON/OFF -- -- Python checking for wx >= 2.8 -- Python checking for wx >= 2.8 - found -- -- Python checking for numpy -- Python checking for numpy - found -- -- Configuring gr-wxgui support... -- Dependency ENABLE_GNURADIO_RUNTIME = ON -- Dependency ENABLE_GR_FFT = ON -- Dependency ENABLE_GR_FILTER = ON -- Dependency ENABLE_GR_ANALOG = ON -- Dependency ENABLE_PYTHON = ON -- Dependency NUMPY_FOUND = TRUE -- Dependency WX_FOUND = TRUE -- Enabling gr-wxgui support. -- Override with -DENABLE_GR_WXGUI=ON/OFF -- -- ###################################################### -- # Gnuradio enabled components -- ###################################################### -- * python-support -- * testing-support -- * volk -- * doxygen -- * gnuradio-runtime -- * gr-blocks -- * gnuradio-companion -- * gr-fec -- * gr-fft -- * gr-filter -- * gr-analog -- * gr-digital -- * gr-atsc -- * gr-audio -- * gr-channels -- * gr-noaa -- * gr-pager -- * gr-qtgui -- * gr-trellis -- * gr-utils -- * gr-video-sdl -- * gr-vocoder -- * gr-fcd -- * gr-wavelet -- * gr-wxgui -- -- ###################################################### -- # Gnuradio disabled components -- ###################################################### -- * sphinx -- * gr-ctrlport -- * gr-comedi -- * gr-uhd -- -- Using install prefix: /usr/local -- Building for version: v3.7.2.1-195-g19d111e2 / 3.7.3git -- Configuring done -- Generating done -- Build files have been written to: /home/dell/gnuradio/gnuradio/build
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio