Forum: GNU Radio Re: Installing Channel coding toolbox problem

Posted by Ghulam Rasool Begh (Guest)
on 2013-01-23 19:30
Attachment: BSC.grc (11 KB)
(Received via mailing list)
Thanks fr help & support.
I re run all commands and used export command you provided and was able 
to install channel coding toolbox. But when I simulated the .grc file 
(attached with mail) I got following run time error.
Traceback (most recent call last): File "/home/ehsan/mygn/top_block.py", 
line 17, in <module>  import chancoding File 
"/usr/local/lib/python2.7/site-packages/chancoding/__init__.py", line 
40, in <module>  from chancoding_swig import * File 
"/usr/local/lib/python2.7/site-packages/chancoding/chancoding_swig.py", 
line 26, in <module>  _chancoding_swig = swig_import_helper() File 
"/usr/local/lib/python2.7/site-packages/chancoding/chancoding_swig.py", 
line 22, in swig_import_helper  _mod = 
imp.load_module('_chancoding_swig', fp, pathname, 
description)ImportError: libgnuradio-chancoding.so.0: cannot open shared 
object file: No such file or directory
>>> DoneWhat may be the prblem

Best RegardsGRB



--- On Wed, 1/23/13, Tom Rondeau <tom@trondeau.com> wrote:

From: Tom Rondeau <tom@trondeau.com>
Subject: Re: [Discuss-gnuradio] Installing Channel coding toolbox 
problem
To: "Ghulam Rasool Begh" <grbegh136@yahoo.com>
Date: Wednesday, January 23, 2013, 9:28 PM

I don't like giving out contact info for people, but Martin Braun is 
pretty easy to find. He contributes a lot to the mailing list, so you 
should be able to find his info there.
Tom




On Wed, Jan 23, 2013 at 10:56 AM, Ghulam Rasool Begh 
<grbegh136@yahoo.com> wrote:


Thanks for your help.

Is it somehow possible to get mail Id of contributors if you don mind 
please
Best RegardsGRB

--- On Wed, 1/23/13, Tom Rondeau <tom@trondeau.com> wrote:



From: Tom Rondeau <tom@trondeau.com>
Subject: Re: [Discuss-gnuradio] Installing Channel coding toolbox 
problem


To: "Ghulam Rasool Begh" <grbegh136@yahoo.com>
Cc: "Gnu Radio" <discuss-gnuradio@gnu.org>


Date: Wednesday, January 23, 2013, 9:21 PM

On Wed, Jan 23, 2013 at 10:45 AM, Ghulam Rasool Begh 
<grbegh136@yahoo.com> wrote:




Thanks for reply.

yes the path exactly the same i.e/usr/local/lib/pkgconfig
using the export command now, ./configure, make, make check worked but 
the make install command didnot It showed



make installmake: *** No rule to make target `install'. Stop.
Please suggest what to do now.
Regards




Sorry, I'm not hands-on familiar with that project. Perhaps Martin could 
weigh in here? Might not meant to be installed automatically, so you 
might have to do something by hand.




Tom




--- On Wed, 1/23/13, Tom Rondeau <tom@trondeau.com> wrote:





From: Tom
 Rondeau <tom@trondeau.com>
Subject: Re: [Discuss-gnuradio] Installing Channel coding toolbox 
problem
To: "Ghulam Rasool Begh" <grbegh136@yahoo.com>




Cc: "Gnu Radio" <discuss-gnuradio@gnu.org>
Date: Wednesday, January 23, 2013, 8:23 PM



On Wed, Jan 23, 2013 at 7:20 AM, Ghulam Rasool Begh 
<grbegh136@yahoo.com> wrote:




Hi all,


To test grc simulations given at 
http://gnuradio.org/redmine/projects/gnuradio/wiki...





I could not find Binary symmetric channel block in GRC. I then tried to 
install Channel Coding Toolbox by following instructions given at 
https://www.cgran.org/wiki/chancoding







I used following commandssvn co 
https://www.cgran.org/svn/projects/channel_coding/...






cd gr-chancoding
./bootstrap






But after giving./configureit shows following at the end:No package 
'gnuradio-core' found






Consider adjusting the PKG_CONFIG_PATH environment variable if 
youinstalled software in a non-standard prefix.






Alternatively, you may set the environment
 variables GNURADIO_CORE_CFLAGSand GNURADIO_CORE_LIBS to avoid the need 
to call pkg-config.See the pkg-config man page for more details.






I dont know what to do now.
You should adjust PKG_CONFIG_PATH.






Put it another way. Where is your GNU Radio installed to? If you 
compiled and installed by hand without adjusting anything, it should be 
in /usr/local. So then you will have a directory:


/usr/local/lib/pkgconfig
This directory contains package config files like gnuradio-core.pc. 
Point pkg-config there and you're configure scripts should be able to 
find it:






export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH





Is there some other way to do this simulation.






I have latest version of gnuradio installed i.e  v3.6.3-6-gca407436.







Best Regards


GRB
Tom
Posted by Martin Braun (CEL) (Guest)
on 2013-01-24 09:04
(Received via mailing list)
On Wed, Jan 23, 2013 at 10:28:56AM -0800, Ghulam Rasool Begh wrote:
> ImportError: libgnuradio-chancoding.so.0: cannot open shared object file: No
> such file or directory

Did you 'sudo ldconfig'?

MB

--
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin Braun
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association
Posted by Ghulam Rasool Begh (Guest)
on 2013-01-24 10:05
(Received via mailing list)
Thanks it worked now.

--- On Thu, 1/24/13, Martin Braun (CEL) <martin.braun@kit.edu> wrote:

From: Martin Braun (CEL) <martin.braun@kit.edu>
Subject: Re: [Discuss-gnuradio] Installing Channel coding toolbox 
problem
To: discuss-gnuradio@gnu.org
Date: Thursday, January 24, 2013, 1:33 PM

On Wed, Jan 23, 2013 at 10:28:56AM -0800, Ghulam Rasool Begh wrote:
> ImportError: libgnuradio-chancoding.so.0: cannot open shared object file: No
> such file or directory

Did you 'sudo ldconfig'?

MB

--
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin Braun
Research Associate

Kaiserstrae 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT -- University of the State of Baden-Wrttemberg and
National Laboratory of the Helmholtz Association

-----Inline Attachment Follows-----
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.