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: Tom Rondeau
Subject: Re: [Discuss-gnuradio] problem with installation of howto
Date: Thu, 17 Feb 2011 17:22:23 -0500

Sorry for the delayed response to this, but I just tested out the
howto write a block code and had the same problem. I "fixed" the code,
but according to Eric's logs from December when he made these changes,
I'm not sure what's happening is what is supposed to be happening
after they did some work on the swig system.

Bottom line, this might not be the right answer, but it makes it work
and it's easy to reverse when we find the right answer.

Also, this should have only been broken in the 'next' branch. Can you
confirm that this is where you were seeing the problem, or was there a
problem with the 'master' branch as well?

Thanks,
Tom



On Sat, Feb 12, 2011 at 8:38 PM, Mike Cornelius <address@hidden> wrote:
> 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
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>



reply via email to

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