[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Configuring Octave
From: |
John W. Eaton |
Subject: |
RE: Configuring Octave |
Date: |
Tue, 22 Jul 2008 12:30:18 -0400 |
On 22-Jul-2008, Labitt, Bruce wrote:
| Thanks Carlo. It still dies on me.
|
| In config.log it now says:
|
| /usr/bin/ld: skipping incompatible /usr/lib/libpcre.so when searching
| for -lpcre
| /usr/bin/ld: skipping incompatible /usr/lib/libpcre.a when searching for
| -lpcre
| /usr/bin/ld: cannot find -lpcre
|
| ??? I thought LIBS="-L/lib64/ -lpcre" pointed the system to look in
| /lib64 ???
You should put -L flags in LDFLAGS, like this:
configure LDFLAGS=-L/lib64
| > ./configure --with-f77=gfortran --with-blas=/usr/lib64/libblas.so
| > --with-lapack=/usr/lib64/liblapack.so --enable-shared --enable-64
| > LIBS="-l/lib64/libpcre.so"
It is probably also better to use
configure ... F77=gfortran
and add -L/usr/lib64 to LDFLAGS, then omit the --with-blas and
--with-lapack options.
The --enable-shared option is the default, so you don't need to
specify it.
You do realize that --enable-64 is experimental, right? If you are
using this option, you must ensure that all Fortran bits (lapack,
blas, etc.) have been compiled to use 8-byte integers, so you will
likely need to use the -fdefault-integer-8 option for gfortran.
So, all together, the configure command would look something like
this (split across lines for easier reading):
configure --enable-64 LDFLAGS="-L/lib64 -L/usr/lib64"
F77=gfortran FFLAGS="-fdefault-integer-8 -O2"
jwe