discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] cmake build


From: Josh Blum
Subject: Re: [Discuss-gnuradio] cmake build
Date: Sat, 10 Sep 2011 19:33:18 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.20) Gecko/20110805 Lightning/1.0b2 Thunderbird/3.1.12

> The problem I'm running into appears to be caused by the installed
> version of python being 2.5.  Cmake requests a version of 2.5 or later
> so it should be okay, however I get the following error.
> 
> Serf:gnuradio-build ben$ make
> [  0%] Generating ../include/volk/volk.h, volk.c, volk_init.h,
> ../include/volk/volk_typedefs.h, ../include/volk/volk_cpu.h,
> volk_cpu.c, ../include/volk/volk_config_fixed.h,
> volk_environment_init.c, volk_environment_init.h, volk_machines.h,
> volk_machines.c, volk_machine_generic.c, volk_machine_sse2_only.c,
> volk_machine_sse2_32.c, volk_machine_sse3_32.c,
> volk_machine_ssse3_32.c
> Unknown option: -B
> usage: 
> /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python
> [option] ... [-c cmd | -m mod | file | -] [arg] ...
> Try `python -h' for more information.
> make[2]: *** [volk/include/volk/volk.h] Error 2
> make[1]: *** [volk/lib/CMakeFiles/volk.dir/all] Error 2
> make: *** [all] Error 2
> 
> A google suggests that the -B option for python was added in 2.6.
> I'll install a newer version of python and see if I have more luck.
> 

The -B tells python not to generate .pyc files (to keep junk from being
generated in tree). I didnt realize it was for 2.6 and up.

For now, you can harmlessly remove it, or alternatively, disable volk
-DENABLE_VOLK=ON/OFF

-josh



reply via email to

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