Tom Rondeau <[email protected]> writes: > On Mon, Feb 4, 2013 at 10:15 AM, Albert Chun-Chieh Huang < > [email protected]> wrote: > >> Hi, all, >> >> I updated MacPorts to 2.1.3 just now and installed gnuradio-next by the >> following command: >> >> $ sudo port install gnuradio-next +full configure.compiler=llvm-gcc-4.2 >> >> When I tried to run gr_filter_design, it gave me this error message: >> $ gr_filter_design >> Please install PyQwt5 to run this script (http://pyqwt.sourceforge.net/) >> >> To execute it, I deactivate qwt forcefully by >> $ sudo port -f deactivate qwt >> >> And then install PyQwt5 by: >> >> $ sudo port py27-pyqwt >> >> Then running gr_filter_design works perfectly! Good! >> >> Should gnuradio-next depends on PyQwt5 instead of qwt package? >> >> -- >> Albert Chun-Chieh Huang(黃俊傑) >> Blog: Random Notes, http://alberthuang314.blogspot.com/ > > > Albert, > > No, you still need QWT for gr-qtgui. We also don't want to add PyQWT as a > dependency since you don't require it to install anything. You need it for > runtime on a few apps and examples, but as you saw, we catch that import > error and provide a slightly nicer error message about what's going on. I > don't like the idea of adding runtime dependencies to the compile time list > of requirements. Having said that, we could check for runtime dependencies > and not install apps that fail, but this wouldn't stop compilation. I > haven't done that, yet, because it's a bit of a management nightmare to > keep all of that tied together. I think the runtime error message about the > missing Python component is sufficient. > > Tom
Hi, Tom, Thanks for your reply. In the beginning, I thought gnuradio will also work well with qwt 5.2.1 that comes with py27-pyqwt package. But I tested it with QtGUI in gnuradio-companion, and it failed. Now I get it. QtGUI in gnuradio-companion depends on QWT 5.1.2 and gr_filter_design depends on PyQwt 5.2. So I try to install PyQwt 5.2 on MacOSX without MacPorts. Now both gr_filter_design and QtGUI work fine on my Mac. GNU Radio 3.7 is really a huge jump for this project! Thank you all very much! -- Albert Chun-Chieh Huang(黃俊傑) Blog: Random Notes, http://alberthuang314.blogspot.com/ _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
