[R] fortran compile problem with R-1.1.0
Torsten.Hothorn at rzmail.uni-erlangen.de
Fri Jun 23 12:53:53 CEST 2000
> > I had a similar problem with SuSE 6.4:
> > having f2c installed (R versions < 1.1.0 configured well using this
> > installation),
> > $> ./configure
> > did not find f2c whereas
> > $> ./configure --with-f2c
> > worked fine and make test succeeded.
> Hmm, where is the problem?
> Configure does the following (from config.site):
> # The command which runs the the FORTRAN compiler.
> # If unspecified, a search is made for g77, fort77, f77, f90, xlf, cf77,
> # and fc (in that order). If none of these is found, f2c is used if
> # found; otherwise, R cannot be compiled. The search mechanism can be
> # changed using the `--with-g77', `--with-f77', and `--with-f2c' command
> # line options to configure.
> # FC=
> So if `f2c is not found' I would assume that a Fortran compiler was
> found, no?
no, there is no fortran compiler installed, but f2c. ./configure without
any options stops with
checking for g77... no
checking for fort77... no
checking for f77... no
checking for f90... no
checking for xlf... no
checking for cf77... no
checking for fc... no
checking for f2c... no
configure: error: Neither an F77 compiler nor f2c found
but ./configure --with-f2c does the job. Maybe ./configure and
/configure --with-f2c search for f2c in a different way?
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
More information about the R-help