[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: novice can't get autotools to give me makefile that uses gfortran

From: Tim Dennis
Subject: Re: novice can't get autotools to give me makefile that uses gfortran
Date: Mon, 10 Mar 2008 20:19:36 -0500 (EST)
User-agent: SquirrelMail/1.4.5

> Hello Tim,
> Please do not top-post, thank you.

My apologies, won't happen again.

> Question: which make implementation do you use, and which versions of
> autoconf and automake (I assume 2.59, and 1.9.6, respectively)?

I'm using gnu make version 3.80. The version of autoconf is 2.59, but
evidently the automake is 1.5o1

> I don't see a reconfiguration happening with your example files.
> I do see autoheader running once with Automake 1.9.6.

perhaps this has to do with the older automake I'm using??

>> >> Second the makefile tries to compile using f77 as the compiler
>> >> command.
> The compiler search order has been changed in newer Autoconf versions,
> they try gfortran first.  Please update, or use
>   ./configure FC=gfortran

I tried this, once again I get the following upon running make (configure
didn't rerun this time):

make  all-recursive
Making all in src
f77  @FFLAGS@ -c -o hello.o `test -f 'hello.f90' || echo './'`hello.f90
/bin/sh: line 1: f77: command not found
make[2]: *** [hello.o] Error 127
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Thanks Ralf.


Timothy J. Dennis                                email:
Research Associate                              office: 477 Bausch & Lomb
Department of Physics & Astronomy    Voice: 585-275-8556
University of Rochester                           Fax: 585-273-2813
Rochester, NY 14627

reply via email to

[Prev in Thread] Current Thread [Next in Thread]