References: <20200914182002.cw6tdq2n7sjlbnqm@altlinux.org> <1096405435.3387889.1600110400342.JavaMail.zimbra@wolfram.com> <20200914212942.wtrp57bjh6jmosbl@altlinux.org> From: Philippe Gerum Subject: Re: Installing Xenomai Cobalt and Mercury in the same system In-reply-to: <20200914212942.wtrp57bjh6jmosbl@altlinux.org> Date: Tue, 15 Sep 2020 08:45:32 +0200 Message-ID: <87zh5ra67n.fsf@xenomai.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vitaly Chikunov Cc: xenomai@xenomai.org Vitaly Chikunov via Xenomai writes: > On Mon, Sep 14, 2020 at 02:06:40PM -0500, Per Oberg via Xenomai wrote: >> ----- Den 14 sep 2020, p=C3=A5 kl 20:20, xenomai xenomai@xenomai.org skr= ev: >>=20 >> > I wish to create two sets of packages for ALT Linux for libxenomai one >> > for Cobalt and another for Mercury core. >>=20 >> > But, it seems this is hard to achieve, because sonames would be the sa= me. >>=20 >> > Is there any suggestions how to achieve this properly? >>=20 >> Wow, this takes me back.=20 >> Back when I was a student our sysadmins would use cmod so that they coul= d have all versions of all possible software installed at the same time. Th= is way different departments could tune what versions were available to the= ir students and they could install new versions without anyone getting angr= y about breakage. (And if something broke because they changed the default = one could easily go back by making a different pick ) >>=20 >> The last contribution is well over 17 years old. Those were the days...= =20 >>=20 >> 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. > This would make sense to me. --=20 Philippe.