From ripley at stats.ox.ac.uk  Wed Jun 18 08:08:58 2003
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Wed Jun 18 08:09:09 2003
Subject: [Rd] 1.7.1 make check fails (PR#3282)
In-Reply-To: <200306180532.h5I5W5JH010775@pubhealth.ku.dk>
Message-ID: <Pine.LNX.4.44.0306180703060.27947-100000@gannet.stats>

Where is the bug? 

Please ask on R-help for help installing R, after reading the R-admin
manual to which the INSTALL file refers you.

On Wed, 18 Jun 2003 ok@cs.otago.ac.nz wrote:

> uname -a => SunOS frege 5.9 Generic_112233-04 sun4u sparc SUNW,Sun-Blade-100
> Today I downloaded R-1.7.1.tgz,
> unpacked it,
> did ./configure
> and ran make.
> All apparently went well.
> Then I did make check.
> On rerunning make check (because I forgot to save the output the first
> time), I get
> 
> f% make check
> `Makedeps' is up to date.
> `base-Ex.Rout' is up to date.
> `ctest-Ex.Rout' is up to date.
> `eda-Ex.Rout' is up to date.
> `lqs-Ex.Rout' is up to date.
> `methods-Ex.Rout' is up to date.
> `modreg-Ex.Rout' is up to date.
> `mva-Ex.Rout' is up to date.
> `nls-Ex.Rout' is up to date.
> `splines-Ex.Rout' is up to date.
> `stepfun-Ex.Rout' is up to date.
> running code in 'tcltk-Ex.R' ...*** Error code 1
> make: Fatal error: Command failed for target `tcltk-Ex.Rout'
> Current working directory /home/users/okeefe_r/commands.d/sources/stats/R-1.7.1/tests/Examples
> *** Error code 1
> make: Fatal error: Command failed for target `test-Examples-Base'
> Current working directory /home/users/okeefe_r/commands.d/sources/stats/R-1.7.1/tests/Examples
> *** Error code 1
> make: Fatal error: Command failed for target `test-Examples'
> Current working directory /home/users/okeefe_r/commands.d/sources/stats/R-1.7.1/tests
> *** Error code 1
> make: Fatal error: Command failed for target `test-all-basics'
> Current working directory /home/users/okeefe_r/commands.d/sources/stats/R-1.7.1/tests
> *** Error code 1
> make: Fatal error: Command failed for target `check'
> 
> What's going on here?  How worried should I be?  What do I need to fix?

You need to read tests/Examples/tcltk-Ex.Rout.fail to find out.
My guess is that your Tcl/Tk installation is not complete/compatible with 
your compilers/....  You could build without Tcl/Tk if you don't want it.

> Will R work if I tell it to use Sun's C, C++, and Fortran compilers?
> How do I tell it to do that?

Yes.  This is in the R-admin manual, which the INSTALL file asks you to
read. It discusses Tcl/Tk compatibility issues too, and how to build
without it.

-- 
Brian D. Ripley,                  ripley@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


[Rd] 1.7.1 make check fails (PR#3282)
Prof Brian Ripley