[Discuss-gnuradio] Difficulty with "howto" tutorial
From:
Andrew Spielberg
Subject:
[Discuss-gnuradio] Difficulty with "howto" tutorial
Date:
Tue, 2 Aug 2011 09:23:44 -0400
Hi,
I don't know if the how to tutorial is out of date, but I cannot find any Makefile.am file in the "gr-howto-write-a-block" that looks like example 5 in the tutorial (http://www.gnu.org/software/gnuradio/doc/howto-write-a-block.html#prereqs). I've tried editing the libs to the best of my ability, but the best that I can get from the make check is
make check-am make[1]: Entering directory `/home/aespiel1/gnuradio/gr-howto-write-a-block/python' make check-TESTS make[2]: Entering directory `/home/aespiel1/gnuradio/gr-howto-write-a-block/python'
/home/aespiel1/gnuradio/gr-howto-write-a-block/lib:/home/aespiel1/gnuradio/gr-howto-write-a-block/lib/.libs:/home/aespiel1/gnuradio/gr-howto-write-a-block/swig:/home/aespiel1/gnuradio/gr-howto-write-a-block/swig/.libs:/home/aespiel1/gnuradio/gr-howto-write-a-block/python:/usr/local/lib/python2.7/dist-packages:/usr/local/lib/python2.7/dist-packages:
Traceback (most recent call last): File "./qa_howto.py", line 24, in <module> import howto ImportError: No module named howto FAIL: run_tests ================== 1 of 1 test failed
================== make[2]: *** [check-TESTS] Error 1 make[2]: Leaving directory `/home/aespiel1/gnuradio/gr-howto-write-a-block/python' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/home/aespiel1/gnuradio/gr-howto-write-a-block/python'
make: *** [check] Error 2
from a make check on the python library. I know it's probably very wrong (I have little experience with editting makefiles, but my current makefile configuration in the /lib folder is attached below.
So is the howto tutorial just out of date, or did I mess something up (more probable)? Please let me know if you have any suggestions.
Thank you very much for your time, Andy S.
Attached Makefile.am:
# # Copyright 2004,2005,2006,2008,2009,2010 Free Software Foundation, Inc. # # This file is part of GNU Radio # # GNU Radio is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option) # any later version. # # GNU Radio is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street, # Boston, MA 02110-1301, USA. #