[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Passing build options to pkg
From: |
David Bateman |
Subject: |
Re: Passing build options to pkg |
Date: |
Mon, 27 Aug 2007 10:18:37 +0200 |
User-agent: |
Thunderbird 1.5.0.7 (X11/20060921) |
LUK ShunTim wrote:
> Hello,
>
> I tried to install the geometry package from octave-forge and this is
> the error I encountered.
>
> <error>
> octave:1> pkg install geometry-1.0.2.tar.gz
> In file included from /usr/include/hdf5.h:23,
> from /usr/include/octave-2.9.13/octave/ov.h:34,
> from /usr/include/octave-2.9.13/octave/oct-obj.h:33,
> from /usr/include/octave-2.9.13/octave/ov-fcn.h:33,
> from /usr/include/octave-2.9.13/octave/ov-builtin.h:29,
> from /usr/include/octave-2.9.13/octave/defun-int.h:29,
> from /usr/include/octave-2.9.13/octave/defun-dld.h:31,
> from /usr/include/octave-2.9.13/octave/oct.h:36,
> from tsearch.cc:22:
> /usr/include/H5public.h:53:20: error: mpi.h: No such file or directory
> /usr/include/H5public.h:55:21: error: mpio.h: No such file or directory
> ...
> </error>
>
> It seems to be a header location problem. In my version of octave2.9
> from debian/sid, hdf support is provided by lam and the mpi headers live
> in /usr/include/lam instead of the usual /usr/include.
>
> So how to pass build options to pkg, to solve such non-standard
> header/library location problems?
>
>
>
There is no facility to do this as if the files are used in Octave
itself then mkoctfile itself should force the include path to be correct
to pick up these files..
D.
--
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