[R] Installing R with g77 fortran compiler

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Tue Jun 11 20:42:12 CEST 2002


On Tue, 11 Jun 2002, Mohan Parigi wrote:

> Hello,
>
> I am trying to compile sources of R-1.5.0 on a Mandrake 8.1 linux box.
> For Fortran compiler needs, I downloaded and installed a g77 rpm. But
> the configure step fails with following output. I would like to know if
> any of you had similar problem and how you solved.

I've seen this occasionally.  Try setting FPICFLAGS=-fPIC in config.site.

>
> Thanks in advance.
> Mohan
> ------------------- configure output ------
> checking for g77... g77
> checking whether we are using the GNU Fortran 77 compiler... no
> checking whether g77 accepts -g... yes
> ....
> [ skip ]
> ...
> checking how to get verbose linking output from g77... -v
> checking for Fortran 77 libraries...  -L/usr/local/lib
> -L/usr/lib/gcc-lib/i686-redhat-linux/3.0.4
> -L/usr/lib/gcc-lib/i686-redhat-linux/3.0.4/../../.. -ldl -lncurses -lg2c
> -lm
> checking for dummy main to link with Fortran 77 libraries... none
> checking for Fortran 77 name-mangling scheme... lower case, underscore,
> extra underscore
> checking whether g77 and gcc agree on int and double... yes
> checking whether g77 and gcc agree on double complex... yes
> checking whether g77 supports -c -o FILE.lo... yes
> checking whether g++ accepts -M for generating dependencies... yes
> checking whether g++ supports -c -o FILE.lo... yes
> checking whether gcc accepts -mieee-fp... yes
> checking whether g++ accepts -mieee-fp... yes
> checking for xmkmf... /usr/X11R6/bin/xmkmf
> configure: WARNING: I could not determine FPICFLAGS.
> configure: error: See the file INSTALL for more information.
> ------------------------------------------------------------
> Mohan Parigi
> Director of Information Technology
> Johns Hopkins University Pulmonary and Critical Care Medicine
> 5501 Hopkins Bayview Circle, 5B.76 Baltimore MD 21224
> Voice: 410-550-4588   Fax: 410-550-2612
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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