[Top][All Lists]

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

Re: Octave installation problem

From: Alexander Barth
Subject: Re: Octave installation problem
Date: Sun, 24 Dec 2006 08:51:45 -0500
User-agent: Thunderbird (X11/20060913)

John W. Eaton wrote:
> On 21-Dec-2006, Alexander Barth wrote:
> | In case it is helpful, here is my configure line of Suse 10.0 for the 
> sparse matrix libraries
> | compiled from source. Can you test if you have the rpm package of 
> zlib-devel installed?
> | 
> | rpm -q zlib-devel
> | 
> | The configure script didn't find cheev either on my system. But it wasn't a 
> "hard error" though.
> | 
> | Alex
> | 
> | 
> |  ./configure F77=gfortran CPPFLAGS="-I$HOME/Download/UFconfig 
> -I$HOME/Download/AMD/Include
> | -I$HOME/Download/UMFPACK/Include -I$HOME/Download/CHOLMOD/Include 
> -I$HOME/Download/COLAMD
> | -I$HOME/Download/CCOLAMD -I$HOME/Download/CXSparse/Source " CFLAGS=-fPIC 
> | LDFLAGS="-L$HOME/Download/AMD/Lib -L$HOME/Download/UMFPACK/Lib 
> -L$HOME/Download/CHOLMOD/Lib
> | -L$HOME/Download/COLAMD -L$HOME/Download/CCOLAMD 
> -L$HOME/Download/CXSparse/Source -lg2c -lpthread"
> | --enable-shared --enable-dl --disable-static 
> --prefix=$HOME/local64/octave-2.9.9
> | --with-blas=$HOME/Download/GotoBLAS/libgoto.a
> The default CFLAGS, CXXFLAGS, and FFLAGS include -O options teling the
> comilers to do optimization.  If you set them to -fPIC, then I think
> you are turning optimization off.  Are you sure you want that?
> Doesn't the configure script use -fPIC automatically on your system?
> I think it should.  If it doesn't, what is the output of running
> config.guess on your system?
> jwe

Indeed, the configure script automatically sets CFLAGS, CXXFLAGS, and FFLAGS to 
include the options
-fPIC. The option is necessary on my system (x86_64-unknown-linux-gnu, Suse 
10.0) and some configure
scripts don't test if this option is necessary. But the configure script of 
octave detects correctly
this option. And I wasn't aware that the optimization is disabled by setting 
explicitly *FLAGS!

John, thanks for pointing this out!

Jan, finally the configure line is:
 ./configure F77=gfortran CPPFLAGS="-I$HOME/Download/UFconfig 
-I$HOME/Download/UMFPACK/Include -I$HOME/Download/CHOLMOD/Include 
-I$HOME/Download/CCOLAMD -I$HOME/Download/CXSparse/Source "  
-L$HOME/Download/UMFPACK/Lib -L$HOME/Download/CHOLMOD/Lib 
-L$HOME/Download/CCOLAMD -L$HOME/Download/CXSparse/Source -lg2c -lpthread" 
--enable-dl --disable-static --prefix=$HOME/local64/octave-2.9.9

If you still have problems to install octave, can you send us the file 
config.log and the error
messages you are seeing?




  Alexander Barth

  Ocean Circulation Group
  University of South Florida
  College of Marine Science
  140 Seventh Avenue South
  St. Petersburg, Florida  33701

  Phone: +1-727-553-3508     FAX:   +1-727-553-1189


reply via email to

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