From Kurt.Hornik@wu-wien.ac.at  Fri Sep 20 09:47:56 2002
From: Kurt.Hornik@wu-wien.ac.at (Kurt Hornik)
Date: Fri, 20 Sep 2002 10:47:56 +0200
Subject: problem with make fullcheck on Sparc Solaris 8
In-Reply-To: <x2k7lhiz0r.fsf@biostat.ku.dk>
References: <3D88A9CB.6080105@stat.ohio-state.edu>
 <3D88B5B3.4CF0F7BB@bank-banque-canada.ca>
 <x2k7lhiz0r.fsf@biostat.ku.dk>
Message-ID: <15754.57532.355459.868904@mithrandir.hornik.net>

>>>>> 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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


problem with make fullcheck on Sparc Solaris 8
Kurt Hornik