From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 15 Sep 2020 00:29:42 +0300 From: Vitaly Chikunov Subject: Re: Installing Xenomai Cobalt and Mercury in the same system Message-ID: <20200914212942.wtrp57bjh6jmosbl@altlinux.org> References: <20200914182002.cw6tdq2n7sjlbnqm@altlinux.org> <1096405435.3387889.1600110400342.JavaMail.zimbra@wolfram.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1096405435.3387889.1600110400342.JavaMail.zimbra@wolfram.com> List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai 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@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... > > https://git.lysator.liu.se/cmod/cmod 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, > > > Thanks, > > Per Öberg >