discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] gr-howto-write-a-block configure error in cygwin


From: Kyle Zhou
Subject: Re: [Discuss-gnuradio] gr-howto-write-a-block configure error in cygwin
Date: Sat, 15 May 2010 15:27:27 +0800
User-agent: Thunderbird 2.0.0.24 (Windows/20100228)

Thanks John.
No I did not do 'make install'. I need to make check to ensure everything goes fine before installing. The PYTHONPATH has been set correctly by 'run_tests' script in python directory, as can been seen in the output quoted along with the error message. quote it again: "/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/"
Any more ideas?
Kyle
John Wilson wrote:
Hey,

Did you do a 'make install' after your make? That should install the python packages to their search path. If not maybe you need to set $PYTHONPATH, or (this happened to me on Ubuntu) the make script is trying to install to the wrong directory, check where your other python libraries are (normally in /usr/lib/python2.5 or /usr/local/lib/python2.5), and if you're installing to /usr/local/lib/pyth... and you're meant to be installing to /usr/lib/pyth... add 'prefix=/usr' or 'prefix=/usr/local' as appropriate when you run your ./configure script.

John



On Thu, May 13, 2010 at 1:19 AM, Kyle Zhou <address@hidden <mailto:address@hidden>> wrote:



    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
    address@hidden <mailto:address@hidden>
    http://lists.gnu.org/mailman/listinfo/discuss-gnuradio






reply via email to

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