[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Distribution-specific include paths for several versions of Octave
From: |
David Bateman |
Subject: |
Re: Distribution-specific include paths for several versions of Octave |
Date: |
Mon, 04 Dec 2006 10:43:12 +0100 |
User-agent: |
Thunderbird 1.5.0.7 (X11/20060921) |
Thomas Weber wrote:
> Hi,
>
> I'm seeking advice regarding a packaging issue in Debian. It came up as in
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=400246
>
> We are currently setting up a symlink
> /usr/include/octave -> /usr/include/octave-2.1.73
> (or to the 2.9.9 version, depending on the installed version).
>
> The question is if this symlink should point to the octave/ sub-directory in
> this directory instead, i.e.
> /usr/include/octave -> /usr/include/octave-2.1.73/octave
>
> Thanks
> Thomas
>
>
I'd say it should be the second, as typically in oct-files the octave
files are included as
#include <octave/dNDArray.h>
The first option would mean that the you'd need to have
#include <octave/octave/dNDArray.h>
which would break a lot of existing code, especially in octave-forge, or
explicitly add "-I/usr/include/octave" to the compile options. I imagine
that is not what you want.
Cheers
David
--
David Bateman address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary