Skip to content

R-1.1.0 - f2c in configure

3 messages · Jim Lemon, Torsten Hothorn, Peter Dalgaard

#
When trying to build R-1.1.0, the configure script reported no Fortran
compiler, even though '/usr/bin/f2c' was present, and R-1.0.1 had found
and successfully used this.  I traced this to an apparent typo in line
2067 of configure:

  for name in g77 fort77 f77 f90 xlf cf77 fc; do

changing this to:

  for name in g77 fort77 f77 f90 xlf cf77 f2c; do

allowed the script to 'find' f2c.  However, it then reported that f2c
didn't work (although it had worked with R-1.0.1).

checking whether the Fortran 77 compiler (f2c  ) works... no

At this point, I created a small Fortran program and messed around with
the testing section but could not solve the problem.  Any expert clues?

Jim
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
We discussed this thing with Kurt privately, Kurt fixed it 2 days ago. As
a workaround, use

./configure --with-f2c

which works for me (SuSE 6.4, R-1.1.0)

Torsten
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Torsten Hothorn <Torsten.Hothorn at rzmail.uni-erlangen.de> writes:
Fine. Just let me add that "fc" is not a typo. The Fortran compiler
really is called by that name on some systems. f2c is not a Fortran
compiler (it outputs C code, not .o files) so detecting it as one is
not going to work.