On Tue, Nov 20, 2007 at 04:04:49PM -0500, Ed Criscuolo wrote:
> Johnathan Corgan wrote:
> >
> >You need to add one line to configure.ac specifying the new makefile.
> >It's near the bottom.
> >
> 
> 
> Thanks Jonathan.  That got the Makefile.in and the Makefile constructed.
> 
> The make install succeeded, but I only ended up with a file called
> gold_code_pn_source_b.py in .../site-packages/gnuradio/tdrss_utils .
> 
> The .pyc and .pyo files were missing, and any attempt to reference
> tdrss_utils.gold_code_pn_source_b() from a python program fails
> with the message
> 
> AttributeError: 'module' object has no attribute 
> 'gold_code_code_pn_source_b'
> 

You need to install an empty __init__.py in to your tdrss_utils
directory.

See http://docs.python.org/tut/node8.html#SECTION008400000000000000000

for info on Python packages.

Eric


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to