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: Marc Hölscher
Subject: Re: [Discuss-gnuradio] Getting pybombs to work with GR-LDPCree
Date: Mon, 10 Feb 2014 23:37:15 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20131104 Icedove/17.0.10

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

save for the copyright text the two recipes are identical so the
copying step is not necesary anymore.



Our versions are definitely the same:
v3.7.2.1-195-g19d111e2 for Gnuradio
and
0e18c2205a608c02b5fa9f9d3b8a5b3540b38525 for gr-ldpc


My config prompt looks as follows...

- -- The CXX compiler identification is GNU 4.7.2
- -- The C compiler identification is GNU 4.7.2
- -- 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
- -- Found GNURADIO_RUNTIME: gnuradio-runtime;gnuradio-pmt
- -- checking for module 'cppunit'
- --   found cppunit, version 1.12.1
- -- Found CPPUNIT: /usr/lib/libcppunit.so;dl
- -- Found SWIG: /usr/bin/swig2.0 (found version "2.0.7")
- -- Found PythonLibs: /usr/lib/python3.2/config/libpython3.2.so (found
version "2.7.3")
- -- Found PythonInterp: /usr/bin/python (found version "2.7.3")
- -- Found Doxygen: /usr/bin/doxygen (found version "1.8.1.2")
- -- Configuring done
- -- Generating done
- -- Build files have been written to: /home/me/pybombs/src/gr-ldpc/build

... so your compiler versions seem to suffice.


Maybe you could "ldconfig"ing since gnuradio exists and yet your
compiler does not manage to find all of it.


Sincerely,
        Marc Hölscher


On 10/02/14 21:45, Tommy Tracy II wrote:
> 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 Setting fetched
> version info
> (git://https://github.com/manuts/gr-ldpc.git,0e18c2205a608c02b5fa9f9d3b8a5b3540b38525)
>
> 
setting installed version info
(git://https://github.com/manuts/gr-ldpc.git,0e18c2205a608c02b5fa9f9d3b8a5b3540b38525)
> 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
> 
> 

- -- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBAgAGBQJS+WKiAAoJEDKA7Dk6NjFTrbIQAJxQ7rFhiek6fQ1yPabMwadq
C8+gluBpyCHaIt/W9FIS655OalbqH97H3jC6+Vo8QRIUPS+cqkaD7gP+eVx853+C
n+f2DpWi9gXzONLYA7aLyPDQzAXxgHcbsaaKwsFq7NnRBdE2niMyRnBZKvcsqly6
WC5ErNoxDBeKVBJ1aY5BCVOhzCWVeeEs/Mtp6BigHp8FxcoLChcOnuZz76fbM2FS
thNmqZANa91KBrcCG95BXjzovinbZ8pQ0s8W/6+giY/k17/sGaCfADFIcTPXkqsb
cgUdJEc206rGx6d5cRbb7egrUwpXstATltVTC4V8ri2ZfTFfyeeA6LlqNr83YSNR
pADdlRj81O1EnT0j1AKZJc5OY5W6uizvq5Ie88pY2sM2Akyf6IO9SXQstPz9GDej
o7NXyk5PfInfbv+hztlgNTptb+xZiuPV9DM/UWKuARCmqTfHFCFeejcYL3WdCTOu
vrt4iY5fD7V7FJ1HQlbgIuYzAJwSH2pNNhG0y7Rh8fyXn0keYibFz/yOHHD98RJt
wSUcVpgDvzyFO1egzOPTT/9gL0WG3bL6BYpChgRjPaNlR/mQKq+yh03iNp79z4yi
wOfP6YNGS5D6m+eM1GaBibgOljPT6jsf6AFrS3TG2EpaFZzwouLVgexGwifkXoGb
nT3Dtq7lPuiUmwZSZNHx
=D6XW
-----END PGP SIGNATURE-----

Attachment: 0x3A363153.asc
Description: application/pgp-keys

Attachment: 0x3A363153.asc.sig
Description: PGP signature

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

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