help-octave
[Top][All Lists]
Advanced

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

Re: can't find qhull and HDF5 libs on octave 3.0 installing


From: guez offtsing
Subject: Re: can't find qhull and HDF5 libs on octave 3.0 installing
Date: Tue, 25 Mar 2008 07:23:00 +0800

Thank you for your quick reply. I dive into the config.log and qhull is
solved, while hdf5 not.
HDF5-1.8.0 is recompiled with mpicc a second time. A lot of "undefined
reference" appear when approach to "fortranlib". It has taken me several
days seeking the solution. But I don't find any either from Google or
from HDF team.
It is a far question from octave although. I will be more appreciative
if you can give me further advices on hdf5 compiling.
------------------------------
------------------------------
My configure option:
CC=/opt/mpich/ch-p4/bin/mpicc ./configure --prefix=/usr/local/hdf5
--enable-fortran

AND the error output:
: undefined reference to `MPI_Type_commit'
../../src/.libs/libhdf5.a(H5Smpio.o)(.text+0x1d22): In function
`H5S_obtain_datatype':
: undefined reference to `MPI_Type_free'
../../src/.libs/libhdf5.a(H5Smpio.o)(.text+0x1d92): In function
`H5S_obtain_datatype':
: undefined reference to `MPI_Type_struct'
../../src/.libs/libhdf5.a(H5Smpio.o)(.text+0x1de2): In function
`H5S_obtain_datatype':
: undefined reference to `MPI_Error_string'
../../src/.libs/libhdf5.a(H5Smpio.o)(.text+0x1f92): In function
`H5S_obtain_datatype':
: undefined reference to `MPI_Error_string'
../../src/.libs/libhdf5.a(H5Smpio.o)(.text+0x2092): In function
`H5S_obtain_datatype':
: undefined reference to `MPI_Error_string'
../../src/.libs/libhdf5.a(H5Smpio.o)(.text+0x2192): In function
`H5S_obtain_datatype':
: undefined reference to `MPI_Error_string'
../../src/.libs/libhdf5.a(H5Smpio.o)(.text+0x2292): In function
`H5S_obtain_datatype':
: undefined reference to `MPI_Error_string'
../../src/.libs/libhdf5.a(H5Smpio.o)(.text+0x2392): more undefined
references to `MPI_Error_string' follow
../../src/.libs/libhdf5.a(H5Smpio.o)(.text+0x2522): In function
`H5S_obtain_datatype':
: undefined reference to `MPI_Type_free'
../../src/.libs/libhdf5.a(H5Dcontig.o)(.text+0x922): In function
`H5D_contig_fill':
: undefined reference to `MPI_Barrier'
../../src/.libs/libhdf5.a(H5Dcontig.o)(.text+0x972): In function
`H5D_contig_fill':
: undefined reference to `MPI_Error_string'
make[2]: *** [fortranlib_test] Error 1
make[2]: Leaving directory `/home/linux/hdf5-1.8.0/fortran/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/linux/hdf5-1.8.0/fortran'
make: *** [all-recursive] Error 1
---------------------------
---------------------------

Regards
在 2008-03-22六的 06:39 +0900,Tatsuro MATSUOKA写道: 
> Hello
> 
> Please also check the config.log.
> 
> The configure script of octave does not only check the existence but also 
> check test code to be
> complied correctly.  The detailed results do not appear on the screen.  
> 
> Please open  config.log by an editor and seach the corresponding part by the 
> keywords qhull and hdf5.
> 
> Regards
> 
> Tatsuro
> 
> 
> --- guez offtsing <address@hidden> wrote:
> 
> > hellow, I try to build octave3 from source on Suse Enterprise Server 9.
> > But octave
> > cannot find the qhull lib, so does HDF5.
> > 
> > linux:~/octave-3.0.0 # uname -a
> > Linux linux 2.6.5-7.191-sn2 #1 SMP Tue Jun 28 14:58:56 UTC 2005 ia64
> > ia64 ia64 GNU/Linux
> > 
> > linux:~/octave-3.0.0 #./configure CPPFLAGS=-I/usr/local/include
> > LDFLAGS=-L/usr/local/lib |grep -E "qhull|hdf5"
> > -------------------------
> > checking qhull/qhull_a.h usability... no
> > checking qhull/qhull_a.h presence... no
> > checking for qhull/qhull_a.h... no
> > configure: WARNING: Qhull library not found --- This will result in loss
> > of functionality of some geometry functions.
> > checking for H5Pcreate in -lhdf5... no
> > configure: WARNING: HDF5 library not found.  Octave will not be able to
> > save or load HDF5 data files.
> > --------------------------
> > libqhull.a is compiled and put in /usr/local/lib
> > header files put in dir /usr/local/include/qhull
> > 
> > HDF5 v1.8.0 installed in /usr/local/hdf5, but I copy the .a files and 
> > .h files to /usr/local/lib & include, too.
> > 
> > Why octave cannot find them? Btw, Sparse suite put in the same paths
> > don't have any problems.
> > 
> > 
> > _______________________________________________
> > Help-octave mailing list
> > address@hidden
> > https://www.cae.wisc.edu/mailman/listinfo/help-octave
> > 
> 
> 
> --------------------------------------
> Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
> http://pr.mail.yahoo.co.jp/toolbar/
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave




reply via email to

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