Hi Friends
I wrote the c++ and .i codes for a new block based on the gnuradio
tutorial
and used the same bootstrap, configure.ac and Makefile.am files found in
gr-howto-write-a-block folder with minor changes in places where the
source
file names are present. As I do not have a “qa_test” python file in my
folder and as I do not intend to write one I commented the lines that
run_tests in the configure.ac file. When I bootstrap I get the following
errors.
I tried looking for the solution in the forum but couldn’t find ones
that
were helpful. My folder has the same name as gr-howto-write-a-block to
be on
the safe side.
root@Namreen:/opt/gnuradio/gr-howto-write-a-block# ./bootstrap
src/lib/Makefile.am:56: Python sources seen but PYTHON' is undefined src/lib/Makefile.am:56: The usual way to definePYTHON’ is to add
AM_PATH_PYTHON' src/lib/Makefile.am:56: toconfigure.ac’ and run aclocal' andautoconf’
again.
configure.ac:92: required file config/Makefile.in' not found configure.ac:92: required filedoc/Makefile.in’ not found
configure.ac:92: required file src/python/Makefile.in' not found configure.ac:92: required filesrc/python/run_tests.in’ not found
root@Namreen:/opt/gnuradio/gr-howto-write-a-block#
Can someone help me out on this.
Thanks
Ali
Murtuza wrote:
root@Namreen:/opt/gnuradio/gr-howto-write-a-block# ./bootstrap
Usually it is not a good idea to do things like this while you are
logged in as root - the environment variables might not be suitable so
things will not work how you expected, and you could accidentally break
something. What happens if you re-do everything from the start as a
normal user?
jim
The result is the same when done as a user.
murtuza@Namreen:/opt/gnuradio/gr-howto-write-a-block$ sudo ./bootstrap
Password:
src/lib/Makefile.am:56: Python sources seen but PYTHON' is undefined src/lib/Makefile.am:56: The usual way to definePYTHON’ is to add
AM_PATH_PYTHON' src/lib/Makefile.am:56: toconfigure.ac’ and run aclocal' andautoconf’
again.
configure.ac:92: required file config/Makefile.in' not found configure.ac:92: required filedoc/Makefile.in’ not found
configure.ac:92: required file src/python/Makefile.in' not found configure.ac:92: required filesrc/python/run_tests.in’ not found
Thanks
Ali
On Sat, Aug 23, 2008 at 02:47:45PM -0500, Murtuza wrote:
configure.ac:92: required file doc/Makefile.in' not found configure.ac:92: required file src/python/Makefile.in’ not found
configure.ac:92: required file `src/python/run_tests.in’ not found
Thanks
Ali
Hi Ali,
We provide a working example, but if you add or remove clauses from
the Makefile.am, you’ll have to have a basic clue about automake.
I suggest you either make your Makefile.am closer to what we originally
provided and/or spend a bit of time with the automake documentation:
GNU Automake - GNU Project - Free Software Foundation
Eric