Hi Ron,
That's actually a good (and obvious idea).
Yes, this sounds more straight forward and simpler.
May I ask then: Why exactly pybombs?
(So far I actually had only issues with it)
Best,
Lukas
Ron wrote:
> Since you know how to build from source, you're better off sticking with that. The trick to multiple installs is just to use -DCMAKE_INSTALL_PREFIX during the cmake step. For example:
> cmake -DCMAKE_INSTALL_PREFIX=/opt/gnuradio-3.7.14 ../
>
>/opt is a better location than /usr/local since you can just delete entire directories without upsetting already installed modules in /usr/local/ from other source builds.
>
>
> Then you just need an environment script for each install. For example:
>
> #!/bin/bash
>
> export PATH=$PATH:/opt/gnuradio-3.7.14/bin
>
> export PYTHONPATH=$PYTHONPATH:/opt/gnuradio-3.7.14/lib/python2.7/dist-packages
>
>
> 1) gedit env37
>
> 2) insert above text and save
>
> 3) chmod +x env37
>
> 4) create different scripts for each install.
>
> 5) to avoid duplicate paths when changing to a different install, exit the shell and start a new one.
>
>
> Ron
No comments:
Post a Comment