[R] Re: 1.8.1 Make problem on SunOS
Michael Ash
mash at econs.umass.edu
Wed Mar 17 14:21:49 CET 2004
On Wed, 17 Mar 2004, Prof Brian Ripley wrote:
> Do you somehow have bash set as your shell for batch
> operations? On that platform you get sh or ksh by default,
> and bash is not even installed by default.
I didn't know that bash was set as the shell for batch
operations and it wouldn't have occurred to me to check. I
am a user without superuser privileges on this computer. I
did use chsh to set bash as the shell for terminals, but I
have no idea if that operation sets sets bash as the shell
for batch operations. Does anyone know how I can tell if I
have [accidentally] set bash as the shell for batch
operations or if this is a system default? (And how to
change the shell for batch operations?)
> If so, it was a crucial piece of information you haven't
> told us and is something to bear in mind if you need
> future help.
True, but it wasn't obvious that was the missing piece of
crucial info. The key evidence was:
./config.status: ./confstat28489-19881/subs.frag: cannot overwrite existing file
which pointed to noclobber, and then I got the answer by
trial and error. I had no idea .bashrc would affect batch
operations or that I should check which shell was set for
batch operations. Perhaps an addition to the R installation
notes...
Best regards,
Michael Ash
> On Tue, 16 Mar 2004, Michael Ash wrote:
>
> > OK, I solved my problem in case anyone is still interested.
> >
> > I have set noclobber (don't redirect ">" on top of an
> > existing file) in .bashrc. The problem didn't clear up
> > until I commented the line out of .bashrc. I tried turning
> > the option off in the shell in which I was attempting to
> > make R, but to no avail. Only commenting the noclobber line
> > out of .bashrc resolved the problem. Then "make" worked
> > like a charm.
> >
> > It took way too long, but it's so satisfying when you crack
> > a problem like that.
> >
> > Best,
> >
> > Michael Ash
> > mash at econs.umass.edu
> >
> > On Sun, 14 Mar 2004, Michael Ash wrote:
> >
> > >
> > > I am trying to make R-1.8.1 on (SunOS shell1 5.8 Generic_108528-15 sun4u sparc SUNW,UltraAX-i2). I did
> > > ./configure
> > > make
> > > Configure output seems ok. The make proceeds until the following line appears, repeated indefinitely (until I break):
> > >
> > > ./config.status: ./confstat28489-19881/subs.frag: cannot overwrite existing file
> > >
> > > I suspect that this may involve write permissions (and maybe
> > > the umask set in config.status). I am attempting the make in
> > > a directory where I have rwx permission. (I've also tried
> > > this with "./configure --prefix=/home/me" with the same
> > > result. I don't have superuser permission on the machine in
> > > question and am planning to install R to my home directory.)
>
>
> --
> 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
>
>
More information about the R-help
mailing list