Hello, I tried to compile R-1.6.2 from source on Solaris 2.8. There is no problem with configure and make. However, `make test' fails with error message: helpdesk at stat007:~/trial/R-1.6.2 % make check make[1]: Entering directory `/home/helpdesk/trial/R-1.6.2/tests' make[2]: Entering directory `/home/helpdesk/trial/R-1.6.2/tests' make[3]: Entering directory `/home/helpdesk/trial/R-1.6.2/tests/Examples' make[4]: Entering directory `/home/helpdesk/trial/R-1.6.2/tests/Examples' make[4]: Leaving directory `/home/helpdesk/trial/R-1.6.2/tests/Examples' make[4]: Entering directory `/home/helpdesk/trial/R-1.6.2/tests/Examples' collecting examples for package 'base' ... make[5]: Entering directory `/home/helpdesk/trial/R-1.6.2/src/library' >>> Building/Updating help pages for package 'base' Formats: text example make[5]: Leaving directory `/home/helpdesk/trial/R-1.6.2/src/library' running code in 'base-Ex.R' ...make[4]: *** [base-Ex.Rout] Error 1 make[4]: Leaving directory `/home/helpdesk/trial/R-1.6.2/tests/Examples' make[3]: *** [test-Examples-Base] Error 2 make[3]: Leaving directory `/home/helpdesk/trial/R-1.6.2/tests/Examples' make[2]: *** [test-Examples] Error 2 make[2]: Leaving directory `/home/helpdesk/trial/R-1.6.2/tests' make[1]: *** [test-all-basics] Error 1 make[1]: Leaving directory `/home/helpdesk/trial/R-1.6.2/tests' make: *** [check] Error 2 If I ignore this and run `make install' etc, R seems to be running fine untile I plot anything like `plot(1,1)'. One graphics window will appear and disappear, R will die saying 'bus error'. I am using gcc 3.2.1, I can supply further info if necessary. Thanks. -- Bo Peng
ripley@stats.ox.ac.uk
2003-Mar-20 07:29 UTC
[R] R-1.6.2: installation problem on Solaris 2.8
There is a bug in gcc-3.2.1 (and 3.2.2) on Solaris. Don't use them. It has been reported and acknowledged by the gcc maintainers. On Wed, 19 Mar 2003, Bo Peng wrote:> I tried to compile R-1.6.2 from source on Solaris 2.8. There is no > problem with configure and make. However, `make test' fails with error > message:[...]> I am using gcc 3.2.1, I can supply further info if necessary.-- 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 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595