help-octave
[Top][All Lists]
Advanced

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

Re: octave compiling problem


From: John W. Eaton
Subject: Re: octave compiling problem
Date: Tue, 16 Feb 2010 22:48:20 -0500

On 16-Feb-2010, Mag Gam wrote:

| Thanks for the quick response John.
| 
| ./configure --prefix=/apps/octave-3.2.4 F77=gfortran
| CPPFLAGS=-I/apps/hdf5-1.8.3/include LDFLAGS=-I/apps/hdf5-1.8.3/lib
| 
| This does not work.
| 
| 
| In my config.log
| 
| ...
| configure:8107: $? = 0
| configure:8107: result: yes
| configure:8107: checking for zlib.h
| configure:8107: result: yes
| configure:8151: checking for H5Pcreate in -lhdf5
| configure:8176: gcc -o conftest -g -O2 -I/apps/hdf5-1.8.3/include
| -I/apps/hdf5-1.8.3/lib conftest.c -lhdf5  -lz -lm  >&5
| /usr/bin/ld: cannot find -lhdf5
| collect2: ld returned 1 exit status
| configure:8176: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME ""
| | #define PACKAGE_TARNAME ""
| | #define PACKAGE_VERSION ""
| ...
| 
| 
| Any ideas?
| 
| I spend several hours to figure this out.

Sorry, I mistyped the LDFLAGS.  It should be LDFLAGS=-L/apps...

jwe


reply via email to

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