To keep two different versions of gnuradio I used two different
install-prefixes.
/usr/local/gnuradio-3.6 and
/usr/local/gnuradio-3.7
The idea was to switch between the two versions by setting a symbolic
link
/usr/local/gnuradio to the directory just required.
The installation works find but the second installation overwrites the
config files of the first installation as both config files go to
/usr/local/etc instead of /etc.
Running with multiple versions of GNU Radio installed the way you are
describing works, but may involve more than just using the symlink.
Here
is an FAQ entry describing one way to do it:
…should be appending ‘etc’ to the install prefix, which as shown above
is
correct. But instead it is getting appended to ‘/usr/local’, which is
the
default value if you don’t specify a custom one when running cmake. I’m
not sure what to make of this yet, but it is definitely a bug.
I’m pretty sure this doesn’t happen if you start with a clean build dir.
If you run cmake with -DCMAKE_INSTALL_PREFIX, all paths will be correct.
Only if you re-run cmake with a new -DCMAKE_INSTALL_PREFIX, it will only
update the install path, not the config path. If you’re doing that, you
must explicitly set SYSCONFDIR as well.
This was a clean build in a newly created build directory.
…should be appending ‘etc’ to the install prefix, which as shown above is
correct. But instead it is getting appended to ‘/usr/local’, which is the
default value if you don’t specify a custom one when running cmake. I’m not
sure what to make of this yet, but it is definitely a bug.
I’m pretty sure this doesn’t happen if you start with a clean build dir.
If you run cmake with -DCMAKE_INSTALL_PREFIX, all paths will be correct.
Only if you re-run cmake with a new -DCMAKE_INSTALL_PREFIX, it will only
update the install path, not the config path. If you’re doing that, you
must explicitly set SYSCONFDIR as well.
MB
–
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)