Hello,

I'm trying to install mpb on a Mac running OS X 10.4.  I've got all
the libraries and things working and seemingly working, however, when
I try to ./configure, I get:

checking for Fortran 77 libraries...  -lcrt1.o -lcrt2.o
-L/sw/lib/gcc/powerpc-apple-darwin8.6.0/3.4.3
-L/sw/lib/gcc/powerpc-apple-darwin8.6.0/3.4.3/../../.. -lm -lfrtbegin
-lg2c -lSystemStubs -lSystem -lmx
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc.a
checking for dummy main to link with Fortran 77 libraries... unknown
configure: error: linking to Fortran libraries from C fails

I've searched through the mailing list, and it seems to suggest that
you use the same fortran version as the C version.  However, I'm using
all the tools I can get from fink and I was hoping that someone could
point me to a way to make this work without recompiling g77.  (I've
got blas, lapack, and fftw manually compiled, everything else comes
from fink.)

The versions fink gives me are
g77 3.4.3
gcc 4.0
gcc 3.3

I've tried both compilers.  fink also implies I could acquire gcc2.9.5
and gcc 3.1 via xcode somehow, but isn't clear, and I already have the
developer tools installed, and they come with gcc4.0.

By the way, while the search interface to the mailing list found me
people with the same problem, it was very hard to find a "view follow
up messages" link anywhere, and I wound up going back in the archives
by date.

Is there anyway to convince gcc to compile happily with g77 despite
differing version numbers?

Thank you,
--Jethro

_______________________________________________
mpb-discuss mailing list
mpb-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss

Reply via email to