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. I know I probably should upgrade my gcc, and I have 2.95 sitting around somewhere but I also know things won't fit on one of my machines and I like keeping everything the same. Is this 'can't find the header' problem a bug or a feature to drive me to upgrade my compiler? Seriously, either I have something set incorrectly on my computer, or the Makefile isn't being generated correctly by configure. Or something else. Some words of wisdom would be highly appreciated at this point.... Jonathan Jonathan Yuen, Professor in Plant Pathology phone: 46 18 672369 Dept. of Ecology and Crop Production Sciences fax: 46 18 672890 Swedish University of Agricultural Sciences http://www.tvs.slu.se Box 7043 email replies to S 750 07 Uppsala, SWEDEN Jonathan.Yuen at evp.slu.se -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hello All, Many thanks for the latest version of R, and Prof. Brian Ripley for helping to get it to compile. It appears I had moved f2c.h when I installed glibc. Moving it back cured the problem. An extra word of thanks should be given to the R team for developing this marvelous piece of software. Jonathan Jonathan Yuen, Professor in Plant Pathology phone: 46 18 672369 Dept. of Ecology and Crop Production Sciences fax: 46 18 672890 Swedish University of Agricultural Sciences http://www.tvs.slu.se Box 7043 email replies to S 750 07 Uppsala, SWEDEN Jonathan.Yuen at evp.slu.se -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._