help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hdf does not found...


From: novakyu
Subject: Re: hdf does not found...
Date: Mon, 12 Nov 2007 17:40:38 -0800

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.

If you are using a C-shell, you have to do something different---it's
probably just easier to fire up bash and run that one command in bash.
:)

Regards,

Andrzej


reply via email to

[Prev in Thread] Current Thread [Next in Thread]