Re: Difficulty with installation
Steven G. Johnson <stevenj <at> gil-galad.mit.edu>
2000-11-30 16:41:50 GMT
On Tue, 28 Nov 2000, Christopher McKinney wrote:
> I am trying to install the MPB package. I have (I believe) installed all
> the necessary libraries - BLAS, LAPACK, etc.). However, when I run
> ./configure to begin the final installation step, several of the libraries
> are not regonized. Because of this, running "make" doesn't work either (the
> process crashes because several variables are reference but undefined when
> "blasglue.o" in src/matrices/matrices.a tries to run (they all begin with
> the letter z if that has any relevance).
Hi Christopher,
I suspect that it's getting confused because you are using the GNU C
compiler (gcc) with the Sun Fortran compiler (f77), and the configure
script may not be able to figure out how to link gcc-compiled C code with
f77-compiled Fortran code. Try forcing it to use the Sun C compiler (cc),
by setting the CC environment variable to "cc" (then 'make distclean' and
re-configure and re-make).
(In general, if you want to know why a particular configure test fails,
you can look at the config.log file.)
Steven
PS. It's my fault that it uses f77 with gcc. I set up the configure
script to prefer the vendor Fortran compiler, since it was probably used
to compile BLAS/LAPACK/etcetera, but I probably should have made it prefer
the vendor cc as well.
PPS. I will be in Australia for the next week, so I probably won't be
responding to email.