[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Passing build options to pkg
From: |
LUK ShunTim |
Subject: |
Passing build options to pkg |
Date: |
Mon, 27 Aug 2007 14:43:08 +0800 |
User-agent: |
Mozilla-Thunderbird 2.0.0.4 (X11/20070621) |
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?
Regards,
ST
--
- Passing build options to pkg,
LUK ShunTim <=