Re: [R] R-1.6.2: installation problem on Solaris 2.8

2003-03-20 Thread Bo Peng
On Thu, Mar 20, 2003 at 07:29:00AM +, [EMAIL PROTECTED] 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.

 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.

That is unfortunate. Is there any work-around? I tried to set 
environment variable cpp as /usr/site/gcc-2.95.3/bin/gcc or gcc-3.0.4 
but ./configure says

...
checking command to parse /usr/ccs/bin/nm -p output... ok
checking how to run the C preprocessor... /usr/site/gcc-2.95.3/bin/gcc
configure: error: C preprocessor /usr/site/gcc-2.95.3/bin/gcc fails sanity check
See `config.log' for more details.

-- 
Bo Peng

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


Re: [R] R-1.6.2: installation problem on Solaris 2.8

2003-03-20 Thread Bo Peng
  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.

I changed to gcc-2.95.3 (by setting CC and CXX environment variables) 
and everything is fine now. 

Thanks.

-- 
Bo Peng

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


[R] R-1.6.2: installation problem on Solaris 2.8

2003-03-19 Thread Bo Peng
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:

[EMAIL PROTECTED]:~/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

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help