GRC and unit of signal amplitude in USRP

Hey all,

I have just 2 questions, actually they are not related (are independent
questions).

  1. I want to install GRC(gnu radio companion), and i need to install
    pygtk and cheetah as prerequisite. I downloaded the tar files and
    extract them, but there is no configure and make files in both of
    them.So, how can i install them without these files?

  2. What is the unit of the amplitude that we use in transmitting and
    recieving waveforms in USRP. For instance, in usrp_siggen.py the
    waveform amplitude is set to a default value 16000, so what is this
    number, is this millivolt? Also in usrp_fft.py a reference amplitude
    scale 0f 13490 is used. So, what is the unit of these numbers?

Thanks!

Bruhtesfa

Bruhtesfa E. wrote:

Hey all,

I have just 2 questions, actually they are not related (are independent
questions).

  1. I want to install GRC(gnu radio companion), and i need to install
    pygtk and cheetah as prerequisite. I downloaded the tar files and
    extract them, but there is no configure and make files in both of
    them.So, how can i install them without these files?

I think they are available through apt-get, but if you whant to install
from source, you should investigate setup.py. Try
$python setup.py --help

Cheers!
//Mattias K.

On Thu, Jan 15, 2009 at 03:23:09PM +0100, Bruhtesfa E. wrote:

  1. What is the unit of the amplitude that we use in transmitting and
    recieving waveforms in USRP. For instance, in usrp_siggen.py the
    waveform amplitude is set to a default value 16000, so what is this
    number, is this millivolt? Also in usrp_fft.py a reference amplitude
    scale 0f 13490 is used. So, what is the unit of these numbers?

No unit, this is scaling a signal in [-1;1] to ±2^(b-1), where b=16 is
the number of bits we feed or receive from the DAC/ADC. Remember
although most GR blocks use float values, anything talking to the USRP
will eventually have to send integers.
Of course, this relates to volts, but calibrating your hardware to
actually measure an output voltage of your antenna is… difficult to
say the least.

MB

lxml is also a prerequisite: http://codespeak.net/lxml/
it should also be available though your OS’s package manager.

I am curious as to how you installed GRC with missing dependencies. Do
you mind mailing me the output of ./configure (before installing lxml)?

-Josh

Mattias K. wrote:

Bruhtesfa E. wrote:

Hey all,

I have just 2 questions, actually they are not related (are independent
questions).

  1. I want to install GRC(gnu radio companion), and i need to install
    pygtk and cheetah as prerequisite. I downloaded the tar files and
    extract them, but there is no configure and make files in both of
    them.So, how can i install them without these files?

I think they are available through apt-get, but if you whant to install
from source, you should investigate setup.py. Try
$python setup.py --help

Cheers!
//Mattias K.

Hi Mathias,

I used setup.py as you said and install all dependencies, before
installing GRC.
Then i installed GRC, i thought i was successful. But, when i type grc
on command to open it, i get the following error;

$ grc

Traceback (most recent call last):
File “/usr/local/bin/grc”, line 36, in
from gnuradio.grc.platforms.python.Platform import Platform
File
“/Library/Python/2.5/site-packages/gnuradio/grc/platforms/python/Platform.py”,
line 21, in
from … base.Platform import Platform as _Platform
File
“/Library/Python/2.5/site-packages/gnuradio/grc/platforms/base/Platform.py”,
line 21, in
from … utils import ParseXML
File
“/Library/Python/2.5/site-packages/gnuradio/grc/utils/ParseXML.py”, line
20, in
from lxml import etree
ImportError: No module named lxml

So, what can i do to correct this?
Thanks for your help.

Bruhtesfa

Bruhtesfa E. wrote:

pygtk and cheetah as prerequisite. I downloaded the tar files and

Thanks for your help.

Hi,

I don’t know if you have seen this. It may offer better assistance than
me. I saw this last friday, and was able to successfully install grc
using Ubuntu 8.04 and the synaptic package-manager.

http://www.gnuradio.org/trac/wiki/GNURadioCompanion

BR
//Mattias K.

Anyone with OSX advice, installing lxml specifically?

building ‘lxml.etree’ extension
powerpc-apple-darwin9-gcc-4.0.1: src/lxml/lxml.etree.c: No such file or
directory
powerpc-apple-darwin9-gcc-4.0.1: no input files
lipo: can’t figure out the architecture type of:
/var/folders/bN/bNvApCkGGKC5v8-GwD2I8++++TM/-Tmp-//ccM9lfgF.out
error: command ‘gcc’ failed with exit status 1

I dont recognize these error messages. Is this a gnuradio release or an
old checkout of the trunk?

Michael D. wrote:

On Jan 19, 2009, at 2:04 PM, Josh B. wrote:

Anyone with OSX advice, installing lxml specifically?

$ python setup.py build
Building lxml version 2.2.beta1-61090

[snip]

i686-apple-darwin9-gcc-4.0.1: src/lxml/lxml.etree.c: No such file
or directory

Looks like this is a beta version of lxml … maybe ./src/lxml/
lxml.etree.c wasn’t included in the tarball or generated properly?
I’m running 2.1.4 installed from MacPorts, and it compiles / installs
cleanly using the standard Python method; haven’t tried 2.1.5 or the
2.2 beta. - MLD

Hey Micheal,

I see that i have [email protected]_0 already installed through
macports.But, the GRC is not able to install despite that.

But, more urgent and important than this GRC issue…

I tried out the gr.xlating_fir_filter that you told me last time to
correct frequency offset and i have posted a question that says:
"distorted spectrum after applying gr.xlating filer " after tring it
out. So, could you please see that post and give me justifications.

Thank you!

Bruhtesfa

On Jan 19, 2009, at 2:04 PM, Josh B. wrote:

Anyone with OSX advice, installing lxml specifically?

$ python setup.py build
Building lxml version 2.2.beta1-61090

[snip]

i686-apple-darwin9-gcc-4.0.1: src/lxml/lxml.etree.c: No such file
or directory

Looks like this is a beta version of lxml … maybe ./src/lxml/
lxml.etree.c wasn’t included in the tarball or generated properly?
I’m running 2.1.4 installed from MacPorts, and it compiles / installs
cleanly using the standard Python method; haven’t tried 2.1.5 or the
2.2 beta. - MLD

On Jan 20, 2009, at 5:52 AM, Bruhtesfa E. wrote:

I see that i have [email protected]_0 already installed through
macports. But, the GRC is not able to install despite that.

Make sure your shell environment’s PYTHONPATH includes “/opt/local/lib/
python2.5/site-packages” (without the “quotes”) … assuming you’re
using Python 2.5 … if you’re using 2.6 or 3.0 (installed by
MacPorts, presumedly), then substitute in that number for “2.5” in the
path.

I tried out the gr.xlating_fir_filter that you told me last time to
correct frequency offset and i have posted a question that says:
"distorted spectrum after applying gr.xlating filer " after tring it
out. So, could you please see that post and give me justifications.

I’ll take a look; no guarantees.

On Jan 19, 2009, at 7:54 PM, Michael D. wrote:

i686-apple-darwin9-gcc-4.0.1: src/lxml/lxml.etree.c: No such file
or directory

Looks like this is a beta version of lxml … maybe ./src/lxml/
lxml.etree.c wasn’t included in the tarball or generated properly?
I’m running 2.1.4 installed from MacPorts, and it compiles /
installs cleanly using the standard Python method; haven’t tried
2.1.5 or the 2.2 beta.

2.1.5 installs exactly the same as 2.1.4. Also, in both tarballs,
“src/lxml/lxml.etree.c” is provided; it is a big C file, auto-
generated by “Cython”. So I would guess that somehow this file was
not part of the sources in 2.2.beta1-61090 … and (from the original
post) Cython wasn’t available to create this file; hence the error.
My advice: Stick with the release version unless there is a good need
to use the beta. - MLD

Josh B. wrote:

lxml is also a prerequisite: http://codespeak.net/lxml/
it should also be available though your OS’s package manager.

I am curious as to how you installed GRC with missing dependencies. Do
you mind mailing me the output of ./configure (before installing lxml)?

-Josh

hey Josh,

./configure output is shown far below, actually GRC is one of the
components that are not configured.But despite that I switched to the
GRC folder and run,
$ make
$ sudo make install

It is after this that I got the output above when i run $ grc.

Now, I have already installed the requirements of lxml(libxml &libxslt)
and downloaded lxml, however running $ python setup.py build in lxml
folder produce the following error:

So, what is this error? is there another prerequisite?

Bruhtesfa

$ python setup.py build
Building lxml version 2.2.beta1-61090.
NOTE: Trying to build without Cython, pre-generated
‘src/lxml/lxml.etree.c’ needs to be available.
Using build configuration of libxslt 1.1.12
Building against libxml2/libxslt in the following directory: /usr/lib
running build
running build_py
running build_ext
building ‘lxml.etree’ extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -fno-common -dynamic -DNDEBUG -g -Os -Wall
-Wstrict-prototypes -DMACOSX -I/usr/include/ffi -DENABLE_DTRACE -arch
i386 -arch ppc -pipe -I/usr/include/libxml2
-I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
-c src/lxml/lxml.etree.c -o
build/temp.macosx-10.5-i386-2.5/src/lxml/lxml.etree.o -w -flat_namespace
i686-apple-darwin9-gcc-4.0.1: src/lxml/lxml.etree.c: No such file or
directory
i686-apple-darwin9-gcc-4.0.1: no input files
powerpc-apple-darwin9-gcc-4.0.1: src/lxml/lxml.etree.c: No such file or
directory
powerpc-apple-darwin9-gcc-4.0.1: no input files
lipo: can’t figure out the architecture type of:
/var/folders/bN/bNvApCkGGKC5v8-GwD2I8++++TM/-Tmp-//ccM9lfgF.out
error: command ‘gcc’ failed with exit status 1

$ ./configure
checking build system type… i386-apple-darwin9.4.0
checking host system type… i386-apple-darwin9.4.0
checking target system type… i386-apple-darwin9.4.0
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /opt/local/bin/gmkdir -p
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking for style of include used by make… GNU
checking for gcc… gcc
checking for C compiler default output file name… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking dependency style of gcc… gcc3
checking how to run the C preprocessor… gcc -E
checking for grep that handles long lines and -e… /usr/bin/grep
checking for egrep… /usr/bin/grep -E
checking for AIX… no
checking for library containing strerror… none required
checking for ANSI C header files… rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking minix/config.h usability… no
checking minix/config.h presence… no
checking for minix/config.h… no
checking for g++… g++
checking whether we are using the GNU C++ compiler… yes
checking whether g++ accepts -g… yes
checking dependency style of g++… gcc3
checking how to run the C++ preprocessor… g++ -E
checking whether C++ has std::isnan… yes
checking gr_libdir_suffix…
checking whether to append 64 to libdir… no
checking whether user wants gprof… no
checking whether user wants prof… no
checking dependency style of gcc… gcc3
checking whether ln -s works… yes
checking whether make sets $(MAKE)… (cached) yes
checking for a BSD-compatible install… /usr/bin/install -c
checking for rm… /bin/rm
checking for a sed that does not truncate output… /opt/local/bin/gsed
checking for ld used by gcc…
/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is
GNU ld… no
checking for /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld option to
reload object files… -r
checking for BSD-compatible nm… /usr/bin/nm -p
checking how to recognise dependent libraries… pass_all
checking dlfcn.h usability… yes
checking dlfcn.h presence… yes
checking for dlfcn.h… yes
checking how to run the C++ preprocessor… g++ -E
checking for g77… no
checking for xlf… no
checking for f77… no
checking for frt… no
checking for pgf77… no
checking for cf77… no
checking for fort77… no
checking for fl32… no
checking for af77… no
checking for xlf90… no
checking for f90… no
checking for pgf90… no
checking for pghpf… no
checking for epcf90… no
checking for gfortran… gfortran
checking whether we are using the GNU Fortran 77 compiler… yes
checking whether gfortran accepts -g… yes
checking the maximum length of command line arguments… 196608
checking command to parse /usr/bin/nm -p output from gcc object… rm:
conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
ok
checking for objdir… .libs
checking for ar… ar
checking for ranlib… ranlib
checking for strip… strip
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
checking if gcc supports -fno-rtti -fno-exceptions… rm: conftest.dSYM:
is a directory
no
checking for gcc option to produce PIC… -fno-common
checking if gcc PIC flag -fno-common works… rm: conftest.dSYM: is a
directory
yes
checking if gcc static flag -static works… rm: conftest.dSYM: is a
directory
no
checking if gcc supports -c -o file.o… rm: conftest.dSYM: is a
directory
yes
checking whether the gcc linker
(/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared
libraries… yes
checking dynamic linker characteristics… darwin9.4.0 dyld
checking how to hardcode library paths into programs… immediate
checking whether stripping libraries is possible… yes
checking if libtool supports shared libraries… yes
checking whether to build shared libraries… yes
checking whether to build static libraries… no
configure: creating libtool
appending configuration tag “CXX” to libtool
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
checking for ld used by g++…
/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is
GNU ld… no
checking whether the g++ linker
(/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared
libraries… yes
checking for g++ option to produce PIC… -fno-common
checking if g++ PIC flag -fno-common works… rm: conftest.dSYM: is a
directory
yes
checking if g++ static flag -static works… rm: conftest.dSYM: is a
directory
no
checking if g++ supports -c -o file.o… rm: conftest.dSYM: is a
directory
yes
checking whether the g++ linker
(/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared
libraries… yes
checking dynamic linker characteristics… darwin9.4.0 dyld
checking how to hardcode library paths into programs… immediate
appending configuration tag “F77” to libtool
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
checking if libtool supports shared libraries… yes
checking whether to build shared libraries… yes
checking whether to build static libraries… no
checking for gfortran option to produce PIC… -fno-common
checking if gfortran PIC flag -fno-common works… rm: conftest.dSYM: is
a directory
yes
checking if gfortran static flag -static works… rm: conftest.dSYM: is
a directory
no
checking if gfortran supports -c -o file.o… rm: conftest.dSYM: is a
directory
yes
checking whether the gfortran linker
(/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared
libraries… yes
checking dynamic linker characteristics… darwin9.4.0 dyld
checking how to hardcode library paths into programs… immediate
checking for python… /usr/bin/python
checking for python version… 2.5
checking for python platform… darwin
checking for python script directory…
/Library/Python/2.5/site-packages
checking for python extension module directory…
/Library/Python/2.5/site-packages
checking for Python include path…
/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
checking Python.h usability… yes
checking Python.h presence… yes
checking for Python.h… yes
checking for swig… /usr/bin/swig
checking for SWIG version… 1.3.31
checking for xmlto… no
checking for socket in -lsocket… no
checking for the pthreads library -lpthreads… no
checking whether pthreads work without any flags… yes
checking for joinable pthread attribute… PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads…
-D_THREAD_SAFE
checking for library containing clock_gettime… no
checking for clock_gettime… no
checking for gettimeofday… yes
checking for nanosleep… yes
checking sys/ipc.h usability… yes
checking sys/ipc.h presence… yes
checking for sys/ipc.h… yes
checking sys/shm.h usability… yes
checking sys/shm.h presence… yes
checking for sys/shm.h… yes
checking for library containing shmat… none required
checking for ANSI C header files… (cached) yes
checking for sys/wait.h that is POSIX.1 compatible… yes
checking fcntl.h usability… yes
checking fcntl.h presence… yes
checking for fcntl.h… yes
checking limits.h usability… yes
checking limits.h presence… yes
checking for limits.h… yes
checking for strings.h… (cached) yes
checking time.h usability… yes
checking time.h presence… yes
checking for time.h… yes
checking sys/ioctl.h usability… yes
checking sys/ioctl.h presence… yes
checking for sys/ioctl.h… yes
checking sys/time.h usability… yes
checking sys/time.h presence… yes
checking for sys/time.h… yes
checking for unistd.h… (cached) yes
checking linux/ppdev.h usability… no
checking linux/ppdev.h presence… no
checking for linux/ppdev.h… no
checking dev/ppbus/ppi.h usability… no
checking dev/ppbus/ppi.h presence… no
checking for dev/ppbus/ppi.h… no
checking sys/mman.h usability… yes
checking sys/mman.h presence… yes
checking for sys/mman.h… yes
checking sys/select.h usability… yes
checking sys/select.h presence… yes
checking for sys/select.h… yes
checking for sys/types.h… (cached) yes
checking sys/resource.h usability… yes
checking sys/resource.h presence… yes
checking for sys/resource.h… yes
checking for stdint.h… (cached) yes
checking sched.h usability… yes
checking sched.h presence… yes
checking for sched.h… yes
checking signal.h usability… yes
checking signal.h presence… yes
checking for signal.h… yes
checking sys/syscall.h usability… yes
checking sys/syscall.h presence… yes
checking for sys/syscall.h… yes
checking netinet/in.h usability… yes
checking netinet/in.h presence… yes
checking for netinet/in.h… yes
checking windows.h usability… no
checking windows.h presence… no
checking for windows.h… no
checking vec_types.h usability… no
checking vec_types.h presence… no
checking for vec_types.h… no
checking for an ANSI C-conforming const… yes
checking for inline… inline
checking for size_t… yes
checking whether time.h and sys/time.h may both be included… yes
checking whether byte ordering is bigendian… no
checking whether struct tm is in sys/time.h or time.h… time.h
checking for working alloca.h… yes
checking for alloca… yes
checking for function prototypes… yes
checking whether setvbuf arguments are reversed… no
checking for vprintf… yes
checking for _doprnt… no
checking for mmap… yes
checking for select… yes
checking for socket… yes
checking for strcspn… yes
checking for strerror… yes
checking for strspn… yes
checking for getpagesize… yes
checking for sysconf… yes
checking for snprintf… yes
checking for gettimeofday… (cached) yes
checking for nanosleep… (cached) yes
checking for sched_setscheduler… no
checking for modf… yes
checking for sqrt… yes
checking for sigaction… yes
checking for sigprocmask… yes
checking for pthread_sigmask… yes
checking for sched_setaffinity… no
checking for sincos in -lm… no
checking for sincosf in -lm… no
checking for sinf in -lm… yes
checking for cosf in -lm… yes
checking for trunc in -lm… yes
checking for exp10 in -lm… no
checking for log2 in -lm… yes
checking for library containing shm_open… none required
checking for shm_open… yes
checking whether /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld accepts
–enable-runtime-pseudo-reloc… no
checking for CreateFileMapping function… no
checking for sys/types.h… (cached) yes
checking for fcntl.h… (cached) yes
checking io.h usability… no
checking io.h presence… no
checking for io.h… no
checking for windows.h… (cached) no
checking for winioctl.h… no
checking for winbase.h… no
checking for getopt… yes
checking for usleep… yes
checking for gettimeofday… (cached) yes
checking for nanosleep… (cached) yes
checking for rand… yes
checking for srand… yes
checking for random… yes
checking for srandom… yes
checking for sleep… yes
checking for sigaction… (cached) yes
checking for struct timezone… yes
checking for struct timespec… yes
checking for ssize_t… yes
checking for getopt… (cached) yes
checking for usleep… (cached) yes
checking for gettimeofday… (cached) yes
checking for Sleep… no
checking whether mkdir accepts only one arg… no
checking for dot… YES
checking for pkg-config… /opt/local/bin/pkg-config
checking pkg-config is at least version 0.18… yes
checking for FFTW3F… yes
checking for machine dependent speedups… x86
checking for CPPUNIT… yes
checking for guile… /opt/local/bin/guile
checking for boost >= 1.35… yes
checking whether the boost::thread includes are available… yes
checking for exit in -lboost_thread-mt-1_35… yes
checking whether the boost::date_time includes are available… yes
checking for exit in -lboost_date_time-mt-1_35… yes
checking for svn… /usr/bin/svn
checking arpa/inet.h usability… yes
checking arpa/inet.h presence… yes
checking for arpa/inet.h… yes
checking for netinet/in.h… (cached) yes
checking byteswap.h usability… no
checking byteswap.h presence… no
checking for byteswap.h… no
Component gruel passed configuration checks; building.
Component omnithread passed configuration checks; building.
checking whether host_cpu is powerpc*… no
checking for spu-gcc… no
Not building component gcell.
Component gnuradio-core passed configuration checks; building.
Component pmt passed configuration checks; building.
Component mblock passed configuration checks; building.
checking whether stat file-mode macros are broken… no
checking for fcntl.h… (cached) yes
checking for sys/time.h… (cached) yes
checking for unistd.h… (cached) yes
checking whether getenv is declared… yes
checking for fast usb technique to use… darwin
checking for mkstemp… yes
checking for mkstemp limitations… no
checking whether byte ordering is bigendian… (cached) no
checking for byteswap.h… (cached) no
checking linux/compiler.h usability… no
checking linux/compiler.h presence… no
checking for linux/compiler.h… no
checking for getrusage… yes
checking for sched_setscheduler… (cached) no
checking for pthread_setschedparam… yes
checking for sigaction… (cached) yes
checking for snprintf… (cached) yes
checking for USB… yes
checking for sdcc… sdcc -mmcs51 --no-xinit-opt
checking for asx8051… asx8051 -plosgff
checking sdcc_version “2.8.0”… 2.8.0
Component usrp passed configuration checks; building.
checking whether host_os is linux*… no
configure: USRP2 currently requires Linux host OS, not found
Not building component usrp2.
Component gr-usrp passed configuration checks; building.
Component gr-usrp2 requires usrp2, which is not being built or specified
via pre-installed files.
Not building component gr-usrp2.
Component gr-gcell requires gcell, which is not being built or specified
via pre-installed files.
Not building component gr-gcell.
checking for netinet/in.h… (cached) yes
checking for arpa/inet.h… (cached) yes
checking sys/socket.h usability… yes
checking sys/socket.h presence… yes
checking for sys/socket.h… yes
checking netdb.h usability… yes
checking netdb.h presence… yes
checking for netdb.h… yes
Component gr-msdd6000 passed configuration checks; building.
checking for ALSA… no
gr-audio-alsa requires package alsa, not found.
Not building component gr-audio-alsa.
checking for JACK… no
gr-audio-jack requires package jack, not found.
Not building component gr-audio-jack.
Not building component gr-audio-oss.
checking AudioUnit/AudioUnit.h usability… yes
checking AudioUnit/AudioUnit.h presence… yes
checking for AudioUnit/AudioUnit.h… yes
checking AudioToolbox/AudioToolbox.h usability… yes
checking AudioToolbox/AudioToolbox.h presence… yes
checking for AudioToolbox/AudioToolbox.h… yes
Component gr-audio-osx passed configuration checks; building.
checking for PORTAUDIO… no
gr-audio-portaudio requires package portaudio, not found.
Not building component gr-audio-portaudio.
gr-audio-windows will build on a Windows Unix environment only.
Not building component gr-audio-windows.
Component gr-atsc passed configuration checks; building.
checking for COMEDI… no
gr-comedi requires comedilib, not found.
Not building component gr-comedi.
Component gr-cvsd-vocoder passed configuration checks; building.
Component gr-gpio passed configuration checks; building.
Component gr-gsm-fr-vocoder passed configuration checks; building.
Component gr-pager passed configuration checks; building.
Component gr-radar-mono passed configuration checks; building.
Component gr-radio-astronomy passed configuration checks; building.
Component gr-trellis passed configuration checks; building.
checking for SDL… yes
Component gr-video-sdl passed configuration checks; building.
Component gr-wxgui passed configuration checks; building.
Component gr-sounder passed configuration checks; building.
Component gr-utils passed configuration checks; building.
Component gnuradio-examples passed configuration checks; building.
checking for xdg-mime… false
Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named lxml
grc requires libxml2 and libxslt wrappers (lxml), not found.
Not building component grc.
checking whether gcc accepts -Wall… yes
checking whether g++ accepts -Wall… yes
checking whether g++ accepts -Woverloaded-virtual… yes
configure: creating ./config.status
config.status: creating gruel/Makefile
config.status: creating gruel/gruel.pc
config.status: creating gruel/src/Makefile
config.status: creating gruel/src/include/Makefile
config.status: creating gruel/src/include/gruel/Makefile
config.status: creating gruel/src/include/gruel/inet.h
config.status: creating gruel/src/lib/Makefile
config.status: creating omnithread/Makefile
config.status: creating omnithread/gnuradio-omnithread.pc
config.status: creating gcell/Makefile
config.status: creating gcell/gcell.pc
config.status: creating gcell/src/Makefile
config.status: creating gcell/src/include/Makefile
config.status: creating gcell/src/include/spu/Makefile
config.status: creating gcell/src/lib/Makefile
config.status: creating gcell/src/lib/spu/Makefile
config.status: creating gcell/src/lib/general/Makefile
config.status: creating gcell/src/lib/wrapper/Makefile
config.status: creating gcell/src/lib/runtime/Makefile
config.status: creating gcell/src/apps/Makefile
config.status: creating gcell/src/apps/spu/Makefile
config.status: creating gcell/src/ibm/Makefile
config.status: creating gnuradio-core/Makefile
config.status: creating gnuradio-core/gnuradio-core.pc
config.status: creating gnuradio-core/doc/Doxyfile
config.status: creating gnuradio-core/doc/Makefile
config.status: creating gnuradio-core/doc/other/Makefile
config.status: creating gnuradio-core/doc/xml-swig/Makefile
config.status: creating gnuradio-core/src/Makefile
config.status: creating gnuradio-core/src/gen_interpolator_taps/Makefile
config.status: creating gnuradio-core/src/lib/Makefile
config.status: creating gnuradio-core/src/lib/filter/Makefile
config.status: creating gnuradio-core/src/lib/g72x/Makefile
config.status: creating gnuradio-core/src/lib/general/Makefile
config.status: creating gnuradio-core/src/lib/general/gr_prefix.cc
config.status: creating gnuradio-core/src/lib/gengen/Makefile
config.status: creating gnuradio-core/src/lib/io/Makefile
config.status: creating gnuradio-core/src/lib/missing/Makefile
config.status: creating gnuradio-core/src/lib/reed-solomon/Makefile
config.status: creating gnuradio-core/src/lib/viterbi/Makefile
config.status: creating gnuradio-core/src/lib/runtime/Makefile
config.status: creating gnuradio-core/src/lib/swig/Makefile
config.status: creating gnuradio-core/src/python/Makefile
config.status: creating gnuradio-core/src/python/bin/Makefile
config.status: creating gnuradio-core/src/python/gnuradio/Makefile
config.status: creating gnuradio-core/src/python/gnuradio/blks2/Makefile
config.status: creating
gnuradio-core/src/python/gnuradio/blks2impl/Makefile
config.status: creating gnuradio-core/src/python/gnuradio/gr/Makefile
config.status: creating gnuradio-core/src/python/gnuradio/gr/run_tests
config.status: creating gnuradio-core/src/python/gnuradio/gru/Makefile
config.status: creating
gnuradio-core/src/python/gnuradio/gruimpl/Makefile
config.status: creating
gnuradio-core/src/python/gnuradio/vocoder/Makefile
config.status: creating gnuradio-core/src/tests/Makefile
config.status: creating gnuradio-core/src/utils/Makefile
config.status: creating pmt/Makefile
config.status: creating pmt/pmt.pc
config.status: creating pmt/doc/Makefile
config.status: creating pmt/src/Makefile
config.status: creating pmt/src/lib/Makefile
config.status: creating pmt/src/scheme/Makefile
config.status: creating pmt/src/scheme/gnuradio/Makefile
config.status: creating mblock/Makefile
config.status: creating mblock/mblock.pc
config.status: creating mblock/doc/Makefile
config.status: creating mblock/src/Makefile
config.status: creating mblock/src/lib/Makefile
config.status: creating mblock/src/scheme/Makefile
config.status: creating mblock/src/scheme/gnuradio/Makefile
config.status: creating usrp/Makefile
config.status: creating usrp/usrp.pc
config.status: creating usrp/usrp-inband.pc
config.status: creating usrp/usrp.iss
config.status: creating usrp/doc/Doxyfile
config.status: creating usrp/doc/Makefile
config.status: creating usrp/doc/other/Makefile
config.status: creating usrp/host/Makefile
config.status: creating usrp/host/misc/Makefile
config.status: creating usrp/host/lib/Makefile
config.status: creating usrp/host/lib/inband/Makefile
config.status: creating usrp/host/lib/legacy/Makefile
config.status: creating usrp/host/lib/legacy/std_paths.h
config.status: creating usrp/host/swig/Makefile
config.status: creating usrp/host/apps/Makefile
config.status: creating usrp/host/apps-inband/Makefile
config.status: creating usrp/firmware/Makefile
config.status: creating usrp/firmware/include/Makefile
config.status: creating usrp/firmware/lib/Makefile
config.status: creating usrp/firmware/src/Makefile
config.status: creating usrp/firmware/src/common/Makefile
config.status: creating usrp/firmware/src/usrp2/Makefile
config.status: creating usrp/fpga/Makefile
config.status: creating usrp/fpga/rbf/Makefile
config.status: creating usrp2/Makefile
config.status: creating usrp2/host/Makefile
config.status: creating usrp2/host/usrp2.pc
config.status: creating usrp2/host/include/Makefile
config.status: creating usrp2/host/include/usrp2/Makefile
config.status: creating usrp2/host/lib/Makefile
config.status: creating usrp2/host/apps/Makefile
config.status: creating gr-usrp/Makefile
config.status: creating gr-usrp/src/Makefile
config.status: creating gr-usrp/src/run_tests
config.status: creating gr-usrp2/Makefile
config.status: creating gr-usrp2/src/Makefile
config.status: creating gr-usrp2/src/run_tests
config.status: creating gr-gcell/Makefile
config.status: creating gr-gcell/src/Makefile
config.status: creating gr-gcell/src/examples/Makefile
config.status: creating gr-gcell/src/run_tests
config.status: creating gr-msdd6000/Makefile
config.status: creating gr-msdd6000/src/Makefile
config.status: creating gr-audio-alsa/Makefile
config.status: creating gr-audio-alsa/src/Makefile
config.status: creating gr-audio-alsa/src/run_tests
config.status: creating gr-audio-jack/Makefile
config.status: creating gr-audio-jack/src/Makefile
config.status: creating gr-audio-jack/src/run_tests
config.status: creating gr-audio-oss/Makefile
config.status: creating gr-audio-oss/src/Makefile
config.status: creating gr-audio-oss/src/run_tests
config.status: creating gr-audio-osx/Makefile
config.status: creating gr-audio-osx/src/Makefile
config.status: creating gr-audio-osx/src/run_tests
config.status: creating gr-audio-portaudio/Makefile
config.status: creating gr-audio-portaudio/src/Makefile
config.status: creating gr-audio-portaudio/src/run_tests
config.status: creating gr-audio-windows/Makefile
config.status: creating gr-audio-windows/src/Makefile
config.status: creating gr-audio-windows/src/run_tests
config.status: creating gr-atsc/Makefile
config.status: creating gr-atsc/doc/Makefile
config.status: creating gr-atsc/src/Makefile
config.status: creating gr-atsc/src/lib/Makefile
config.status: creating gr-atsc/src/python/Makefile
config.status: creating gr-atsc/src/python/run_tests
config.status: creating gr-comedi/Makefile
config.status: creating gr-comedi/src/Makefile
config.status: creating gr-comedi/src/run_tests
config.status: creating gr-cvsd-vocoder/Makefile
config.status: creating gr-cvsd-vocoder/src/Makefile
config.status: creating gr-cvsd-vocoder/src/lib/Makefile
config.status: creating gr-cvsd-vocoder/src/python/Makefile
config.status: creating gr-cvsd-vocoder/src/python/run_tests
config.status: creating gr-gpio/Makefile
config.status: creating gr-gpio/src/Makefile
config.status: creating gr-gpio/src/fpga/Makefile
config.status: creating gr-gpio/src/fpga/include/Makefile
config.status: creating gr-gpio/src/fpga/top/Makefile
config.status: creating gr-gpio/src/fpga/lib/Makefile
config.status: creating gr-gpio/src/fpga/rbf/Makefile
config.status: creating gr-gpio/src/lib/Makefile
config.status: creating gr-gpio/src/python/Makefile
config.status: creating gr-gpio/src/python/run_tests
config.status: creating gr-gsm-fr-vocoder/Makefile
config.status: creating gr-gsm-fr-vocoder/src/Makefile
config.status: creating gr-gsm-fr-vocoder/src/lib/Makefile
config.status: creating gr-gsm-fr-vocoder/src/lib/gsm/Makefile
config.status: creating gr-gsm-fr-vocoder/src/python/Makefile
config.status: creating gr-gsm-fr-vocoder/src/python/run_tests
config.status: creating gr-pager/Makefile
config.status: creating gr-pager/src/Makefile
config.status: creating gr-pager/src/run_tests
config.status: creating gr-radar-mono/Makefile
config.status: creating gr-radar-mono/doc/Makefile
config.status: creating gr-radar-mono/src/Makefile
config.status: creating gr-radar-mono/src/fpga/Makefile
config.status: creating gr-radar-mono/src/fpga/top/Makefile
config.status: creating gr-radar-mono/src/fpga/lib/Makefile
config.status: creating gr-radar-mono/src/fpga/models/Makefile
config.status: creating gr-radar-mono/src/fpga/tb/Makefile
config.status: creating gr-radar-mono/src/lib/Makefile
config.status: creating gr-radar-mono/src/python/Makefile
config.status: creating gr-radar-mono/src/python/run_tests
config.status: creating gr-radio-astronomy/Makefile
config.status: creating gr-radio-astronomy/src/Makefile
config.status: creating gr-radio-astronomy/src/lib/Makefile
config.status: creating gr-radio-astronomy/src/python/Makefile
config.status: creating gr-radio-astronomy/src/python/run_tests
config.status: creating gr-trellis/Makefile
config.status: creating gr-trellis/doc/Makefile
config.status: creating gr-trellis/src/Makefile
config.status: creating gr-trellis/src/lib/Makefile
config.status: creating gr-trellis/src/python/Makefile
config.status: creating gr-trellis/src/python/run_tests
config.status: creating gr-trellis/src/examples/Makefile
config.status: creating gr-trellis/src/examples/fsm_files/Makefile
config.status: creating gr-video-sdl/Makefile
config.status: creating gr-video-sdl/src/Makefile
config.status: creating gr-video-sdl/src/run_tests
config.status: creating gr-wxgui/Makefile
config.status: creating gr-wxgui/gr-wxgui.pc
config.status: creating gr-wxgui/src/Makefile
config.status: creating gr-wxgui/src/python/Makefile
config.status: creating gr-wxgui/src/python/plotter/Makefile
config.status: creating gr-sounder/Makefile
config.status: creating gr-sounder/doc/Makefile
config.status: creating gr-sounder/src/Makefile
config.status: creating gr-sounder/src/fpga/Makefile
config.status: creating gr-sounder/src/fpga/top/Makefile
config.status: creating gr-sounder/src/fpga/lib/Makefile
config.status: creating gr-sounder/src/fpga/tb/Makefile
config.status: creating gr-sounder/src/lib/Makefile
config.status: creating gr-sounder/src/python/Makefile
config.status: creating gr-sounder/src/python/run_tests
config.status: creating gr-utils/Makefile
config.status: creating gr-utils/src/Makefile
config.status: creating gr-utils/src/lib/Makefile
config.status: creating gr-utils/src/python/Makefile
config.status: creating gnuradio-examples/Makefile
config.status: creating gnuradio-examples/c++/Makefile
config.status: creating gnuradio-examples/python/Makefile
config.status: creating
gnuradio-examples/python/apps/hf_explorer/Makefile
config.status: creating gnuradio-examples/python/apps/hf_radio/Makefile
config.status: creating gnuradio-examples/python/apps/Makefile
config.status: creating gnuradio-examples/python/audio/Makefile
config.status: creating gnuradio-examples/python/dect/Makefile
config.status: creating gnuradio-examples/python/digital/Makefile
config.status: creating gnuradio-examples/python/digital_voice/Makefile
config.status: creating gnuradio-examples/python/digital-bert/Makefile
config.status: creating gnuradio-examples/python/mp-sched/Makefile
config.status: creating gnuradio-examples/python/multi-antenna/Makefile
config.status: creating gnuradio-examples/python/multi_usrp/Makefile
config.status: creating gnuradio-examples/python/network/Makefile
config.status: creating gnuradio-examples/python/ofdm/Makefile
config.status: creating gnuradio-examples/python/usrp/Makefile
config.status: creating grc/src/grc_gnuradio/Makefile
config.status: creating grc/src/grc_gnuradio/wxgui/Makefile
config.status: creating grc/src/grc_gnuradio/blks2/Makefile
config.status: creating grc/src/grc_gnuradio/usrp/Makefile
config.status: creating grc/src/Makefile
config.status: creating grc/src/platforms/Makefile
config.status: creating grc/src/platforms/base/Makefile
config.status: creating grc/src/platforms/python/Makefile
config.status: creating grc/src/platforms/python/utils/Makefile
config.status: creating grc/src/platforms/gui/Makefile
config.status: creating grc/src/utils/Makefile
config.status: creating grc/src/gui/Makefile
config.status: creating grc/examples/Makefile
config.status: creating grc/examples/xmlrpc/Makefile
config.status: creating grc/examples/usrp/Makefile
config.status: creating grc/examples/audio/Makefile
config.status: creating grc/examples/simple/Makefile
config.status: creating grc/Makefile
config.status: creating grc/data/Makefile
config.status: creating grc/data/platforms/Makefile
config.status: creating grc/data/platforms/base/Makefile
config.status: creating grc/data/platforms/python/Makefile
config.status: creating grc/data/platforms/python/blocks/Makefile
config.status: creating grc/scripts/Makefile
config.status: creating grc/freedesktop/Makefile
config.status: creating Makefile
config.status: creating run_tests.sh
config.status: creating config/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing swig_gcell_deps commands
config.status: executing swig_deps commands
config.status: executing run_tests_core commands
config.status: executing run_tests_usrp commands
config.status: executing run_tests_osx commands
config.status: executing run_tests_atsc commands
config.status: executing run_tests_cvsd commands
config.status: executing run_tests_gpio commands
config.status: executing run_tests_gsm commands
config.status: executing run_tests_pager commands
config.status: executing run_tests_radar_mono commands
config.status: executing run_tests_astronomy commands
config.status: executing run_tests_gr_trellis commands
config.status: executing run_tests_sdl commands
config.status: executing run_tests_sounder commands
config.status: executing run_tests_build commands
=== configuring in usrp2/firmware (/Users/bruh/gnuradio/usrp2/firmware)
configure: running /bin/sh ./configure.gnu ‘–prefix=/usr/local’
‘LDFLAGS=-L/Users/bruh/gr/lib -L/opt/local/lib’ --cache-file=/dev/null
–srcdir=.
configure: WARNING: If you wanted to set the --build type, don’t use
–host.
If a cross compiler is detected then cross compile mode will be
used.
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /opt/local/bin/gmkdir -p
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking for mb-strip… no
checking for strip… strip
Component usrp2 passed configuration checks; building.
checking for style of include used by make… GNU
checking for mb-gcc… no
checking for gcc… gcc
checking for C compiler default output file name… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking dependency style of gcc… gcc3
checking how to run the C preprocessor… gcc -E
checking for mb-ranlib… no
checking for ranlib… ranlib
checking for grep that handles long lines and -e… /usr/bin/grep
checking for egrep… /usr/bin/grep -E
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking arpa/inet.h usability… yes
checking arpa/inet.h presence… yes
checking for arpa/inet.h… yes
checking netinet/in.h usability… yes
checking netinet/in.h presence… yes
checking for netinet/in.h… yes
checking byteswap.h usability… no
checking byteswap.h presence… no
checking for byteswap.h… no
checking whether byte ordering is bigendian… no
checking for mb-gcc… no
usrp2 firmware requires mb-gcc. Not found
Not building component usrp2-firmware.
configure: creating ./config.status
config.status: creating apps/Makefile
config.status: creating include/Makefile
config.status: creating lib/Makefile
config.status: creating Makefile
config.status: creating config/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands


The following components were skipped either because you asked not
to build them or they didn’t pass configuration checks:

usrp2-firmware

These components will not be built.


The following GNU Radio components have been successfully configured:

config
gruel
omnithread
gnuradio-core
pmt
mblock
usrp
gr-usrp
gr-msdd6000
gr-audio-osx
gr-atsc
gr-cvsd-vocoder
gr-gpio
gr-gsm-fr-vocoder
gr-pager
gr-radar-mono
gr-radio-astronomy
gr-trellis
gr-video-sdl
gr-wxgui
gr-sounder
gr-utils
gnuradio-examples

You my now run the make command to build these components.


The following components were skipped either because you asked not
to build them or they didn’t pass configuration checks:

gcell
usrp2
gr-usrp2
gr-gcell
gr-audio-alsa
gr-audio-jack
gr-audio-oss
gr-audio-portaudio
gr-audio-windows
gr-comedi
grc

These components will not be built.