# Trouble with multiple installs or how i learned to love make uninstall

**URL:** <https://www.ruby-forum.com/t/trouble-with-multiple-installs-or-how-i-learned-to-love-make-uninstall/213170>\
**Category:** GNU Radio\
**Created:** [October 25, 2011, 6:20pm UTC](https://www.ruby-forum.com/t/trouble-with-multiple-installs-or-how-i-learned-to-love-make-uninstall/213170 "2011-10-25T18:20:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [October 25, 2011, 6:20pm UTC](https://www.ruby-forum.com/t/trouble-with-multiple-installs-or-how-i-learned-to-love-make-uninstall/213170/1 "2011-10-25T18:20:32Z")

</div>

Hello

It seems it might be a good idea if it were possible to uninstall  
gnuradio  
propper.

I currently have two systems faling (hard) using the new build.

My gentoo box (configured using cmake in another thread)  
gives me the error :  
ImportError: libgruel-3.4.2git.so.0: cannot open shared object file: No  
such  
file or directory  
Whenever i try  
from gnuradio import digital.

funny part is: I never succeeded in installing 3.4.2, so I don’t blame  
it  
for not finding it.

I tried doing a manual ldconfig, but it didn’t seem to do the trick.

On an ubuntu machine (xubuntu to be specific) using the build-gnuradio  
script, most of the digital schemes fails  
due to the reallocation of packets to digital. This includes stuff that  
should be updated.

Is it possible that the python stuff does not get properly updated and  
is  
there any way to fix this?

Downgrading, by adding a “git checkout v3.4.2” fixes makes the build run  
fine again.

On both systems the building of the system is without problems.

---

<div class="post-metadata">

**Author:** ![Paul\_MSBendixen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/58f4c7/32.png) [@Paul\_MSBendixen](https://www.ruby-forum.com/u/Paul_MSBendixen)\
**Post date:** [October 26, 2011, 10:41am UTC](https://www.ruby-forum.com/t/trouble-with-multiple-installs-or-how-i-learned-to-love-make-uninstall/213170/2 "2011-10-26T10:41:11Z")

</div>

So I started today off by doing a make uninstall on the gentoo box. Then  
I  
went hunting.  
As it turns out, I had to manually remove 3.5.0git files from a lot of  
the  
locations mentioned in the post concerning the WX Gui problem (  
[[Discuss-gnuradio] Problem with WXGUI Widgets](http://lists.gnu.org/archive/html/discuss-gnuradio/2011-10/msg00355.html)).

After removing these (along with a set of old installation files) i  
tried  
rebuilding. (after git clean -dfx; git pull)

Only error i got was:  
…/git/uhd/firmware/zpu/lwip/lwip-1.3.1/src/include/lwip/memp.h:45:  
Warning: include file lwip/memp\_std.h not found, perhaps you forgot to  
add  
its directory to INCLUDE\_PATH?  
with some warnings that:  
Warning: explicit link request to ‘define’ could not be resolved  
in the zpu firmware image.

It all works fine now, however due to moving around (i guess) i get a  
lot of  
warnings like:  
Error: Connection between gr\_interleave\_0(0) and blks2\_ofdm\_mod\_0(0)  
could  
not be made.  
sink block id “blks2\_ofdm\_mod\_0” not in block ids

in gnuradio-companion

When I use the modulation-\>gmsk it results in the error:  
self.blks2\_gmsk\_mod\_0 = blks2.gmsk\_mod(  
AttributeError: ‘module’ object has no attribute ‘gmsk\_mod’

which is correct, it is now in digital.

Should this be fixed or are the XML files that grc uses not fully  
updated?  
If so, should the git clean -dfx not have fixed this?

The last example is the same on the xubuntu box (which was installed  
using  
the new build-gnuradio script).

Maybe I should start splitting this out into different mails?

Best  
Paul

2011/10/25 Tom R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![Paul\_MSBendixen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/58f4c7/32.png) [@Paul\_MSBendixen](https://www.ruby-forum.com/u/Paul_MSBendixen)\
**Post date:** [October 25, 2011, 6:48pm UTC](https://www.ruby-forum.com/t/trouble-with-multiple-installs-or-how-i-learned-to-love-make-uninstall/213170/3 "2011-10-25T18:48:59Z")

</div>

On Tue, Oct 25, 2011 at 12:19 PM, Paul M. Bendixen  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> such file or directory  
> due to the reallocation of packets to digital. This includes stuff that  
> should be updated.
> 
> Is it possible that the python stuff does not get properly updated and is  
> there any way to fix this?
> 
> Downgrading, by adding a “git checkout v3.4.2” fixes makes the build run  
> fine again.
> 
> On both systems the building of the system is without problems.

make uninstall does work and removes all of the GNU Radio files from the  
system. The twist that you need to remember is that you have to do it  
BEFORE  
upgrading to a new version. The 3.5 will try to uninstall it’s stuff,  
which  
will be different from 3.4. So you have to have to run ‘make uninstall’  
when  
you’ve configured for what’s installed on your system. Then you can  
upgrade  
and shouldn’t have any conflicts.

When you say that you didn’t have 3.4.2 installed, do you mean that you  
never installed from master before? For the past few weeks, the master  
branch reflected the 3.4.2, so any installs will have that in their  
name.

You did help me find a bug in our cmake install, though. Some of our  
specially-built files are not being removed by uninstall.

Tom
