On Sun, May 20, 2007 at 06:39:02PM +0200, Davide Anastasia wrote:
> Hi List,
> I have some problem to compile and test a new module I write starting
> from gnuradio code.
> This is what I do:
> 1. take the "how to write blah blah" code and directory structure;
> 2. modify code and src/lib/Makefile.am
> 3. autoreconf
>  -> First error:
> 
> [EMAIL PROTECTED]:~/Tesi/SVN/gr-howto-write-a-block$ autoreconf
> src/lib/Makefile.am:55: Python sources seen but `PYTHON' is undefined
> src/lib/Makefile.am:55:
> src/lib/Makefile.am:55: The usual way to define `PYTHON' is to add
> `AM_PATH_PYTHON'
> src/lib/Makefile.am:55: to `configure.ac' and run `aclocal' and
> `autoconf' again.
> src/python/Makefile.am:31: Python sources seen but `PYTHON' is undefined
> src/python/Makefile.am:31:
> src/python/Makefile.am:31: The usual way to define `PYTHON' is to add
> `AM_PATH_PYTHON'
> src/python/Makefile.am:31: to `configure.ac' and run `aclocal' and
> `autoconf' again.
> 
> 4. add AM_PATH_PYTHON to configure.ac
> 5. autoreconf run clean;
> 6. ./configure
>  -> Second error:

Don't use autoreconf.

Use

  ./bootstrap && ./configure

Eric


_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to