[Pkg-octave-devel] Multi-archifying Octave

Thomas Weber tweber at debian.org
Tue Feb 28 20:31:27 UTC 2012


On Mon, Feb 27, 2012 at 08:14:41PM -0500, Jordi Gutiérrez Hermoso wrote:
> On 27 February 2012 18:08, Thomas Weber <tweber at debian.org> wrote:
> > On Fri, Feb 24, 2012 at 09:37:26PM +0100, Sébastien Villemot wrote:
> >>  /usr/lib/x86_64-linux-gnu/octave/3.6.1/oct/x86_64-pc-linux-gnu/svd.oct
> >>  /usr/lib/x86_64-linux-gnu/octave/packages/3.6.1/optim-1.0.17/x86_64-pc-linux-gnu-api-v48+/
> >>
> >> Note that there are two triplets in the paths.
> >>
> >> Functionally this is not a problem, but it is a little ugly, since there
> >> is some sort of duplication.
> >
> > I'm not sure about the "no problem part".
> > On i386, the paths will loke like
> > /usr/lib/i386-linux-gnu/.../i486-pc-linux-gnu
> > so the numbers are different.
> >
> > So, will this work with multi-arch?
> 
> Should we give Octave a configure-time option to not use arches in
> directory names? We could do that for future releases.

Maybe instead of an option, just remove the arch parts.
I don't know what purpose they solve other than adding one more
directory to Octave's path. It's not like an ARM Octave binary can load
.oct files from an i386 build.

I tried doing so with the 3.4 release, but it's not easy at all - pkg.m
hardcodes them as well. 

	Thomas



More information about the Pkg-octave-devel mailing list