|
From: | shraddha |
Subject: | Regarding OCTAVE installation with GNU |
Date: | Tue, 22 Mar 2011 15:17:38 +0530 |
Dear Sir/Madam, I have tried to install octave-3.4.0 with gnu compilers. octave-3.4.0]$ time ./configure
--prefix=/home/kmathur/OCTAVE/gnu/octave-3.4.0
--with-z-includedir=/home/kmathur/WRF/WRF_Dep/ZLIB/gnu/zlib-1.2.3
--with-z-libdir=/home/kmathur/WRF/WRF_Dep/ZLIB/gnu/zlib-1.2.3
--with-hdf5-includedir=/share/apps/LIBS/gnu/HDF5/serial/hdf5-184/include
--with-hdf5-libdir=/share/apps/LIBS/gnu/HDF5/serial/hdf5-184/lib
--with-fftw3-includedir=/home/kmathur/FFTW/gnu/serial/fftw-3.2.2/include
--with-fftw3-libdir=/home/kmathur/FFTW/gnu/serial/fftw-3.2.2/lib
--with-glpk-includedir=/home/kmathur/OCTAVE/GLPK/gnu/glpk-4.45/include
--with-glpk-libdir=/home/kmathur/OCTAVE/GLPK/gnu/glpk-4.45/src --with-blas=/home/kmathur/BLAS/gnu/BLAS/libblas.a
--with-lapack=/home/kmathur/LAPACK/gnu/lapack-3.2.1/liblapack.a
--with-qrupdate-includedir=/home/kmathur/OCTAVE/QR-update/gnu/qrupdate-1.1.1
--with-qrupdate-libdir=/home/kmathur/OCTAVE/QR-update/gnu/qrupdate-1.1.1 CC=gcc
CXX=g++ F77=gfortran MAKE Error: /usr/bin/ld:
/home/kmathur/LAPACK/gnu/lapack-3.2.1/liblapack.a(sgbtrf.o): relocation
R_X86_64_32 against `a local symbol' can not be used when making a shared
object; recompile with -fPIC /home/kmathur/LAPACK/gnu/lapack-3.2.1/liblapack.a: could not
read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [libcruft.la] Error 1 make[2]: Leaving directory
`/home/kmathur/OCTAVE/gnu/Infiniband/gnu-412/octave-3.4.0/libcruft' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
`/home/kmathur/OCTAVE/gnu/Infiniband/gnu-412/octave-3.4.0' make: *** [all] Error 2 I have also compiled BLAS and LAPACK with –fPIC option
and tried to compile octave with them. Stil getting the same error. Can you please help me regarding this issue. Shraddha Desai -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. |
[Prev in Thread] | Current Thread | [Next in Thread] |