Re: MPB Install error linking to Fortran libraries from C fails

Patrick Vora <[email protected]> Tue, 27 Nov 2012 14:33:30 -0500
Newsgroups gmane.comp.science.photonic-bands
Message-ID <CAMB94d0tuGY=xZ-58hmgO2J642fDOjGvK8LZxeo05DXB8FThwg@mail.gmail.com>
Hi all,

I neglected to provide the full config.log file. I put it up on pastebin:
http://pastebin.com/npBRLfee

Thanks again,

Patrick



On Tue, Nov 27, 2012 at 1:22 PM, Patrick Vora <[email protected]>wrote:

> Hi all,
>
> I'm having an odd issue while trying to install MPB. Just as note, I have
> successfully installed and run Meep, and am a unix novice.
>
> When I try to compile, I get this odd error:* **configure: error: linking
> to Fortran libraries from C fails. *The full output is quoted below. I
> saw that this behavior was previously traced to an error in the "configure"
> file (http://lists.debian.org/debian-superh/2009/12/msg00014.html), found
> the patch on debian, and applied it. There were 11 other patches which I
> also applied to their respective files. Alas, still get the same failed
> compile and output.
>
> I'm a little confused that I was able to install Meep without seeing this
> problem. As I mentioned previously, I'm a novice at unix and would
> appreciate any help you could offer.
>
> ./configure
>  --with-libctl=/Users/Patrick/Documents/Meep/install/share/libctl
> --prefix=/Users/Patrick/Documents/MPB/install F77=gfortran-mp-4.5
> checking for vendor f77 to be used instead of g77...
> checking for f77... gfortran-mp-4.5
> checking for Fortran 77 compiler default output... a.out
> checking whether the Fortran 77 compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU Fortran 77 compiler... yes
> checking whether gfortran-mp-4.5 accepts -g... yes
> checking for vendor cc to be used instead of gcc...
> checking for cc... cc
> checking whether we are using the GNU C compiler... yes
> checking whether cc accepts -g... yes
> checking for cc option to accept ANSI C... none needed
> checking for ranlib... ranlib
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether make sets $(MAKE)... yes
> checking for sqrt in -lm... yes
> checking how to get verbose linking output from gfortran-mp-4.5... rm:
> conftest.dSYM: is a directory
> -v
> checking for Fortran 77 libraries... rm: conftest.dSYM: is a directory
>  -lcrt1.10.5.o -L/opt/local/lib/gcc45/gcc/x86_64-apple-darwin10/4.5.4
> -L/opt/local/lib/gcc45/gcc/x86_64-apple-darwin10/4.5.4/../../.. -lm
> -lgfortran -lgcc_s.10.5 -lgcc_ext.10.5 -lSystem
> checking for dummy main to link with Fortran 77 libraries... rm:
> conftest.dSYM: is a directory
> unknown
> *configure: error: linking to Fortran libraries from C fails*
> See `config.log' for more details.
>
>
> Patrick
>
>

_______________________________________________
mpb-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss