[R] fortran compile problem with R-1.1.0

Kurt Hornik hornik at ci.tuwien.ac.at
Fri Jun 23 11:17:00 CEST 2000

>>>>> Torsten Hothorn writes:

>> I've had a compile problem with the latest version which has not
>> occurred before.  I'm compiling under:
>> platform sparc-sun-solaris2.6
>> arch     sparc               
>> os       solaris2.6          
>> system   sparc, solaris2.6   
>> and have used f77 without problems in the past.  Now --with-f77 gives a
>> compile error, --with-g77 gives a different error, but --with-f2c does
>> work.

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


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 mailing list