Installing Xenomai Cobalt and Mercury in the same system
Hi,
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?
Thanks,
----- Den 14 sep 2020, på kl 20:20, xenomai [email protected] skrev:
Quoted 8 lines
Hi,
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
Quoted 1 line
Thanks,
Per Öberg
Quoted 7 lines · Per Oberg via Xenomai
----- Den 14 sep 2020, på kl 20:20, xenomai [email protected] skrev:
Quoted 4 lines
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.
Quoted 8 lines
Quoted 1 line
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,
Quoted 5 lines
Quoted 2 lines
Thanks,
Per Öberg
Quoted 23 lines · Vitaly Chikunov via Xenomai
Quoted 7 lines · Per Oberg via Xenomai
----- Den 14 sep 2020, på kl 20:20, xenomai [email protected] skrev:
Quoted 4 lines
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.
Quoted 8 lines
Quoted 1 line
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.
Quoted 8 lines
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.
Signature · 1 line
Philippe.
Quoted 30 lines · Philippe Gerum via Xenomai
Quoted 27 lines · Vitaly Chikunov via Xenomai
Quoted 7 lines · Per Oberg via Xenomai
----- Den 14 sep 2020, på kl 20:20, xenomai [email protected] skrev:
Quoted 4 lines
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.
Quoted 8 lines
Quoted 1 line
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).
Quoted 7 lines
Quoted 4 lines
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.
Ack.
We could also think of setting defaults for upcoming major releases so that the suffix does not needlessly become distro-specific. I have no feeling how many users we have on the mercury side, but I'm somehow leaning towards setting a suffix there while keeping the naming scheme on the cobalt side.
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux