[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hdf does not found...
From: |
John W. Eaton |
Subject: |
Re: hdf does not found... |
Date: |
Mon, 12 Nov 2007 21:38:38 -0500 |
On 12-Nov-2007, novakyu wrote:
| On Nov 12, 2007 12:39 PM, John Sanabria <address@hidden> wrote:
| > Hi,
| >
| > I'm trying to compile octave with support for hdf5 format.
| > I had installed the hdf5 libraries and headers in /home/jas/numeric/lib
| > and /home/jas/numeric/include, respectively.
| >
| > However, when I "configure" the octave source code as follow:
| >
| > ./configure --prefix=/home/jas/numeric
| > CPPFLAGS=-I/home/jas/numeric/include LDFLAGS=-L/home/jas/numeric/lib
|
| At the risk of sounding dumb, have you tried:
|
| CPPFLAGS=-I/home/jas/numeric/include LDFLAGS=-L/home/jas/numeric/lib
| ./configure --prefix=/home/jas/numeric
|
| (i.e. prepend the declaration for environmental variables)?
|
| If you are using a Bourne-style shell, above should set CPPFLAGS and
| LDFLAGS correctly---I don't know enough about Octave's configure
| script to know what it'll do when you try to pass variables like
| CPPFLAGS and LDFLAGS as a parameter to the configure script, though.
I don't think there is any difference with modern autoconf-generated
configure scripts.
With somewhat older versions of autoconf, I think that variables
specified on the configure command line were preserved in
config.status, but random variables in the environment were not.
jwe