Removing GNU Radio Throughly

Just recently I decided to update my old build of GNU Radio (3.6 release
from Dec '13) to the newest one. Due to overly conservative and
arbitrary
network policies, my CentOS machines are forbidden to interact with the
internet, so that means no build_gnuradio or PyBombs. I think I didn’t
throughly remove my old install because I had an issue with gr.remez.

I ran:

sudo rm -rf /usr/local/include/gnuradio/
sudo rm -f /usr/local/lib*/libgnuradio*/

and somehow old files stuck around. So I have gone through my whole
/usr/local/ directory and removed anything related to GNU Radio. Is
there
any other places I should be aware of? I’m asking because I have done
this
twice already, the 2nd reinstall wasn’t working right, for example:
blks2
module wasn’t found on the ofdm benchmark scripts and I was still having
problems with that gr.remez, I know it has a new name now but I figured
the
new install would of taken care of that unless I have old files
lingering.
For the record this is my error:

$ ./benchmark_rx.py -a addr=“10.2.8.104” -v -f 146.0M -m qpsk
–discontinuous
Traceback (most recent call last):
File “./benchmark_rx.py”, line 23, in
from gnuradio import gr, blks2
File
“/usr/local/lib64/python2.6/site-packages/gnuradio/blks2/init.py”,
line
37, in
exec “from gnuradio.blks2impl.%s import *” % (f,)
File “”, line 1, in
File
“/usr/local/lib64/python2.6/site-packages/gnuradio/blks2impl/pfb_interpolator.py”,
line 23, in
from gnuradio import gr, optfir
File “/usr/local/lib64/python2.6/site-packages/gnuradio/optfir.py”,
line
33, in
remez = gr.remez
AttributeError: ‘module’ object has no attribute ‘remez’

So I think the old build may be conflicting with the new build.

To sum up my question again, is there any other directory outside of the
usr/local/ where old build files could be?

Thank you so much,

Jon

I forgot a crucial bit of information, make uninstall wasn’t working
right,
I kept getting

Cmake Error at cmake_uninstall.cmake:20 (ELSEIF):
had incorrect arguments: IS_SYMLINK “$ENV{DESTDIR}${file}” (Unknown
arguments specified).

So I just went into /usr/local/ and started purging.

On Tue, Jun 24, 2014 at 6:42 PM, Jonathan F.
[email protected]

Hi Jon - I made a bash script to do a more or less complete removal,
based
on a something Jonathan posted several years ago. It’s a bit pre-3.7
centric, but seems to get the job done (even with 3.7).

svn.tapr.org/repos_sdr_hpsdr/trunk/N5EG/GRC3.6/Gnuradio_remove

– Tom, N5EG

On Tue, Jun 24, 2014 at 3:48 PM, Jonathan F.
[email protected]

So I ran the nuke script and failed to realize it was meant for the
older
builds; libusrp and python2.5 was the give away. However I still see it
as
a useful tool so I’m going to update it for my use and I will put the
finished version on my GitHub account when I am done. So if anyone is
interested in gnuradio_nuke.sh, give me a day or two, and I will email
the
list with my GitHub account.

So I did reinstall on one machine and the benchmark scripts aren’t
acting
up like they were yesterday, although my simple data collection script
is
acting up and won’t run in GRC or in terminal. I am going to do some
research into before I open up a email chain.

I still have another machine to fix but I will say that I am better off
than I was yesterday.

Thanks,

Jon

On Tue, Jun 24, 2014 at 9:01 PM, Jonathan F.
[email protected]

On Wed, Jun 25, 2014 at 4:45 PM, Jonathan F.
[email protected]
wrote:

research into before I open up a email chain.

I still have another machine to fix but I will say that I am better off
than I was yesterday.

Thanks,

Jon

Just FYI, I just tested ‘make uninstall’ and it worked fine. My guess is
that you tried using a newer version of the source to uninstall an older
installation, which won’t work. You’d have to have the same version of
the
source as your installed version to uninstall it properly.

Tom

On Wed, Jun 25, 2014 at 4:51 PM, Tom R. [email protected] wrote:

So I did reinstall on one machine and the benchmark scripts aren’t acting

Just FYI, I just tested ‘make uninstall’ and it worked fine. My guess is
that you tried using a newer version of the source to uninstall an older
installation, which won’t work. You’d have to have the same version of the
source as your installed version to uninstall it properly.

Tom

This is what first went wrong, I deleted my copy of the old source and
didn’t run ‘make uninstall’ beforehand. That was user error because I
overlooked parts in the build-gnuradio. Then the second thing that went
wrong was I expected the newer source to remove the newer files but
something went wrong and I couldn’t explain why. I did have to turn
doxygen
off when I first installed the new 3.7 build but I don’t think that has
anything to do with it.

Jon

Hey thanks,

I will give it a shot tomorrow.

Jon