Re: [USRP-users] uhd make failed

2019-10-26 Thread Ron Economos via USRP-users

You need python-setuptools.

sudo apt-get install python-setuptools

Ron

On 10/26/19 19:20, 张恒 via USRP-users wrote:

Dear all,


When I execute 'make' in 'uhd/host/build' folder, I met error
'[100%] Built target pyuhd
[100%] Generating build/timestamp
python/CMakeFiles/pyuhd_library.dir/build.make:64: recipe for target 
'python/build/timestamp' failed

make[2]: *** [python/build/timestamp] Error 1
CMakeFiles/Makefile2:3997: recipe for target 
'python/CMakeFiles/pyuhd_library.dir/all' failed

make[1]: *** [python/CMakeFiles/pyuhd_library.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2'

What's the problem of it?


Regards,
Heng

___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


[USRP-users] uhd make failed

2019-10-26 Thread 张恒 via USRP-users
Dear all,




When I execute 'make' in 'uhd/host/build' folder, I met error 
'[100%] Built target pyuhd
[100%] Generating build/timestamp
python/CMakeFiles/pyuhd_library.dir/build.make:64: recipe for target 
'python/build/timestamp' failed
make[2]: *** [python/build/timestamp] Error 1
CMakeFiles/Makefile2:3997: recipe for target 
'python/CMakeFiles/pyuhd_library.dir/all' failed
make[1]: *** [python/CMakeFiles/pyuhd_library.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2'


What's the problem of it?




Regards,
Heng___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Re: [USRP-users] uhd_fft failure

2019-10-26 Thread Ettus Research Support via USRP-users
It now looks like you need to install "python-qt4" to get around this
issue. Same basic method as "python-six", whatever that was that you did
successfully. - MLD

On Thu, Oct 24, 2019 at 4:37 PM Saeid Hashemi  wrote:

> Yes, I did those steps as well to install gnuradio from source.
> Installed the binary for python-sip, now I'm getting another error:
>
> nuc03@nuc03:~/gnuradio/build$ /home/nuc03/gnuradio/gr-uhd/apps/uhd_fft
> Traceback (most recent call last):
>   File "/home/nuc03/gnuradio/gr-uhd/apps/uhd_fft", line 43, in 
> from PyQt4 import Qt
> ImportError: No module named PyQt4
>
>
> On Mon, Oct 21, 2019 at 12:19 PM Ettus Research Support 
> wrote:
>
>> Hi Saeid - Not sure what's going on with your GR install ... did you do
>> "sudo make install" after doing "make"? Did you do "sudo ldconfig" after
>> installing?
>>
>> It looks like you need to install "python-sip" to get around this latest
>> issue. Same basic method as "python-six", whatever that was that you did
>> successfully. - MLD
>>
>> On Fri, Oct 18, 2019 at 3:19 PM Saeid Hashemi via USRP-users <
>> usrp-users@lists.ettus.com> wrote:
>>
>>> Okay, so installing python-six fixed that, and I was able to install
>>> 3.7.13.5 from source.
>>> The sample apps like uhd_fft are not in the path like they used to be
>>> with binary installation. And trying it from the apps folder gives me:
>>>
>>> nuc03@nuc03:/usr/local/bin$ /home/nuc03/gnuradio/gr-uhd/apps/uhd_fft
>>> Traceback (most recent call last):
>>>   File "/home/nuc03/gnuradio/gr-uhd/apps/uhd_fft", line 39, in 
>>> import sip
>>> ImportError: No module named sip
>>>
>>>
>>> On Thu, Oct 17, 2019 at 10:26 AM Michael Dickens <
>>> michael.dick...@ettus.com> wrote:
>>>
 Yes sorry about the GR37 release version: 3.7.13.5 is the correct on.
 Installing Py27-six should be pretty straight forward & should allow you to
 proceed with that install. GR38 has it's own set of dependencies, some of
 which overlap with GR37 and some of which don't. You'll want to follow the
 install guide for your OS to get those dependencies. Good luck! - MLD

 On Wed, Oct 16, 2019 at 3:02 PM Saeid Hashemi  wrote:

> Hi Michael,
>
> The gnuradio git repository does not have a tag for v3.17.14.5, and
> using v3.7.13.5 gives me:
>
> -- Python checking for six - python 2 and 3 compatibility library
> -- Python checking for six - python 2 and 3 compatibility library -
> not found
> CMake Error at volk/CMakeLists.txt:98 (message):
>   six - python 2 and 3 compatibility library required to build VOLK
>
>
> -- Configuring incomplete, errors occurred!
> See also "/home/nuc03/gnuradio/build/CMakeFiles/CMakeOutput.log".
> See also "/home/nuc03/gnuradio/build/CMakeFiles/CMakeError.log".
>
>
> Checking out tag v3.8.0.0 results in Cmake dependency of 3.8 and up,
> so I need to install that manually.
>
>
> On Sat, Oct 12, 2019 at 11:02 AM Michael Dickens <
> michael.dick...@ettus.com> wrote:
>
>> OK. Thanks for the info Saeid. I'll look into creating a VM using
>> Ubuntu 16.04.1 to see what happens. - MLD
>>
>> On Fri, Oct 11, 2019 at 4:47 PM Saeid Hashemi 
>> wrote:
>>
>>> It's Ubuntu 16.04.1, but yes, I will follow the source build
>>> instructions.
>>>
>>> On Fri, Oct 11, 2019 at 3:11 PM Michael Dickens <
>>> michael.dick...@ettus.com> wrote:
>>>
 Hi Saeid - Thanks for the followup. I totally agree that if you
 just "sudo apt install gnuradio", compatible versions should be 
 installed.
 Are you using Ubuntu 16.04.6 LTS (Xenial Xerus)? If you choose to 
 install
 from source, you can follow instructions such as the GR recommended way
 here <
 https://wiki.gnuradio.org/index.php/UbuntuInstall#Xenial_Xerus_.2816.04.29
 >. I have an Ubuntu 18.04 install that went very smoothly using this 
 >guide,
 but maybe the guide is outdated for older Ubuntu; or, our packages 
 need to
 be updated for that OS version ... Cheers! - MLD

 On Fri, Oct 11, 2019 at 2:24 PM Saeid Hashemi 
 wrote:

> I will follow your advice, but it's worth mentioning I simply did
> apt-get gnuradio and should therefore have a compatible version of uhd
> installed automatically as a dependency. I did not install uhd 
> separately.
>
 --
 Michael Dickens
 Ettus Research Technical Support
 Email: supp...@ettus.com
 Web: https://ettus.com/

>>>
>>
>> --
>> Michael Dickens
>> Ettus Research Technical Support
>> Email: supp...@ettus.com
>> Web: https://ettus.com/
>>
>

 --
 Michael Dickens
 Ettus Research Technical Support
 Email: supp...@ettus.com
 Web: https://ettus.com/

>>>