Re: [R] fortran compile problem with R-1.1.0

About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [R] fortran compile problem with R-1.1.0
From: Torsten Hothorn (Torsten.Hothorn@rzmail.uni-erlangen.de)
Date: Fri 23 Jun 2000 - 20:53:53 EST


Message-Id: <Pine.LNX.4.21.0006231248370.8972-100000@artemis.imbe.med.uni-erlangen.de>

>
> > 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?

Torsten

>
> -k
>

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Mon 17 Jul 2000 - 12:33:24 EST