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. 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> 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.You could use the Mandrake 8.1 rpm available on CRAN; if you want to recompile it from source (SRPM is also available) I suggest you use the g77 rpm's and the libblas/liblapack rpm's available on your Mandrake 8.1 installation CD's ... I didn't have any problems with those. Uninstall your g77 and as root try: urpmi gcc-g77 egcs liblapack3 that should do the trick. -- Michele Alzetta (Gran Ciambellano D.A.C.I.E.) -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._