discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Discuss-gnuradio] problem with installation of howto


From: Mike Cornelius
Subject: RE: [Discuss-gnuradio] problem with installation of howto
Date: Sun, 13 Feb 2011 12:38:55 +1100

Hi Achilleas,

I've been doing some work on the qtgui module.
When I started this work I was using a somewhat hackish approach to building
it 'out of tree', this weekend I've been working on cleaning this up so that
the build is based on the process used in how-to-write-a-block from 'next'.

In the process I've come across the issue you describe below, 

To fix it I :-

- added a suitable swig/__init__.py
- modified swig/makefile.am to include the new __init__.py
- modified the import path in python/__init__.py 
- modified the import path python/qa_howto.py 

I've attached a copy of my mods to this message if you'd like to give it a
try.

I'm not sure how 'correct' my solution is though.

BR,

Mike VK2XMC



> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On Behalf Of
> Achilleas Anastasopoulos
> Sent: Saturday, 12 February 2011 3:55 AM
> To: gnuradio mailing list
> Subject: [Discuss-gnuradio] problem with installation of howto
> 
> As it turns out after building howto
> 
> make install
> 
> installs a directory "howto" in .../site-packages
> containing the files:
> -rw-r--r-- 1 anastas nobody   1691 Feb 11 11:53 __init__.py
> -rw-rw-r-- 1 anastas nobody    556 Feb 11 11:53 __init__.pyc
> -rw-rw-r-- 1 anastas nobody    556 Feb 11 11:53 __init__.pyo
> 
> and ANOTHER directory "howto_swig" in .../site-packages/gnuradio
> containing the files:
> -rwxr-xr-x 1 anastas nobody   1327 Feb 11 11:52 _howto_swig.la
> -rw-r--r-- 1 anastas nobody  12267 Feb 11 11:53 howto_swig.py
> -rw-rw-r-- 1 anastas nobody  22958 Feb 11 11:53 howto_swig.pyc
> -rw-rw-r-- 1 anastas nobody  22958 Feb 11 11:53 howto_swig.pyo
> -rwxr-xr-x 1 anastas nobody 411339 Feb 11 11:52 _howto_swig.so
> 
> if i copy the files of the latter to the former then everything works,
> ie, python can import howto,
> otherwise, it complains!
> 
> Achilleas
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Attachment: howto_mods.tgz
Description: application/compressed


reply via email to

[Prev in Thread] Current Thread [Next in Thread]