I tried setting CFLAGS="-g -O" in config.site and got the same errors from running ``make check''. Then I tried setting CC=cc in config.site, and the damned thing failed again (but differently). Now at least ``!is.nan(var(1))'' is TRUE, as it should be. The problem comes from lapack. At the end of .../test/Examples/base-Ex.Rout.fail we find: > loc <- cmdscale(eurodist) Error in La.eigen(-x/2, symmetric = TRUE) : lapack routines cannot be loaded Execution halted Which I guess I should've expected --- it couldn't be so simple as to change compilers from gcc to cc, could it? Have I done something naive in making the change to config.site? Should I have made some other changes as well? In particular I left the Fortran compiler as g77, rather than changing it to f77 --- is this the wrong thing to do? I notice that in config.log I get a lot of sequences of warning messages the form /dev/null:0: malformed option `-A system=unix' /dev/null:0: malformed option `-A system=svr4' *Initialization*:1: warning: `__SIZE_TYPE__' redefined *Initialization*:1: warning: `__PTRDIFF_TYPE__' redefined *Initialization*:1: warning: `__WCHAR_TYPE__' redefined /dev/null:0: malformed option `-A cpu=sparc' /dev/null:0: malformed option `-A machine=sparc' This does not encourage me, but I haven't a clue what's going on. Why in hell won't our system build R??? I'm going nuts over this. cheers (but not very cheerfully), Rolf Turner rolf at math.unb.ca -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Martin Maechler <maechler at stat.math.ethz.ch> wrote:> Hi Rolf, > > I'm sorry to hear about your griefs. > > Note however, that in the last message you didn't even mention which > version of Unix you are talking about -- and you can't expect > R-help readers to remember what you said last time this topic > was brought up...Arrrrgggghhh. Sorry --- I was feeling so frazzled and frustrated I completely forgot about providing version details. Here they are: ===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+==platform sparc-sun-solaris2.7 arch sparc os solaris2.7 system sparc, solaris2.7 status major 1 minor 5.1 year 2002 month 06 day 17 language R ===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+== (If anyone has any suggestions as to what further details about our system might be relevant, please let me know --- and I'll try to find out. :-) ) cheers, Rolf Turner rolf at math.unb.ca -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Rolf, Let me repeat: With gcc 3.1/2 on Solaris you need to compile arithmetic.c without optimization. -O asks for optimization. What I suggest you do is make clean rm config.log set config.site for gcc make cd src/main rm arithmetic.o make and then repeat (copy-and-paste) the compilation of arithmetic.o *omitting -O2*. make That should do it. Brian On Thu, 5 Sep 2002, Rolf Turner wrote:> > I tried setting CFLAGS="-g -O" in config.site and got the same errors > from running ``make check''. Then I tried setting CC=cc in > config.site, and the damned thing failed again (but differently). > Now at least ``!is.nan(var(1))'' is TRUE, as it should be. The > problem comes from lapack. At the end of > > .../test/Examples/base-Ex.Rout.fail > > we find: > > > loc <- cmdscale(eurodist) > Error in La.eigen(-x/2, symmetric = TRUE) : > lapack routines cannot be loaded > Execution halted > > Which I guess I should've expected --- it couldn't be so simple as to > change compilers from gcc to cc, could it? Have I done something > naive in making the change to config.site? Should I have made some > other changes as well? In particular I left the Fortran compiler as > g77, rather than changing it to f77 --- is this the wrong thing to > do? > > I notice that in config.log I get a lot of sequences of warning > messages the form > > /dev/null:0: malformed option `-A system=unix' > /dev/null:0: malformed option `-A system=svr4' > *Initialization*:1: warning: `__SIZE_TYPE__' redefined > *Initialization*:1: warning: `__PTRDIFF_TYPE__' redefined > *Initialization*:1: warning: `__WCHAR_TYPE__' redefined > /dev/null:0: malformed option `-A cpu=sparc' > /dev/null:0: malformed option `-A machine=sparc' > > This does not encourage me, but I haven't a clue what's going on. > > Why in hell won't our system build R??? I'm going nuts over this. > > cheers (but not very cheerfully), > > Rolf Turner > rolf at math.unb.ca > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._