help-octave
[Top][All Lists]
Advanced

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

Helping Octave find libraries during configure


From: J. Vervoorst
Subject: Helping Octave find libraries during configure
Date: Mon, 8 Jan 2007 23:45:03 +0100

Hi,

unfortunately I still have a problem configuring Octave 2.9.9. It is unable to find several libraries during configure. Even if I explicitly tell Octave where the libraries are located, it still only finds some of them, ignoring others. What could be the problem, how do I solve this? I truly appreciate any help on this, I simply want to finish my installation of Octave! Thank you very much! Jan

 

To give you an insight, I tried to configure Octave with the following line:

 

linux-jv2:/home/jave-mtr/Downloads/octave/octave-2.9.9 # ./configure F77=gfortran --enable-shared --enable-dl --disable-static --with-blas=$HOME/../home/jave-mtr/Downloads/blas/GotoBLAS/libgoto.a

 

The output of that is the following:

...

Lots of configure output here

... 

configure: WARNING: I didn't find gperf, but it's only a problem if you need to reconstruct oct-gperf.h

configure: WARNING: UMFPACK not found.  This will result in some lack of functionality for sparse matrices.

configure: WARNING: COLAMD not found. This will result in some lack of functionality for sparse matrices.

configure: WARNING: CCOLAMD not found. This will result in some lack of functionality for sparse matrices.

configure: WARNING: CHOLMOD not found. This will result in some lack of functionality for sparse matrices.

configure: WARNING: CXSparse not found. This will result in some lack of functionality for sparse matrices.

configure: WARNING: HDF5 library not found.  Octave will not be able to save or load HDF5 data files.

configure: WARNING: I didn't find texi2pdf, but it's only a problem if you need to reconstruct the PDF version of the manual

 

 

 

Then I tried to configure as was suggested by Alexander Barth:

 

linux-jv2:/home/jave-mtr/Downloads/octave/octave-2.9.9 # ./configure F77=gfortran CPPFLAGS="-I$HOME/../home/jave-mtr/Downloads/SuiteSparse/SuiteSparse/UFconfig -I$HOME/../home/jave-mtr/Downloads/SuiteSparse/SuiteSparse/UMFPACK/Include -I$HOME/../home/jave-mtr/Downloads/SuiteSparse/SuiteSparse/CHOLMOD/Include -I$HOME/../home/jave-mtr/Downloads/SuiteSparse/SuiteSparse/COLAMD -I$HOME/../home/jave-mtr/Downloads/SuiteSparse/SuiteSparse/CCOLAMD -I$HOME/../home/jave-mtr/Downloads/SuiteSparse/SuiteSparse/CXSparse/Source " LDFLAGS="-L$HOME/../home/jave-mtr/Downloads/SuiteSparse/SuiteSparse/UMFPACK/Lib -L$HOME/../home/jave-mtr/Downloads/SuiteSparse/SuiteSparse/CHOLMOD/Lib -L$HOME/../home/jave-mtr/Downloads/SuiteSparse/SuiteSparse/COLAMD -L$HOME/../home/jave-mtr/Downloads/SuiteSparse/SuiteSparse/CCOLAMD -L$HOME/../home/jave-mtr/Downloads/SuiteSparse/SuiteSparse/CXSparse/Source" --enable-shared --enable-dl --disable-static --with-blas=$HOME/../home/jave-mtr/Downloads/blas/GotoBLAS/libgoto.a          

 

The output is the following:

...

Octave is now configured for i686-pc-linux-gnu

 

  Source directory:     .

  Installation prefix:  /usr/local

  C compiler:           gcc  -mieee-fp  -Wall -W -Wshadow -g -O2

  C++ compiler:         g++  -mieee-fp  -Wall -W -Wshadow -Wold-style-cast -g -O2

  Fortran compiler:     gfortran -O -mieee-fp

  Fortran libraries:     -L/root/../home/jave-mtr/Downloads/SuiteSparse/SuiteSparse/UMFPACK/Lib -L/root/../home/jave-mtr/Downloads/SuiteSparse/SuiteSparse/CHOLMOD/Lib -L/root/../home/jave-mtr/Downloads/SuiteSparse/SuiteSparse/COLAMD -L/root/../home/jave-mtr/Downloads/SuiteSparse/SuiteSparse/CCOLAMD -L/root/../home/jave-mtr/Downloads/SuiteSparse/SuiteSparse/CXSparse/Source -L/usr/local/lib/gcc/i686-pc-linux-gnu/4.1.0 -L/usr/local/lib/gcc/i686-pc-linux-gnu/4.1.0/../../.. -lz -lgfortranbegin -lgfortran -lm

  BLAS libraries:       /root/../home/jave-mtr/Downloads/blas/GotoBLAS/libgoto.a

  FFTW libraries:

  GLPK libraries:

  UMFPACK libraries:

  COLAMD libraries:     -lcolamd

  CCOLAMD libraries:    -lccolamd

  CHOLMOD libraries:

  CXSPARSE libraries:   -lcxsparse

  HDF5 libraries:

  LIBS:                 -lreadline  -lncurses -ldl -lz -lm

  Default pager:        less

  gnuplot:              gnuplot

 

  Do internal array bounds checking:  false

  Build static libraries:             false

  Build shared libraries:             true

  Dynamic Linking:                    true (dlopen)

  Include support for GNU readline:   true

  64-bit array dims and indexing:     false

 

configure: WARNING: I didn't find gperf, but it's only a problem if you need to reconstruct oct-gperf.h

configure: WARNING: UMFPACK not found.  This will result in some lack of functionality for sparse matrices.

configure: WARNING: CHOLMOD not found. This will result in some lack of functionality for sparse matrices.

configure: WARNING: HDF5 library not found.  Octave will not be able to save or load HDF5 data files.

configure: WARNING: I didn't find texi2pdf, but it's only a problem if you need to reconstruct the PDF version of the manual

 

 

So you see, even though I gave all the links and the libraries are surely located in those directories, Octave DOES NOT find umfpack, cholmod, hdf5, while at the same time it finds colamd, ccolamd, and cxsparse.

Why is this? What can I do to change it? Let me know if you need more info! Thanks!


reply via email to

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