problem with make fullcheck on Sparc Solaris 8

Kurt Hornik Kurt.Hornik@wu-wien.ac.at
Fri, 20 Sep 2002 10:47:56 +0200


>>>>> Peter Dalgaard BSA writes:

> Paul Gilbert <pgilbert@bank-banque-canada.ca> writes:
>> Gardar Johannesson wrote:
>> > 
>> > I have been trying out R-1.6.0 tarballs (2002-9-10 and 2002-9-17) on:
>> > 
>> > arch     sparc
>> > os       solaris2.8
>> 
>> ...
>> 
>> > running code in 'survival-Ex.R' ...bash: survival-Ex.R: No such file or
>> > directory
>> > mv: cannot access survival-Ex.Rout
>> > *** Error code 2
>> > make: Fatal error: Command failed for target `survival-Ex.Rout'
>> 
>> I've just had the same problem (with 2002-9-12) on Solaris 2.8 using GNU
>> tools.

> OK, I think I traced this to the fact that "test" on Solaris with the
> Bourne shell will be the built-in one which doesn't understand the -nt
> operator. Of course my own test builds used /bin/bash...

> This is likely not a portable fix, but could you just for verification
> try replacing test with /bin/test in the Makefile in tests/Examples?

Argh.  Not listed under portable shell programming in the Autoconf
manual ...

Otoh, my SysV 7th ed man pages from 79 do not list '-nt' etc, so maybe
we should not use it.  Peter, can you perhaps try rewriting the simple

        if test $(top_builddir)/library/$${pkg} -nt "$@" ; then \

in tests/Examples/Makefile.in using find -newer (which is already in the
7th edition)?

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._