I get an error trying to make R 0.62.1 on Linux (2.0.30 kernel upgraged from RH 4.1). I think I saw this mentioned before but haven't been able find it. Does anyone know the fix? Paul Gilbert _____ cd src; make R make[2]: Entering directory `/hda9/apps2/R-0.62.1/src' Extracting foreign function symbols cd graphics; make make[3]: Entering directory `/hda9/apps2/R-0.62.1/src/graphics' gcc -g -O2 -I ../include -c graphics.c In file included from ../include/Defn.h:29, from graphics.c:27: ../include/Arith.h:29: parse error before `!' make[3]: *** [graphics.o] Error 1 make[3]: Leaving directory `/hda9/apps2/R-0.62.1/src/graphics' make[2]: *** [build] Error 2 make[2]: Leaving directory `/hda9/apps2/R-0.62.1/src' make[1]: *** [R] Error 2 make[1]: Leaving directory `/hda9/apps2/R-0.62.1' make: *** [all] Error 2 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Paul Gilbert <PaulGilbert at Ottawa.com> writes:> > I get an error trying to make R 0.62.1 on Linux (2.0.30 kernel upgraged > from RH 4.1). I think I saw this mentioned before but haven't been able > find it. Does anyone know the fix? >..> ../include/Arith.h:29: parse error before `!'.. That's inside this construction: #ifndef HAVE_FINITE int finite(double); #endif If HAVE_FINITE is defined incorrectly, you get the finite() macro expanded at that point and... So: Are you doing this on clean sources? Something may be lingering in config.cache from another build. Try "make distclean ; make". Otherwise configure is somehow getting confused and some hand-fiddling/debugging of the results is needed. RH 4.2 is known to work. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._