discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Getting pybombs to work with GR-LDPCree


From: Tommy Tracy II
Subject: Re: [Discuss-gnuradio] Getting pybombs to work with GR-LDPCree
Date: Mon, 10 Feb 2014 16:45:55 -0500

Dear Marc and community,

I copied the gr-ldpc.lwr file from https://github.com/manuts/gr-ldpc/blob/master/gr-ldpc.lwr and dropped it in ~/pybombs/recipes/.
I then ran ./pybombs install gr-ldpc (after cleaning and removing the old files).

—————
address@hidden:~/src/pybombs$ ./pybombs install gr-ldpc
Settled on prefix: /home/tjt7a/src/target
Initializing environmental variables...
/home/tjt7a/src/target/python/:/home/tjt7a/src/target/lib/python2.6/site-packages/:/home/tjt7a/src/target/lib64/python2.6/site-packages/:/home/tjt7a/src/target/lib/python2.6/dist-packages/:/home/tjt7a/src/target/lib64/python2.6/dist-packages/:/home/tjt7a/src/target/lib/python2.7/site-packages/:/home/tjt7a/src/target/lib64/python2.7/site-packages/:/home/tjt7a/src/target/lib/python2.7/dist-packages/:/home/tjt7a/src/target/lib64/python2.7/dist-packages/:/home/tjt7a/src/target/python/:/home/tjt7a/src/target/lib/python2.6/site-packages/:/home/tjt7a/src/target/lib64/python2.6/site-packages/:/home/tjt7a/src/target/lib/python2.6/dist-packages/:/home/tjt7a/src/target/lib64/python2.6/dist-packages/:/home/tjt7a/src/target/lib/python2.7/site-packages/:/home/tjt7a/src/target/lib64/python2.7/site-packages/:/home/tjt7a/src/target/lib/python2.7/dist-packages/:/home/tjt7a/src/target/lib64/python2.7/dist-packages/
---------- loading recipes -------------------
Loading recipes ...
Loading recipes ... done
---------- loading recipes finished ----------

checking for gr-ldpc
False
/home/tjt7a/src/pybombs/mod_pybombs/sysutils.py:598: RuntimeWarning: tempnam is a potential security risk to your program
  tmpfile = os.tempnam(d);
TMPFILE = /home/tjt7a/src/target/fileGejm3d
WRITE PERMS OK /home/tjt7a/src/target/fileGejm3d
installing gr-ldpc
gr-ldpc dep [['gnuradio', 'git', 'cmake']]
gnuradio dep [['make', 'boost', 'fftw', 'cppunit', 'swig', 'gsl', 'uhd', 'git', 'python', 'cheetah', 'wxpython', 'numpy', 'lxml', 'pygtk', 'pycairo', 'cmake', 'pyqt4', 'pyqwt5', 'gcc', 'ice', 'git', 'cmake']]
git dep [['wget', 'curl']]
cmake dep [['wget']]
PyBombs.sysutils - INFO - have_deb: Satisfies requirement...installed version of cmake (2.8.10) is >= than 2.8.3
PyBombs.sysutils - INFO - have_deb: Satisfies requirement...installed version of cmake-data (2.8.10) is >= than 2.8.3
packages to install: ['gr-ldpc']
install called (gr-ldpc)
install type priority: ['deb', 'src']
install deb called (gr-ldpc)
no deb satisfiers available
install src called (gr-ldpc)
state = None
Current step: (gr-ldpc :: fetch)
shellexec_long: git clone -b master https://github.com/manuts/gr-ldpc.git gr-ldpc
PyBombs.sysutils - INFO - monitor: Tried command 0 time(s)
remote: Reusing existing pack: 454, done.
remote: Total 454 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (454/454), 235.33 KiB, done.
Resolving deltas: 100% (294/294), done.
PyBombs.sysutils - INFO - shellexec_shell: Caught the quit Event
Current step: (gr-ldpc :: configure)
configure
(' \n    CC=gcc CXX=g++ cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/home/tjt7a/src/target \n', ' \n    CC=$cc CXX=$cxx cmake .. -DCMAKE_BUILD_TYPE=$cmakebuildtype -DCMAKE_INSTALL_PREFIX=$prefix $config_opt\n')
(' \n    CC=gcc CXX=g++ cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/home/tjt7a/src/target \n', ' \n    CC=gcc CXX=g++ cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/home/tjt7a/src/target \n')
bash exec (/home/tjt7a/src/pybombs/src/gr-ldpc/build)::  
    CC=gcc CXX=g++ cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/home/tjt7a/src/target 

-- The CXX compiler identification is GNU 4.7.3
-- The C compiler identification is GNU 4.7.3
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Boost version: 1.53.0
-- Found the following Boost libraries:
--   filesystem
--   system
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") 
-- checking for module 'gnuradio-runtime'
--   found gnuradio-runtime, version 3.7.3git
-- Could NOT find GNURADIO_RUNTIME (missing:  GNURADIO_RUNTIME_INCLUDE_DIRS) 
-- checking for module 'cppunit'
--   found cppunit, version 1.12.1
-- Found CPPUNIT: /usr/lib/libcppunit.so;dl  
CMake Error at CMakeLists.txt:98 (message):
  GnuRadio Runtime required to compile ldpc


-- Configuring incomplete, errors occurred!
ERROR:root:PyBOMBS Configure step failed for package (gr-ldpc) please see bash output above for a reason (hint: look for the word Error)
----------

This is where I originally had the problem, and I had to manually change the CMake files to get to the error I submitted in the previous message.

Information about my system:

OS
Distributor ID: Ubuntu
Description: Ubuntu 13.04
Release: 13.04
Codename: raring

GNURADIO
address@hidden:~/src/pybombs$ gnuradio-config-info  -v
v3.7.2.1-195-g19d111e2

Tommy James Tracy II
Ph.D Student
High Performance Low Power Lab
University of Virginia
Phone: 913-775-2241

On Feb 10, 2014, at 3:42 PM, Marc Hölscher <address@hidden> wrote:

Hi,

could you provide some details on your system/OS/relevant packages
installed ?
I assume you did not alter the gnuradio recipe for an older version or
an obscure fork.

In Debian 7.4.0 on a 32 bit system it compiles flawless (tested right
now).


Greetings,
Marc Hölscher

On 10/02/14 17:57, Tommy Tracy II wrote:
Dear Gnuradio community,

I?m trying to install gr-ldpc using pybombs, but I get the
following error. I expect it has something to do with conflicting
versions of pybombs and that someone has seen this before. Does
anyone know how to set the swig path? I know where the required
?gnuradio.i? file is located:
~/src/pybombs/src/gnuradio/gnuradio-runtime/swig/gnuradio.i but I?m
not sure how to add that location to the path that pybombs is
searching. ----------

address@hidden:~/src/pybombs$ ./pybombs install gr-ldpc Settled on
prefix: /home/tjt7a/src/target Initializing environmental
variables...
/home/tjt7a/src/target/python/:/home/tjt7a/src/target/lib/python2.6/site-packages/:/home/tjt7a/src/target/lib64/python2.6/site-packages/:/home/tjt7a/src/target/lib/python2.6/dist-packages/:/home/tjt7a/src/target/lib64/python2.6/dist-packages/:/home/tjt7a/src/target/lib/python2.7/site-packages/:/home/tjt7a/src/target/lib64/python2.7/site-packages/:/home/tjt7a/src/target/lib/python2.7/dist-packages/:/home/tjt7a/src/target/lib64/python2.7/dist-packages/:/home/tjt7a/src/target/python/:/home/tjt7a/src/target/lib/python2.6/site-packages/:/home/tjt7a/src/target/lib64/python2.6/site-packages/:/home/tjt7a/src/target/lib/python2.6/dist-packages/:/home/tjt7a/src/target/lib64/python2.6/dist-packages/:/home/tjt7a/src/target/lib/python2.7/site-packages/:/home/tjt7a/src/target/lib64/python2.7/site-packages/:/home/tjt7a/src/target/lib/python2.7/dist-packages/:/home/tjt7a/src/target/lib64/python2.7/dist-packages/




---------- loading recipes -------------------
Loading recipes ... Loading recipes ... done ---------- loading
recipes finished ----------

checking for gr-ldpc False
/home/tjt7a/src/pybombs/mod_pybombs/sysutils.py:598:
RuntimeWarning: tempnam is a potential security risk to your
program tmpfile = os.tempnam(d); TMPFILE =
/home/tjt7a/src/target/fileC2snMh WRITE PERMS OK
/home/tjt7a/src/target/fileC2snMh installing gr-ldpc gr-ldpc dep
[['gnuradio', 'git', 'cmake']] gnuradio dep [['make', 'boost',
'fftw', 'cppunit', 'swig', 'gsl', 'uhd', 'git', 'python',
'cheetah', 'wxpython', 'numpy', 'lxml', 'pygtk', 'pycairo',
'cmake', 'pyqt4', 'pyqwt5', 'gcc', 'ice', 'git', 'cmake']] git dep
[['wget', 'curl']] cmake dep [['wget']] PyBombs.sysutils - INFO -
have_deb: Satisfies requirement...installed version of cmake
(2.8.10) is >= than 2.8.3 PyBombs.sysutils - INFO - have_deb:
Satisfies requirement...installed version of cmake-data (2.8.10)
is
= than 2.8.3 packages to install: ['gr-ldpc'] install called
(gr-ldpc) install type priority: ['deb', 'src'] install deb called
(gr-ldpc) no deb satisfiers available install src called
(gr-ldpc) state = configure Current step: (gr-ldpc :: make) make
('\n make -j4\n', '\n    make -j4\n') bash exec
(/home/tjt7a/src/pybombs/src/gr-ldpc/build):: make -j4

[  3%] Built target _ldpc_swig_doc_tag [ 46%] [ 53%] Built target
gnuradio-ldpc [ 56%] Built target pygen_python_5aba1 Built target
_ldpc_swig_swig_tag [ 60%] [ 60%] Swig source Built target
pygen_apps_9a6dd [ 66%] [ 70%] Built target test-ldpc Swig source
/home/tjt7a/src/pybombs/src/gr-ldpc/swig/ldpc_swig.i:5: Error:
Unable to find 'gnuradio.i' make[2]: ***
[swig/ldpc_swigPYTHON_wrap.cxx] Error 1 make[1]: ***
[swig/CMakeFiles/_ldpc_swig.dir/all] Error 2 make[1]: *** Waiting
for unfinished jobs....
/home/tjt7a/src/pybombs/src/gr-ldpc/swig/ldpc_swig.i:5: Error:
Unable to find 'gnuradio.i' make[2]: ***
[swig/ldpc_swigPYTHON_wrap.cxx] Error 1 make[1]: ***
[swig/CMakeFiles/pygen_swig_7c327.dir/all] Error 2 make: *** [all]
Error 2 ERROR:root:PyBOMBS Make step failed for package (gr-ldpc)
please see bash output above for a reason (hint: look for the word
Error)

----------

Sincerely, Tommy James Tracy II Ph.D Student High Performance Low
Power Lab University of Virginia Phone: 913-775-2241




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


--
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

<0x3A363153.asc>_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


reply via email to

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