Unless I force the Fortran compiler through --with-g77, configure fails to find and use the installed g77. I would submit a patch for configure.in, but I can't quite follow the logic in configure.in. $ ./configure creating cache ./config.cache [...] checking for main in -lm... yes checking for g77... /usr/local/gnu/bin/g77 checking for fort77... (cached) /usr/local/gnu/bin/g77 checking for f77... (cached) /usr/local/gnu/bin/g77 checking for f90... (cached) /usr/local/gnu/bin/g77 checking for xlf... (cached) /usr/local/gnu/bin/g77 checking for cf77... (cached) /usr/local/gnu/bin/g77 checking for fc... (cached) /usr/local/gnu/bin/g77 checking for f2c... no configure: error: Neither an F77 compiler nor f2c found $ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel 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-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
configure bug in R-1.2.1 and earlier (PR#836)
3 messages · lhecking@nmrc.ie, Kurt Hornik, Lars Hecking
1 day later
lhecking writes:
Unless I force the Fortran compiler through --with-g77, configure fails to find and use the installed g77. I would submit a patch for configure.in, but I can't quite follow the logic in configure.in.
$ ./configure creating cache ./config.cache [...] checking for main in -lm... yes checking for g77... /usr/local/gnu/bin/g77 checking for fort77... (cached) /usr/local/gnu/bin/g77 checking for f77... (cached) /usr/local/gnu/bin/g77 checking for f90... (cached) /usr/local/gnu/bin/g77 checking for xlf... (cached) /usr/local/gnu/bin/g77 checking for cf77... (cached) /usr/local/gnu/bin/g77 checking for fc... (cached) /usr/local/gnu/bin/g77 checking for f2c... no configure: error: Neither an F77 compiler nor f2c found $
It might have been helpful to use bug.report() ...
Which platform is this?
Apparently /usr/local/gnu/bin/g77 is the GNU C compiler?
What happens if you do
F77=/usr/local/gnu/bin/g77
file ${F77} | grep script
???
-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
It might have been helpful to use bug.report() ...
I'm not a user of R, I just install the stuff :)
Which platform is this?
Solaris 7 SPARC.
Apparently /usr/local/gnu/bin/g77 is the GNU C compiler?
What happens if you do
F77=/usr/local/gnu/bin/g77
file ${F77} | grep script
$ file /usr/local/gnu/bin/g77 /usr/local/gnu/bin/g77: executable shell script $ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel 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-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._