Make check on beagle


#1

Here are my current notes on make check on the beagle …

  1. Create a user with the same UID as you on the beagle
  2. nfs mount your home dir on the beagle
  3. figure out how to get ntp to warp time at startup or wait for
    Beagle clock to sync.
  4. While you are waiting cd into
    ./oe/tmp/work/armv7a-angstrom-linux-gnueabi/gnuradio-3.1.3+svnr10302-r6/trunk
    and run “make -i -s check”. This should do all teh needed libtool
    linking. you will see this error:

Traceback (most recent call last):
File “./qa_video_sdl.py”, line 23, in
from gnuradio import gr, gr_unittest
File
“/home/balister/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gnuradio-3.1.3+svnr10302-r6/trunk/gnuradio-core/src/python/gnuradio/gr/init.py”,
line 43, in
from gnuradio_swig_python import *
File
“/home/balister/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gnuradio-3.1.3+svnr10302-r6/trunk/gnuradio-core/src/lib/swig/gnuradio_swig_python.py”,
line 23, in
from gnuradio_swig_py_runtime import *
File
“/home/balister/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gnuradio-3.1.3+svnr10302-r6/trunk/gnuradio-core/src/lib/swig/gnuradio_swig_py_runtime.py”,
line 18, in
_gnuradio_swig_py_runtime = swig_import_helper()
File
“/home/balister/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gnuradio-3.1.3+svnr10302-r6/trunk/gnuradio-core/src/lib/swig/gnuradio_swig_py_runtime.py”,
line 16, in swig_import_helper
if fp is not None: fp.close()
UnboundLocalError: local variable ‘fp’ referenced before assignment

I think this might be an actual python2.6 issue.

  1. Log into the beagle and cd into the same directory. Run make -s
    check. Note that this will try and run python2.6 on the build machine.
    I’ll try and post a log of some errors later.

Philip