Installing Xenomai Cobalt and Mercury in the same system
vt at altlinux.org
Mon Sep 14 23:29:42 CEST 2020
On Mon, Sep 14, 2020 at 02:06:40PM -0500, Per Oberg via Xenomai wrote:
> ----- Den 14 sep 2020, på kl 20:20, xenomai xenomai at xenomai.org skrev:
> > I wish to create two sets of packages for ALT Linux for libxenomai one
> > for Cobalt and another for Mercury core.
> > But, it seems this is hard to achieve, because sonames would be the same.
> > Is there any suggestions how to achieve this properly?
> Wow, this takes me back.
> Back when I was a student our sysadmins would use cmod so that they could have all versions of all possible software installed at the same time. This way different departments could tune what versions were available to their students and they could install new versions without anyone getting angry about breakage. (And if something broke because they changed the default one could easily go back by making a different pick )
> The last contribution is well over 17 years old. Those were the days...
Thanks for the suggestion. But, sysadmin level solutions does not solve
repository level problems for distributions. We only can create (RPM)
packages which any users should be able to install in usual way.
Otherwise, they could just use configure & make install for the
downloaded source code.
One suggestion I got is to actually rename all xenomai sonames, for
example, to add core suffix to all library names. (Such as,
libcopperplate.so -> libcopperplate-mercury.so).
Jan, Philippe, what do you think if we extend auto-scripts with a
possibility to specify soname suffix (via configure)? Thus, both
versions of the libs could be properly installed or used correctly.
> > Thanks,
> Per Öberg
More information about the Xenomai