Eric Blossom wrote:
fOn Thu, May 13, 2010 at 12:13:00AM +1000, Kyle Zhou wrote:
I am playing howto-write-a-block in cygwin.
Git trunk.
./bootstrap no problem
./configure brings the following error:
checking for GNURADIO_CORE... configure: error: Package requirements
(gnuradio-core >= 3) were not met:

No package 'gnuradio-core' found


This does not happen in Ubuntu.
Anyone has any idea on this?
Thanks
Kyle

Assuming that you really do have GNU Radio installed, I would suspect
that you don't have PKG_CONFIG_PATH set, or that it's pointing to the
wrong place.

Eric

Thanks Eric. That is right on the point. Configure problem solved after setting PKG_CONFIG_PATH properly.
After that, 'make' succeeded.
But when I do 'make check', making check in lib succeeded, but when checking in python, it produced an error as follows.

Making check in python
make[1]: Entering directory `/home/kyle/gnuradio/gr-howto-write-a-block/python'
make  check-TESTS
make[2]: Entering directory `/home/kyle/gnuradio/gr-howto-write-a-block/python'
/home/kyle/gnuradio/gr-howto-write-a-block/lib:/home/kyle/gnuradio/gr-howto-writ
e-a-block/lib/.libs:/home/kyle/gnuradio/gr-howto-write-a-block/swig:/home/kyle/g
nuradio/gr-howto-write-a-block/swig/.libs:/home/kyle/gnuradio/gr-howto-write-a-b
lock/python:/usr/local/lib/python2.5/site-packages:/usr/local/lib/python2.5/site
-packages:/usr/local/lib/python2.5/site-packages/
Traceback (most recent call last):
 File "./qa_howto.py", line 24, in <module>
   import howto_swig
File "/home/kyle/gnuradio/gr-howto-write-a-block/swig/howto_swig.py", line 21,
in <module>
   import _howto_swig
ImportError: No such file or directory
FAIL: run_tests
==================
1 of 1 test failed
==================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/home/kyle/gnuradio/gr-howto-write-a-block/python'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/kyle/gnuradio/gr-howto-write-a-block/python'
make: *** [check-recursive] Error 1


Your help is really appreciated.
Kyle

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to