From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 26 Jan 2015 19:20:46 +0100 From: Gilles Chanteperdrix Message-ID: <20150126182046.GL12812@hermes.click-hack.org> References: <129277905.Ag2XebZWbK@soho> <1531214.hYcPgWDQ6s@soho> <20150126145943.GK12812@hermes.click-hack.org> <2155048.C7RTQC2ILE@indiana> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <2155048.C7RTQC2ILE@indiana> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] Packaging Xenomai-3 List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Leopold Palomo-Avellaneda Cc: xenomai@xenomai.org On Mon, Jan 26, 2015 at 06:46:21PM +0100, Leopold Palomo-Avellaneda wrote: > El Dilluns, 26 de gener de 2015, a les 15:59:43, Gilles Chanteperdrix va > escriure: > > On Mon, Jan 26, 2015 at 03:56:08PM +0100, Leopold Palomo-Avellaneda wrote: > > > El Dilluns, 26 de gener de 2015, a les 15:08:26, Gilles Chanteperdrix va > > > escriure: > > > > > > [...] > > > > > > > Sure, but in that case you would have two xenomai build trees, that > > > > you can configure with different options so that they do not collide > > > > once installed. > > > > > > I'm sure that you can install it where do you want. But are you sure that > > > you can install a library in a path outside the standard place, without > > > touching ld.so.conf and you can have a program running from an > > > installation? > > In Debian wheezy (and I assume any later revision), there is an > > /etc/ld.so.conf.d directory where each package can install its > > file with the directories it wants to add to the search path. > > That's the point Gilles. Debian doesn't accept that [1]. No, you missed the point. Entirely. The point is distribution rules apply to re-packaging made for distributions. Not to upstream packages. So, basically, Xenomai upstream package does not care about any distribution rules, and the job of the Debian maintainer is to massage Xenomai installation so that it fits Debian rules. Look for instance at how the libcurl3 packages are made. libcurl3 can use openssl, gnutls or nss as providing TLS, but was not meant to run the three at a time. Debian wants to be able to install the three version, so what does the Debian rules does ? They manage to do it. Putting things into several directories was just one proposed solution, but it is not by any mean the only one. -- Gilles. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 811 bytes Desc: not available URL: