From: Jonathan.Yuen at evp.slu.se Date: Mon, 6 Mar 2000 14:09:51 +0100 (MET) Hello, I decided to try to compile R version 1.0.0 on my home-hacked linux system. This is not a conventional distribution, but has been upgraded countless numbers of times (I think it started as a 1.2.13). It's up to 2.2.13 (kernel version) and I still use gcc 2.7.2.3. I have managed to deal with the fortran part of R with f2c. As it turns out I can compile the program OK, but when it gets to the libraries, specifically ctest (the first one that has a piece of fortran in it), the program complains that it can't find f2c.h. I MAY have moved the header to the wrong place when I rearranged my libraries for glibc, but it does make it through the normal compile. I also found an f2c.h in the include/R_ext subdirectory of the source tree, in addition to my usual header source location. I saw that the one in the source tree has some R-specific comments in it, and I assume that it is the correct one to use for R.
The search paths are different for the main compile and for packages. The idea is that f2c.h is _not_ the correct one in general: it is an R legacy. So the standard search is not finding f2c.h, and the solution is to fix that. I think problems with different f2c.h only arise on machines for which long != int, but no guarantees. The one in f2c.h will suffice for simple uses.
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._