Forum: GNU Radio Removing GNU Radio Throughly

Afbb56f25f6c6a2d88882cd10606d791?d=identicon&s=25 Jonathan Fox (Guest)
on 2014-06-25 00:44
(Received via mailing list)
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 <module>
    from gnuradio import gr, blks2
  File
"/usr/local/lib64/python2.6/site-packages/gnuradio/blks2/__init__.py",
line
37, in <module>
    exec "from gnuradio.blks2impl.%s import *" % (f,)
  File "<string>", line 1, in <module>
  File
"/usr/local/lib64/python2.6/site-packages/gnuradio/blks2impl/pfb_interpolator.py",
line 23, in <module>
    from gnuradio import gr, optfir
  File "/usr/local/lib64/python2.6/site-packages/gnuradio/optfir.py",
line
33, in <module>
    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
Afbb56f25f6c6a2d88882cd10606d791?d=identicon&s=25 Jonathan Fox (Guest)
on 2014-06-25 00:49
(Received via mailing list)
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 Fox
<31fox@cardinalmail.cua.edu>
7cd69f12eb417bba8e0e60db18761486?d=identicon&s=25 Tom McDermott (Guest)
on 2014-06-25 01:05
(Received via mailing list)
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 Fox
<31fox@cardinalmail.cua.edu>
Afbb56f25f6c6a2d88882cd10606d791?d=identicon&s=25 Jonathan Fox (Guest)
on 2014-06-25 03:03
(Received via mailing list)
Hey thanks,

I will give it a shot tomorrow.

Jon
Afbb56f25f6c6a2d88882cd10606d791?d=identicon&s=25 Jonathan Fox (Guest)
on 2014-06-25 22:46
(Received via mailing list)
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 Fox
<31fox@cardinalmail.cua.edu>
C539637020fd56193dd6daec746c4a84?d=identicon&s=25 Tom Rondeau (Guest)
on 2014-06-25 22:53
(Received via mailing list)
On Wed, Jun 25, 2014 at 4:45 PM, Jonathan Fox
<31fox@cardinalmail.cua.edu>
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
Afbb56f25f6c6a2d88882cd10606d791?d=identicon&s=25 Jonathan Fox (Guest)
on 2014-06-25 23:01
(Received via mailing list)
On Wed, Jun 25, 2014 at 4:51 PM, Tom Rondeau <tom@trondeau.com> 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



>
>
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.