Pybombs, gnuradio, libprotobuf issues PLEASE HELP ME

I’ve picked up some issues over the last month of trying to get a
working
gnuradio pybombs install with the openlte and fosphor pybombs packages.
Had
no idea it would be this difficult on a brand new system with a fresh OS
install and following all the instructions on the gnuradio site, but i
guess that’s open source for ya. I’m learning a lot though and hope that
my
questions will help someone else down the road.

  1. can anybody tell me where the install log for pybombs is? I’ve been
    told
    that it exists, but can’t find it anywhere.

2)i’ve been working with Sylvain on getting Fosphor running in my
pybombs
build, which was having a lot of problems, so just to be on the safe
side I
decided to try a clean build of gnuradio and pybombs altogether. To do
so i
did the following:
-deleted my pybombs directory
-followed the instructions here (
https://gnuradio.org/redmine/projects/pybombs/wiki/QuickStart)

-ran ./pybombs install gnuradio -v

uhd seems to be ok, but gnuradio installation failed with this error:

http://pastebin.com/XB9KW9Yx

  1. wanting to investigate i ran ./pybombs list i got this error

“have_deb: Does not satisfy requirement…installed version of
libprotobuf-dev (2.5.0) is not >= than 2.6.1”

(./pybombs list output here)

so in order to fix the protobuf problem i ran ./pybombs install protobuf

which then returns this:

http://pastebin.com/rGqwsdYR

i’m not sure if the libprotobuf and gnuradio issues are related, but
obviously i’m doing something wrong.

thanks,
-b

The first error can be repaired by adding the line:

#include <stdio.h>

to gnuradio/gr-dtv/lib/atsc/atsc_interleaver_impl.cc

I’m not sure how this bug slipped by.

Ron

Ron, thanks, adding that line fixed the compilation error and gnuradio
says
that it installed ok!
Now onto the other issues:
NEW ISSUE - no GRC??. I can’t call it from the target, home or pybombs
directory and there’s no recipe for it. any thoughts?
OLD ISSUE - protobuf is still the old version and calling ./pybombs
update
protobuf does nothing
OLD ISSUE - still have no idea where to find a build log for gnuradio

NEW ISSUE - no GRC??. I can’t call it from the target, home or pybombs
directory and there’s no recipe for it. any thoughts?

GRC comes with gnuradio itself.

If it’s not there, something failed during the cmake/build step, but
without the full logs, can’t really say anything.

My guess is that something on your system got broken at some point
between your first GR install and your first gr-fosphor attempt and
all your issues are stemming for this one unexpected condition.

OLD ISSUE - protobuf is still the old version and calling ./pybombs update
protobuf does nothing

Should’nt matter, this recipe isn’t required by gnuradio. Not even
sure why there is a recipe at all because it’s not required by
anything. The message you get when you do a ‘list’ is more a warning
than anything else and not relevant here.

Cheers,

Sylvain

NEW ISSUE - no GRC??. I can’t call it from the target, home or pybombs
directory and there’s no recipe for it. any thoughts?

GRC comes with gnuradio itself.

that’s what i thought as it’s always been that way.

If it’s not there, something failed during the cmake/build step, but
without the full logs, can’t really say anything.

yes, i agree about the build log. It would be a huge help if someone on
the forum board could help me out,

as i have looked through most of the files in the installation and
can’t
find a build log

i piped my terminal output of ./pybombs install gnuradio -v to this
file:

http://pastebin.com/1fPwEDbQ

the same compile error showed up on the terminal for *
gnuradio/gr-dtv/lib/atsc/atsc_interleaver_impl.cc
cause no one’s fixed
the
repo yet. I fixed that and re-ran ./pybombs install gnuradio which gave
this output:*

http://pastebin.com/gJuqvU1Q

same issues as before. uhd is installed no problem, grc doesn’t show
up

hopefully this will allow you to help me a little better?

My guess is that something on your system got broken at some point
between your first GR install and your first gr-fosphor attempt and
all your issues are stemming for this one unexpected condition.

*i thought pybombs was self-contained, once i remove that shouldn’t it
be a
complete restore? *

OLD ISSUE - protobuf is still the old version and calling ./pybombs update
protobuf does nothing

Should’nt matter, this recipe isn’t required by gnuradio. Not even
sure why there is a recipe at all because it’s not required by
anything. The message you get when you do a ‘list’ is more a warning
than anything else and not relevant here.

good to know about protobuf, thanks.

I’ve submitted a pull request for the compile issue in gr-dtv.
However, it takes a little while for requests to get merged.

You’re missing gnuradio-companion because your version of
SWIG is failing the version check. See line 982 in your first
pastebin. The minimum SWIG version required is 1.3.31.
You can see what version of SWIG you have with:

swig -version

Ron

thanks ron, my swig version is now updated.
so, if i run ./pybombs install gnuradio and it reports the error with
atsc_interleaver_impl.cc, i then go in and add “#include <stdio.h>”, but
now when i rerun ./pybombs install gnuradio, it still throws an error
about
the stdio commands not being included. is there a way to ‘make clean’
manually or something in pybombs?

What is the specific error?

Ron

ok, so editing the .cc file worked now and i got it to stop throwing the
compile error, but its still not working.

gnuradio-companion still isn’t installed correctly as i can’t call it
from
the command line. when i run swig -version i get:

http://pastebin.com/xWU4d5i3

i have a second computer with a completely working gnuradio pybombs
system
that i originally installed alongside this one (which was working, until
i
reinstalled gnruadio and pybombs) so this is super frustrating that i
can’t
duplicate it on a literally identical machine from the wiki
instructions. i
hate to perform brain surgery with a bazooka here, but i’m considering
reinstalling ubuntu and starting over completely at this point.

any thoughts?

Did you run ./pybombs env and setup your environment variables?

Rich

richard,
yes, i setup the environment variables. i noticed something strange
though,
in my initial (working) install, when i pulled the pybombs source using:
git clone git://github.com/pybombs/pybombs and cd into pybombs
in my initial configuration i was able to set my prefix dir to
/home/profile_name/pybombs , but now it forces me to use the prefix
/home/profile_name/target or it says it can’t install gnuradio in that
location unless i fix my permissions. I’m not sure what’s wrong with my
permissions though, if anything.

On Wed, Mar 25, 2015 at 3:01 PM, Richard B. [email protected]

I think you might be referring to the config.dat file that was created
after your first attempt at installing with pybombs? When you first
clone
pybombs, there is no config.dat, only a config.default. When you go
through
the install process, pybombs creates a config.dat that saves the choices
you made. Now if you try and re-install with the same pybombs as before,
all of your previous answers will be used during the setup.

Delete the config.dat file in the pybombs directory if you want to start
from scratch.

Rich

thanks rich. I think at this point its some ghost-in-the-machine file or
config that’s outside the pybombs directory. That makes little sense
because pybombs should be self-contained, therefore when i delete the
pybombs and target directories it should not have any difference. That
being said, it’s just not working.

i’m going to re-install ubuntu and follow the directions that Iluta sent
me. Her instructions seem to also have details on fixing the fosphor
issues i was having which was what started this whole mess in the first
place.

thanks,
-b

On Wed, Mar 25, 2015 at 4:38 PM, Richard B. [email protected]