discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] pybombs and mako


From: Martin Braun
Subject: Re: [Discuss-gnuradio] pybombs and mako
Date: Sat, 3 Dec 2016 09:55:17 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

No we're not (at least, GNU Radio is not). My comment was that maybe,
PyBOMBS is checking for mako's existence with Py3k, and then GNU Radio
and UHD are using Python 2. It's just a wild guess -- no idea how that
would ever occur. But you do seem to be a magnet for weird build
failures, so I'm ruling out nothing :)

Cheers,
Martin

On 12/03/2016 05:27 AM, Robert McGwier wrote:
> Thank you Martin.  Are we ready to shift to Python 3?  If so, I will
> move my development machine over to that and try again.  My development
> machine having this problem is at work and I am at home.  I will try
> again on my machine here at home and install using python 3 to test.
> 
> Bob
> 
> 
> On Thu, Dec 1, 2016 at 11:33 PM, Martin Braun <address@hidden
> <mailto:address@hidden>> wrote:
> 
>     Does python -c 'import mako' also fail? What does python --version
>     print?
> 
>     I'm wondering if this is maybe a Python version mismatch. PyBOMBS
>     wouldn't raise an error if a Py2k mako is installed, but you actually
>     need a Py3k version.
> 
>     Cheers,
>     M
> 
>     On 12/01/2016 06:57 AM, Robert McGwier wrote:
>     > This is ubuntu 16.04 on an Intel machine (high end).
>     >
>     > usual startup with recipe install, prefix init, etc.
>     >
>     >
>     > find . | grep mako yields
>     >
>     > /usr/lib/python2.7/dist-packages/mako
>     >
>     > and much underneath it.
>     >
>     > pybombs install gnuradio yields
>     >
>     >
>     > Install tree:
>     > |
>     > \- gnuradio
>     >    |
>     >    +- uhd
>     >    |
>     >    \- apache-thrift
>     > PyBOMBS.install_manager - INFO - Installing package: apache-thrift
>     > Cloning:     (100%)
>     > [=========================================================]
>     > Cloning:     (100%)
>     > [=========================================================]
>     > Configuring: (100%)
>     > [=========================================================]
>     > Building:    (100%)
>     > [=========================================================]
>     > Installing:  (100%)
>     > [=========================================================]
>     > PyBOMBS.install_manager - INFO - Installation successful.
>     > PyBOMBS.install_manager - INFO - Installing package: uhd
>     > Cloning:     (100%)
>     > [=========================================================]
>     > Configuring: (100%)
>     > [=========================================================]
>     > PyBOMBS.Packager.source - WARNING - Configuration failed.
>     Re-trying with
>     > higher verbosity.
>     > --
>     > -- Configuring the python interpreter...
>     > -- Python interpreter: /home/n4hy/miniconda2/bin/python
>     > -- Override with: -DPYTHON_EXECUTABLE=<path-to-python>
>     > -- Operating on master branch.
>     > -- Using UHD Images Directory: OFF
>     > --
>     > -- Configuring Boost C++ Libraries...
>     > -- Boost version: 1.58.0
>     > -- Found the following Boost libraries:
>     > --   chrono
>     > --   date_time
>     > --   filesystem
>     > --   program_options
>     > --   regex
>     > --   system
>     > --   unit_test_framework
>     > --   serialization
>     > --   thread
>     > --   atomic
>     > -- Boost include directories: /usr/include
>     > -- Boost library directories: /usr/lib/x86_64-linux-gnu
>     > -- Boost libraries:
>     >
>     
> /usr/lib/x86_64-linux-gnu/libboost_chrono.so;/usr/lib/x86_64-linux-gnu/libboost_date_time.so;/usr/lib/x86_64-linux-gnu/libboost_filesystem.so;/usr/lib/x86_64-linux-gnu/libboost_program_options.so;/usr/lib/x86_64-linux-gnu/libboost_regex.so;/usr/lib/x86_64-linux-gnu/libboost_system.so;/usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so;/usr/lib/x86_64-linux-gnu/libboost_serialization.so;/usr/lib/x86_64-linux-gnu/libboost_thread.so;/usr/lib/x86_64-linux-gnu/libboost_atomic.so;/usr/lib/x86_64-linux-gnu/libpthread.so
>     > --
>     > -- Python checking for Python version 2.7 or greater
>     > -- Python checking for Python version 2.7 or greater - found
>     > --
>     > -- Python checking for Mako templates 0.4.2 or greater
>     > -- Python checking for Mako templates 0.4.2 or greater - "import mako"
>     > failed
>     > --
>     > -- Python checking for requests 2.0 or greater
>     > -- Python checking for requests 2.0 or greater - found
>     > --
>     > -- Configuring LibUHD support...
>     > --   Dependency Boost_FOUND = 1
>     > --   Dependency HAVE_PYTHON_PLAT_MIN_VERSION = TRUE
>     > --   Dependency HAVE_PYTHON_MODULE_MAKO = FALSE
>     > CMake Error at cmake/Modules/UHDComponent.cmake:51 (MESSAGE):
>     >   Dependencies for required component LibUHD not met.
>     > Call Stack (most recent call first):
>     >   CMakeLists.txt:348 (LIBUHD_REGISTER_COMPONENT)
>     >
>     >
>     > -- Configuring incomplete, errors occurred!
>     > See also
>     "/home/n4hy/prefix/src/uhd/host/build/CMakeFiles/CMakeOutput.log".
>     > See also
>     "/home/n4hy/prefix/src/uhd/host/build/CMakeFiles/CMakeError.log".
>     > PyBOMBS.Packager.source - ERROR - Configuration failed after
>     running at
>     > least twice.
>     > PyBOMBS.Packager.source - ERROR - Problem occurred while building
>     > package uhd:
>     > Configuration failed
>     > PyBOMBS.install_manager - ERROR - Error installing package uhd.
>     Aborting
>     > --
>     > Bob McGwier
>     > Founder, Federated Wireless, Inc
>     > Founder and Technical Advisor, HawkEye 360, Inc
>     > Research Professor Virginia Tech
>     > Chief Scientist:  The Ted and Karyn Hume Center for National Security
>     > and Technology
>     > Senior Member IEEE, Facebook: N4HYBob, ARS: N4HY
>     > Faculty Advisor Virginia Tech Amateur Radio Assn. (K4KDJ)
>     > Director of AMSAT and member of PVRC, TAPR, and life member of
>     ARRL and
>     > AMSAT
>     >
>     >
>     > _______________________________________________
>     > Discuss-gnuradio mailing list
>     > address@hidden <mailto:address@hidden>
>     > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>     <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio>
>     >
> 
> 
>     _______________________________________________
>     Discuss-gnuradio mailing list
>     address@hidden <mailto:address@hidden>
>     https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>     <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio>
> 
> 
> 
> 
> -- 
> Bob McGwier
> Founder, Federated Wireless, Inc
> Founder and Technical Advisor, HawkEye 360, Inc
> Research Professor Virginia Tech
> Chief Scientist:  The Ted and Karyn Hume Center for National Security
> and Technology
> Senior Member IEEE, Facebook: N4HYBob, ARS: N4HY
> Faculty Advisor Virginia Tech Amateur Radio Assn. (K4KDJ)
> Director of AMSAT and member of PVRC, TAPR, and life member of ARRL and
> AMSAT




reply via email to

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